vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Extended Reputation Display (https://vborg.vbsupport.ru/showthread.php?t=201208)

M? CaMPa 06-22-2010 02:57 PM

thank you

Paul M 06-22-2010 09:02 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2057494)
OK I changed to much smaller stars and really like the display no line break needed. Now I'm wondering if there is an easy way to make it display as many red stars as 'positive' stars in total? In the plugin I added 2 lines under the neg rep declarations,
Code:

                                $repy = 'redstar';
                                $repz = 'redstar';

and changed the if statement from if($pos) to just if(1) - best I could tell the logic might just have been there already but alas it didn't work right, very low reps had the full amount of negative stars but when I sorted my member list by lowest rep first I saw some were out of order, one had 2 red stars and a few pips and it was listed below 1 star and some pips, when I looked at the actual values they were as expected (sorted correctly) so I guess the math/logic for negative rep multiple stars is wrong- is there an'easy' fix for this, something I could add to the code so it calculates the number of negative stars correctly?

Im not sure what your trying to do here, but I would it imagine it worked exactly right - but since you defined all three stars (bronze,silver,gold) as red, it would look odd, since you have no way of knowing the 'value' of each red star - one gold star would be one red star, and three bronze stars would be three red stars, making it look like a higher red rep when in fact its lower.

BirdOPrey5 06-23-2010 03:38 AM

ahhh you're right... it probably did work right but couldn't tell the difference between the stars... maybe I can figure 2 more neg colors besides red... I guess what I was trying to do was just to make it display up to 9 (in my case) red stars for the lowest of the low reps, but each star doesn't represent an equal amount. I'll figure something out. Thanks.

Alfa1 04-17-2014 11:56 AM

Does this addon allow me to define different ranges for the display of negative and positive pips?
My range of positive reputation is between 0 and 10.000 points, while my range of negative points is between 0 and -100. As -100 causes a ban no one has less than that. I'd like to display one red pip for every 10 negative points.

Paul M 04-18-2014 01:02 AM

No, the same range is used for both.


All times are GMT. The time now is 06:49 AM.

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.01272 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete