The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
edit info
Is it possible to make a super can't edit the admin's info?
|
#2
|
|||
|
|||
anyone can help me out please?
|
#3
|
||||
|
||||
Not exactly what you asked but I think you can still use it: This hack will make Admin (or any user)'s info untouchable by anybody including Super Mods.
Edit: admin/user.php find: -- cut --- // ###################### Start do update ####################### if ($HTTP_POST_VARS['action']=="doupdate") { if (!isset($ausername) or $ausername == '') { echo "<p>You did not give this user an username</p>"; exit; } -- cut -------- After that add: --- cut ---- if ($ausername == 'XXXX') { echo "<p>You can NOT edit the profile of $ausername !</p>"; exit; } --- cut ---- Replace XXXX with the username of Admin or any user you want to grant "untouchablity" That's all.. Important downside: Even Admin himself cant touch the user anymore. :P But I think it's no big deal, user himself (or if it's Admin) he can still change the info, from USER CP. Besides if you want to revoke his "untouchability" you can anytime delete the code above and make him back an ordinary user. BTW: This is *NOT* tested, but should work. Regards, |
#4
|
|||
|
|||
Thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|