![]() |
Unalterable Admins Can Edit Themselves
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.
/*===================================*\ || Unalterable Admins Can Edit Themselves || || Author : Anton Kanevsky || Co-Author(s) : Andreas || Works on : vBulletin 3.5.x - 3.8.x || Released : Jan 31, 2009 || || Time required to install: 30 seconds || Difficulty: easy \*===================================*/ DESCRIPTION Allows unalterable administrators to modify their own accounts (with the exception of the password, usergroup and membergroups) via admincp. STATISTICS Products to Install: 1 VERSION HISTORY 1.0.5 [+] Ported to vBulletin 3.7.x - 3.8.x. 1.0.4 [+] The modification is now compatible with vBulletin 3.6.4 - a plugin code change was required due to changed format of CVS_REVISION constant. [+] It is no more possible for an uneditable admin to modify the usergroup(s) he or she belongs to. 1.0.3 [+] The modification is now officially compatible with vBulletin 3.6.0 and above. [+] The modification is now a product rather than a plugin, and it supports version check. 1.0.2 [+] Added restriction to prevent code from executing anywhere but within user.php. [+] Added restriction to prevent alteration of password for unalterable administrators. 1.0.1 This is now a plugin instead of a code hack. Cheers to Andreas. 1.0.0 First Public Release The installation manual is contained within the attached file. IF YOU LIKE MY HACK, PLEASE CLICK INSTALL |
Thank you :)
|
Nice idea. I hate the fact undeletable users can't be edited. Though I prefer just to have one super admin so it doesn't really matter for me.
|
The code in the hack makes sense but for some reason doesn't work. I might have done something wrong though.
|
Did you find and replace both instances?
|
Yes, I still get this message
Sorry, this user is protected from being altered in the config.php file by the $config['SpecialUsers']['undeletableusers'] variable. |
Hmm.. Hold on, I'll take a look at what the problem might be...
|
I can't figure out why it doesn't work =/
|
Give me a minute please...
|
Sure thing, I've just been going through the code to see if there was anything causing a problem, but I couldn't find anything, then again I don't know much about php.. lol
|
All times are GMT. The time now is 03:19 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:
|