Paul,
I looked at the plugin code for "Reputation Checks (2)" and saw this line (line 12):
Code:
if (!($perms['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['cannegativerep'])) $reppower = 0;
This looks like it says that if you cant give negative rep, set your rep power to ZERO. Which is exactly my problem. My guess is that if you moved check down to the end of the plugin, it would work as you wanted it to.
Maybe something like this:
Code:
// Negative Reputation //
if ($reputation != 'pos')
{
if (!($perms['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['cannegativerep']))
{
$reppower = 0;
} else {
$reppower *= -1;
$reppower *= $vbulletin->options['negrepfactor'];
}
For now, commenting out the line I mentioned above fixes my problems. Thanks for the cool hack!