The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Help making a usergroup exempt from reputation limits
In reputation.php there are a few areas that skip reputation limit checks if you are an administrator. What I would like to do is make it so not just the admin, but a certain usergroup can also skip this check. (thus making them exempt)
Here is some code that I think just needs tweaking to add a check for the usergroup: Code:
if (!($permissions['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])) { if ($vbulletin->options['maxreputationperday'] >= $vbulletin->options['reputationrepeat']) { $klimit = ($vbulletin->options['maxreputationperday'] + 1); } else where ## = the groupid to be exampt would work, but it does not... Ultimately I'd like to give various groups different limits, but this will do the trick for now. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|