In the previous version of this mod, I made a slight change to restore the way vb default handles negative rep if the users rep power is only 1
As stated in your notes, if a user has a rep power of 1, this mod causes their negative rep power to be 0
In the last version of this mod I made a simple change to allow users with a rep power of 1 to give a negative rep of -1 when the negative modify factor was 0.5
PHP Code:
// Negative Reputation //
if ($reputation != 'pos')
{
$reppower *= $vbulletin->options['negrepfactor'];
if ($reppower < 1 & $reppower > 0)
{
$reppower = 1;
}
$reppower *= -1;
if (!($perms['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['cannegativerep'])) $reppower = 0;
}
But for the life of me, I can't manage to figure out what to modify to get the same functionality out of this new version.
Any chance of pointing me in the right direction?