View Full Version : Restrict admins access to change usergroups
Sergeant
07-20-2002, 06:16 PM
Hmm, topic says it all, i really dont know if you should count it as a hack or whatever, but i need it badly.
I want like, that other admins could not add/remove moderators or change other usergroups.
I will be greatful.
A.T.F
07-20-2002, 06:48 PM
Is there any point in making that user an administrator then?
Sergeant
07-21-2002, 06:20 AM
there sure is, you just wont realize my situation o_O
Dean C
07-21-2002, 08:18 AM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=40738" target="_blank">https://vborg.vbsupport.ru/showt...threadid=40738</a>
Sergeant
07-21-2002, 09:01 AM
ow, thanks. :)
edit:
well thats one good thing but it still doesent answer my question how can make that other admins cannot change any usergroups.
Chris M
07-21-2002, 01:53 PM
Hmm...
You could put this code in, where the update is :
if (($userid!=X) {
echo "<p>You cannot update this User.</p>";
cpfooter();
exit;
}
(change X to your userid)
That should work...
Satan
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.