The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
The wonderful remove feature - Where is the feature to remove that???
Ok...
Some of you may know that we have had some bad times over the last few weeks... I would like to know how I can : a.) make the remove feature not work for any admin unless they are userid 1 or 3 b.) male it so that it only shows for members unless they are userid 1 or 3... i.e. Only myself and the owner can remove admins, but other admins can remove anyone except other admins... This is because myself and the owner are not a security leak, but the other admins could be... Can it be done? Satan |
#2
|
||||
|
||||
Sure it is, go into /admin/user.php
Find PHP Code:
PHP Code:
[edit] I think its if (($bbuserinfo[userid]!=1 OR $bbuserinfo[userid]!=3)) ... it might be AND. I get mixed up with those things... And I changed my mind, I set it at and... eurgh *head hurts* Actually, dont trust that. lol, firefly or someone else, can you tell me if its OR or AND? @_@; |
#3
|
||||
|
||||
Yeh...
It is AND... Thanks for the first bit Now to get it so that Admins can remove members, mods, super mods etc, but not other Admins... Satan |
#4
|
||||
|
||||
well, you can put something like OR $user[usergroupid]==<admin group> in there... I think
hehe ^_^ |
#5
|
||||
|
||||
yes, but AND, not or
|
#6
|
||||
|
||||
well, for the usergroup part, wouldnt you want to be doing
"If userid isnt 1 and userid isnt 3 or usergroupid is 1" hmm, it might not be $user[usergroupid] that you want to use.. I dunno /me <-- stupid |
#7
|
||||
|
||||
yo have to find this lines:
PHP Code:
PHP Code:
|
#8
|
||||
|
||||
Thanks
Satan |
#9
|
||||
|
||||
np, hope you'll have more luck in the future than in past...
|
#10
|
||||
|
||||
Thanks...
So do I Satan |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|