MyBB Community Forums

Full Version: Reputation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to only allow users to give the reputation points I set it to be and not the range. For example, if I set a user's rep power to 3, they should be only allowed to do -3, 0, 3 and not -2, -1, 1, 2.
In reputation.php, find:
for($i = 1; $i <= $reputationpower; ++$i)
Replace with:
for($i = $reputationpower; $i <= $reputationpower; ++$i) // hacky
(2012-01-04, 07:37 AM)Dennis Tsang Wrote: [ -> ]In reputation.php, find:
for($i = 1; $i <= $reputationpower; ++$i)
Replace with:
for($i = $reputationpower; $i <= $reputationpower; ++$i) // hacky

Thanks for this.