The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Give moderators specific rep power?
In functions_reputation, fetch_repower, does anyone know what conditional I would use to give any Moderators a $reppower = XX; ?
Code:
else if ($perms['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'] AND $vbulletin->options['adminpower']) Edit: I added: Code:
else if (($userinfo['usergroupid'] == 7 OR $userinfo['usergroupid'] == 5) AND $vbulletin->options['adminpower']) { $reppower = iif($reputation != 'pos', $vbulletin->options['adminpower'] * -1, $vbulletin->options['adminpower']); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|