Quote:
Originally Posted by General BAM
how about changing it from the # of points you are giving to a scale of points (1-10)
right now if you have 80 points of rep altering power it would show you the numbers 1-80
this would change it to just the number 1-10... where 1 would alter the persons rep by 10% of your total rep and 10 would alter it by 100%...
this way the drop down menu has less selections on it... plus most people dont know their rep altering levels... so this would be simpler for them...
i hope i explained that well enough
|
Quote:
Originally Posted by FreshFroot
I like your idea from a scale of 1-10.. it would be tough to rate when you have 0-100 rep 
|
2 ways to upgrade this:- install the modified product in my attachment, and overwrite current one.
- go to Plugin Manager
Edit the plugin Generate HTML Dropdown
Find:
PHP Code:
$repdd = '';
for($i = 0; $i <= $score; ++$i) {
$repdd .= "<option value=\"$i\">$i</option>";
}
Replace with:
PHP Code:
$repdd = '';
$ii = -1;
for($i = 0; $i <= 10; $i++) {
if (floor($score * ($i / 10)) != $ii) {
$ii = floor($score * ($i / 10));
$a = $i * 10;
$repdd .= "<option value=\"$ii\">".number_format($ii)." - $a%</option>";
}
}
What it does is:
It shows the 0 value, and max 10 other values, with percentages and rounded numbers (floor).
if member has > 10 reppower, it creates a list with 10 (+1) values
if member has < 10 reppower, it creates a list with x (+1) values, and it won't post doubles.
Code:
5 reppower 101 reppower 2000 reppower
0 - 0% 0 - 0% 0 - 0%
1 - 20% 10 - 10% 200 - 10%
2 - 40% 20 - 20% 400 - 20%
3 - 60% 30 - 30% 600 - 30%
4 - 80% 40 - 40% 800 - 40%
5 - 100% 50 - 50% 1,000 - 50%
60 - 60% 1,200 - 60%
70 - 70% 1,400 - 70%
80 - 80% 1,600 - 80%
90 - 90% 1,800 - 90%
101 - 100% 2,000 - 100%
Our older members even got to 2,000 reppower

This is the perfect hack on my request
here 
Thank you :up: