Log in

View Full Version : better display thread rating on forumdisplay.php


MrNase
04-26-2004, 10:00 PM
Hey :)

If those stars are too tiny for you you should try out this modification...

I've been inspired by webdesignforums.net

This modification basically changes the background of the thread statusicon according to the rating.

If the thread has a good rating this cell will have a green background. Threads with a rating of '1' will have a red background.
Check out the screenshots to see what i mean :)

http://www.mrnase.de/better_threadrating.gif

Important: if you like this hack and you want to give something back to me please
https://vborg.vbsupport.ru/external/2010/02/12.gif (https://www.paypal.com/xclick/business=mrnase%40sportboard.de&no_note=1&tax=0&currency_code=USD).
I will still do some modifications even if you don't donate ;)
If this kind of making the 'big' money is not allowed on vbt.com please drop me a note so that i can delete it :)


Have fun with it :)

wrongful
04-27-2004, 06:35 PM
Neat! I like this.

wrongful
04-27-2004, 10:59 PM
One thing I have noticed is that it only works with whole numbers. Is it possible to make it work like the ratng images work?

MrNase
04-28-2004, 06:08 AM
I shall work like that rating images since it uses the same variable for displaying the numbers :)

$thread['voteavg'] is a number from 1 to 5 according to the rating.

Tony G
04-28-2004, 09:20 AM
Neat, looks good too. Thanks for sharing. :)

MrNase
04-28-2004, 01:25 PM
No problem Tony :)

Once i have some more time i'll publish some more neat mods :)