Quote:
|
Originally Posted by JosephM
If, say, I have 125 points, will I have two bars or will I have 1, and then get another when I get 200? Or is it...
1 bar=1-99 points
2=100-199
3=200-299
etc?
|
$reputationbars = intval($reputation_value / 100); // award 1 reputation bar for every 100 points
And, the way it loops, it adds one to the bars, so:
Code:
50 => 1 bar
99 => 1 bar
125 => 2 bar
199 => 2 bar
359 => 4 bar