![]() |
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 |
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? @_@; |
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 |
well, you can put something like OR $user[usergroupid]==<admin group> in there... I think
hehe ^_^ |
yes, but AND, not or ;)
|
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 |
yo have to find this lines:
PHP Code:
PHP Code:
|
Thanks:D
Satan |
np, hope you'll have more luck in the future than in past...
|
Thanks...
So do I;) Satan |
All times are GMT. The time now is 10:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|