Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[Mini-Hack] Protect Admins in the Admin CP. Details »
[Mini-Hack] Protect Admins in the Admin CP.
Mod Version: 1.00, by Slynderdale (Member) Slynderdale is offline
Developer Last Online: Mar 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 15
Released: 15 Jan 2003 Last Update: Never Downloads: 3
Not Supported  

This is just a mini-hack I made, I know theres others like it, but this one is simple and protects admins from being edited, deleted, editing access masks and so on and the options can be changed in config.php, heres the current options:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Its pretty much self explanatory, if a unathorized admin tries to edit, delete and so on an admin, they get an error message saying there not allowed to do that.

With the option $caneditadmin, you can control what admins can edit other admins.
With the option $caneditadminself, if set to true, the admin can edit there own account even if there not listed in caneditadmin.

With the option $protectedadmins, no other admin can edit them even of there listed in caneditadmin, this is good for protecting a main admin account from being tampered with.
With the option $protectedadminsself, if set to true, it allows the protected admins to edit there own account.

The $caneditadmin and $protectedadmins can support multiple accounts, each account must be seperated with a comma for example:
$caneditadmin = "1,2,3,6";
or you can use "all" for every admin, for example:
$caneditadmin = "all";

The $caneditadminself and $protectedadminsself can be set to true, if the admin can edit there own account or false if they cant.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[Mini hack] Add Admin, Mod dropdown on Navbar KuRi vBulletin 3.5 Template Modifications 27 23 Apr 2006 22:26
[mini-hack] Hidden profile fields viewable by admins & mods IN profile. EvilLS1 vBulletin 2.x Full Releases 24 27 Jan 2004 19:46
[Mini-Hack] Make select function for admin functions. Slynderdale vBulletin 2.x Full Releases 7 01 Mar 2003 13:37

Comments
  #2  
Old 16 Jan 2003, 08:12
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Excellent! I was looking for a replacement for Chen's modified version!

*clicks install*
__________________
Latest News:

Nothing Going On here...just hanging around vBulletin.com
Reply With Quote
  #3  
Old 16 Jan 2003, 09:08
w596 w596 is offline
 
Join Date: Jul 2002
In your txt file you say...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Did you actually mean to say below it add:?

LOL see the next two posts... Thanks for straightening me out scsa20


BTW it works perfectly.

Thanks,
W596

Last edited by w596; 16 Jan 2003 at 10:44.
Reply With Quote
  #4  
Old 16 Jan 2003, 09:35
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
no, it's correct, you so'pose to add it above ?>, otherwise it'll just think it's normal text in normal HTML

btw... nice hack, need to install this later
__________________
Simonsoft Network

Times like this, I wished that I knew PHP
Reply With Quote
  #5  
Old 16 Jan 2003, 10:42
w596 w596 is offline
 
Join Date: Jul 2002
LMAO!!!

My Bad... I think maybe I'm dyslexic, I seen it as <?
doh!
Reply With Quote
  #6  
Old 18 Jan 2003, 07:38
HHTKAO HHTKAO is offline
 
Join Date: Sep 2002
This is great, im definitly adding this. nice hack
Reply With Quote
  #7  
Old 08 Feb 2003, 20:00
Katana Myronson Katana Myronson is offline
 
Join Date: Oct 2002
Real name: Matt
Great hack.... its going on to my list of hacks.
Reply With Quote
  #8  
Old 15 Jun 2003, 22:30
Sam FT's Avatar
Sam FT Sam FT is offline
 
Join Date: Apr 2003
This is an awesome hack. I had the Total Admin Security by hellsatan for keeping any one from deleting my account. But this is even better with the abiltiy to keep other admins from edit each other.
Reply With Quote
  #9  
Old 16 Jun 2003, 14:14
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Yesterday at 11:30 PM Music Pirate said this in Post #8
This is an awesome hack. I had the Total Admin Security by hellsatan for keeping any one from deleting my account. But this is even better with the abiltiy to keep other admins from edit each other.
Heh - Total Admin Security can easily be modified to perform the same function

Satan
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:51.

Layout Options | Width: Wide Color: