dutchbb
10-17-2009, 05:18 PM
I would like to change the reputation points distribution a bit. I've found the file and code to edit but I'm stuck changing it to what I want:
if ($reputation_value > 500)
{ // bright green bars take 200 pts not the normal 100
$reputation_value = ($reputation_value / 2) + 250;
}
$reputationbars = intval($reputation_value / 100); // award 1 reputation bar for every 100 points
if ($reputationbars > 10)
{
$reputationbars = 10;
}
What I would like to achieve:
For the first green bar is needed: 125 points
second and following bars: 500 points
then after 3000 points 1 bar for every 1000 points
and after 8000 points 1 bar for every 1500 points
I tried but I'm not sure how this works.
(if anyone would like to makes this a mod, feel free to do so. would be great if any number of points could be used in control panel).
if ($reputation_value > 500)
{ // bright green bars take 200 pts not the normal 100
$reputation_value = ($reputation_value / 2) + 250;
}
$reputationbars = intval($reputation_value / 100); // award 1 reputation bar for every 100 points
if ($reputationbars > 10)
{
$reputationbars = 10;
}
What I would like to achieve:
For the first green bar is needed: 125 points
second and following bars: 500 points
then after 3000 points 1 bar for every 1000 points
and after 8000 points 1 bar for every 1500 points
I tried but I'm not sure how this works.
(if anyone would like to makes this a mod, feel free to do so. would be great if any number of points could be used in control panel).