![]() |
Total Admin Security...
Ive always hated the fact that other Admins can delete your account...
Its not that they are untrustworthy, but people could get hold of their password or what have you... So... There is an easy way to ensure that they cannot change your password, demote you, or delete you... Just use this hack below, and then they cant!!! Just remember to change every occurance of X to your userid... Also : I have posted 2 screenshots... Other Related Hacks: More Admin Security - Protect Templates, Templatesets and Styles!!! Satan |
This one was designed so that Nobody, not even yourself, could delete your user...
Just incase anybody gets hold of your password:) Satan |
This is not like my Profile Restricting Hack...
This will not allow them to Update any information about you... They can still view your profile, but they cannot demote you, or change your password at all... To do that, they would need to update your information, and this restricts it totally to just you... Satan |
It looks good hellsatan :) only thing i can say is that it won't help if they have your password ;\ cause they can then update your account and change your usergroup... i've been hacked before and they didn't delete any of the admins only moved them to the banned group and then damaged the forum :p
g-force2k2 |
Precisely...
Im not offering protection against them having your password:) This simply prevents others from updating or deleting you...i.e. If a hacker gets in to one of the other accounts, you are totally secure... You can, of course, protect other parts of the CP, like Templates, to just yourself... Satan |
Nice man, But I would have to say a hack like limit admin abilitys would be better. Like if you didnt want them to have access to forum editing but having access to template editing. That might be cool... I might make that Oo (So many hacks to make)
|
Thats easy...
Ive already done it at our forums:) I'll post that up if you'd like... Satan |
another way of doing this could be:
forum/admin/config.php add at the bottom: Code:
// user can edit admins forum/admin/user.php find: Code:
adminlog(iif($userid!=0,"user id = $userid","")); Code:
unset($editadmin); Code:
if ($HTTP_POST_VARS['action']=="doupdate") { Code:
if ($HTTP_POST_VARS['action']=="doupdate" && checklogperms($editadmin,1,"<p>You are not allowed to edit this user.</p>")) { |
Hmm...
I'll test that... If it works, I'll add it to the file (if you dont mind), as an optional extra... My way still allows them to view your profile, but they cannot delete or modify you... Your way they can still delete you... Satan |
np. :)
let me know. the code will stop of doing something 'fancy' to your collegues admins if you are not on the config.php list. that includes password or anything else. |
All times are GMT. The time now is 01:32 PM. |
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:
|