PDA

View Full Version : Administrative and Maintenance Tools - Unalterable Admins Can Edit Themselves


akanevsky
05-12-2008, 10:00 PM
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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=203760)

akanevsky
05-13-2008, 07:31 PM
First Post Reserved.

toucan42
05-13-2008, 07:37 PM
excellent -tagged for when I have time to come back - thanks Psionic!

Selene
05-13-2008, 07:44 PM
great hack, thanks for this.

myown
05-13-2008, 08:56 PM
tagged...

stelthius
05-13-2008, 09:04 PM
Thanks!

projectego
05-13-2008, 09:43 PM
* projectego clicks install :)

peterpigman
05-13-2008, 11:12 PM
Wouldn't this then defeat the object of being unalterable? I quite like the idea but does it not reduce site security?

tommyturnage
05-13-2008, 11:46 PM
Wouldn't this then defeat the object of being unalterable? I quite like the idea but does it not reduce site security?

I was thinking the exact same thing lol

akanevsky
05-14-2008, 01:25 AM
Wouldn't this then defeat the object of being unalterable? I quite like the idea but does it not reduce site security?

That's up to the board owner to decide. It seems to me that, as long as it is not possible to edit the password and/or usergroups, the account is safe enough.

KURTZ
05-14-2008, 08:12 AM
thx Tony, just installed :D

futureye
05-27-2008, 06:52 PM
one of the best

Sakai Ray
06-17-2008, 04:52 PM
Installed thanks ^^

Notorious Jay
07-25-2008, 07:14 AM
Installed, thanks.

Spank
07-29-2008, 08:13 AM
Brilliant, thanks a lot for this. Should make life a little easier.

yingzhou
07-29-2008, 10:14 AM
thanks alot!

raja811
11-14-2008, 08:23 AM
wohhh

Bilderback
12-02-2008, 05:08 PM
Just what I needed.
Now if only the $config['Misc']['debug'] = true;
were an admincp setting also.
I failed attempting to hook init_startup :(

akanevsky
12-12-2008, 01:16 PM
Now if only the $config['Misc']['debug'] = true;

If it were an admincp setting, then it would create a large potential hole in the whole board's security, wouldn't it? :)

Bilderback
12-13-2008, 12:32 AM
If it were an admincp setting, then it would create a large potential hole in the whole board's security, wouldn't it? :)
Most definitely- lol but I was thinking more as a development tool on a non-production site.
I am constantly flipping the switch for some reason or another.

weindians
12-19-2008, 10:08 PM
nice one thanku...