The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Moderators able to ban more than usergroup members
I want Moderators to be able to ban everyone who isn't a Administrator or Moderator. From reading another thread I figured out I should replace
if ($bangroup['usergroupid']>6) { with if ($banuser['usergroupid']!=6 or $ismod) { echo "<p>You may not ban someone who is not a normal registered user!</p>"; } else { My Administrator usergroup is 6, and this code does not work. Just wondering what the proper code is, and what one for allowing Moderators to ban Moderators also is, in case of a compromise of security. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|