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.
|