SMFHacks.com

Awesome Post Ratings => Support => Topic started by: PapaFrizArcade on March 08, 2022, 02:41:36 pm

Title: After Rating
Post by: PapaFrizArcade on March 08, 2022, 02:41:36 pm
After rating,  on the left it shows the image + spells out the rating name then has x1, x2,  etc...

May I ask how I could remove the rating name?  I would prefer only the icon show and then x1, x2, etc...

Thanks!
Title: Re: After Rating
Post by: SMFHacks on March 08, 2022, 03:00:30 pm
I will add an option for that. Right now would require an edit to the display.template.php and sources/AwesomePostRatings2.php
In this line
Code: [Select]
$data .=  '<img src="' . $modSettings['apr_url'] . $myrating['icon'] . '" alt="' . $myrating['title'] . '" title="' . $myrating['title'] . '" />' . '&nbsp;' . $myrating['title'] . '&nbsp;x&nbsp;' . $myrating['total'] . '&nbsp;';

Removing
Code: [Select]
' . '&nbsp;' . $myrating['title'] . '
Title: Re: After Rating
Post by: PapaFrizArcade on March 08, 2022, 03:18:35 pm
Adding an option for that would be awesome.  I will try the manual edit as well shortly and report back.
Title: Re: After Rating
Post by: PapaFrizArcade on March 08, 2022, 08:07:23 pm
Manual edit above works great. 

Now to figure out what to do with the "View List" text next to it.  I'm thinking of replacing that with some sort of icon... perhaps a gear or perhaps a book or something to that effect.
Title: Re: After Rating
Post by: SMFHacks on March 09, 2022, 02:46:46 pm
Setting is added in latest version.
2.0beta
+Added support for SMF 2.1 alert system to notify via alerts when a reaction occurs
+Added setting to hide/show the reaction name when a reaction is rated/displayed in a post.
+Added setting for reaction spacing
!Change on view ratings popup for style