Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 221
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 219
Total: 220

Author Topic: How to space icons and multiple reacts?  (Read 4409 times)

0 Members and 1 Guest are viewing this topic.

Offline shadav

  • Member
  • *
  • Posts: 8
    • View Profile
How to space icons and multiple reacts?
« on: October 03, 2019, 11:25:06 am »
How can I change the icons to be spaced apart more, they are too close together

and also how to allow multiple reactions

I saw that it said suggested 16x16, but could I use bigger images and if so what would I need to change?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #1 on: October 03, 2019, 11:29:55 am »
Bigger images you would just go in the admin area and change them out for each reaction. Other spacing would require a code change.

Multiple reactions from same person currently not supported that feature would have to be built out.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline shadav

  • Member
  • *
  • Posts: 8
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #2 on: October 03, 2019, 03:42:36 pm »
where might I look to change the spacing?

Offline shadav

  • Member
  • *
  • Posts: 8
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #3 on: October 03, 2019, 04:20:07 pm »
nevermind i figured it :)

Offline PapaFrizArcade

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #4 on: March 08, 2022, 08:38:48 am »
I too was hoping this mod allowed for multiple reactions.  If/when you decide to add that functionality,  I,  for one,  am on board.

Offline PapaFrizArcade

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #5 on: March 08, 2022, 08:53:00 am »
BTW... which file would I need to edit to do what the author wanted (space out the ratings)?


Thanks!

Offline PapaFrizArcade

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #6 on: March 08, 2022, 10:16:02 am »
Here is an image showing the approximate spacing I'd love to achieve...


Offline PapaFrizArcade

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #7 on: March 08, 2022, 11:03:34 am »
I figured out a CSS solution...

a[href$='#ratethis'] {
   margin-right: 20px;
}

In the index.css file will achieve what I am trying to do.  Can anyone see how that might break things?

Thank you!


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #8 on: March 09, 2022, 02:49:11 pm »
Multiple reacts have to think about requires some interface changes and maybe limits since could easily be spammed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Agree Agree x 1 View List

Offline PapaFrizArcade

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: How to space icons and multiple reacts?
« Reply #9 on: March 09, 2022, 07:49:27 pm »
Yeah,  the interface would have to be something like:


* = rating icon


*x0 *x1 *x1 *x0 *x1


... and lets say you click the left-most rating... the result would be

*x1 *x1 *x1 *x0 *x1


Basically eliminate the two different containers... (left and right) and go with a single container that updates as you click the rating. 

An option for single ratings only and multiple ratings would be great... permissions or not (my site is private and permissions aren't necessary).

The behavior for multiple-rates should be that if... lets say... you click "THUMBS UP"... it adds 1 to the total for "THUMBS UP".   If you click "THUMBS DOWN"... it adds 1 to the total for "THUMBS DOWN" too... but if you click either of those a 2nd time,  the rating is undone and it subtracts one rate.

I would also suggest that the ratings icons need to be larger.  Higher resolution.  I was thinking that I am doing it wrong by expanding my smaller icons... what should be done is that larger/higher res icons should be displayed at 50% normally ... then on hover expand to 100%.

Just a thought.

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
7583 Views
Last post October 20, 2006, 06:15:21 pm
by TeamVTEC
4 Replies
6731 Views
Last post January 09, 2010, 12:27:12 am
by petesky
2 Replies
4574 Views
Last post September 16, 2010, 05:28:34 pm
by endomorph
3 Replies
4277 Views
Last post June 20, 2013, 10:13:55 am
by SMFHacks
0 Replies
3899 Views
Last post March 13, 2016, 10:11:34 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal