Support Forum
Ratings Class - Idea
Frosty
UK
Rookie
Free Members
Offline
Hey Admins,
Have a idea you might want to add to the next/later version of SP, adding a class to each post in a topic depending on the post rating.
I achieved this myself by pulling the rating into the array of classes, pre-fixing it with "rated":
<tr id="post-'.$post['post_id'].'" class="rank-'.$rank_class.' sftype-'.$posterstatus.' rated'.$ratings.'" valign="top">
Buy doing this you can use css/js to, fade out low rated posts, or make higher rated posts more prominent.
Thanks, keep up the great work with SP 🙂
This is my signature. There are many like it, but this one is mine.
more things like this will be very possible when we get templating in place and add wp filters to a lot more display items... then plugins can change the class and do just what you say...
Visit Cruise Talk Central and Mr Papa's World
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17366
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626