vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   better display thread rating on forumdisplay.php (https://vborg.vbsupport.ru/showthread.php?t=89038)

MrNase 04-26-2004 10:00 PM

better display thread rating on forumdisplay.php
 
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.
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 :)


All times are GMT. The time now is 08:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00952 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete