Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Only Superadministrators can edit undeletables Details »
Only Superadministrators can edit undeletables
Mod Version: 1.00, by Harley77 (Member) Harley77 is offline
Developer Last Online: Jan 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 2
Released: 10 Aug 2005 Last Update: Never Downloads: 1
Not Supported Code Changes  

I searched the forums and couldn't find anything quite like this, so I figured I'd share this simple little modification.

This is a VERY simple hack I implemented on my forum so that we could prevent other administrators from modifying other admins user accounts.

It works by simply bypassing the Undeleteable Check in /admincp/user.php if the currently logged in user is in the superadministrator list in /includes/config.php.

By doing this, you can put all your admins or other users in the Undeleteable catagory for account protection while still allowing them to be altered by a master administrator.

They can still update and change their profile via the UserCP, they just wont be able to modify their account via AdminCP.

Please note, I'm not a coder.. more of modifier, so I cannot guarantee that this will not have any unforseen and less than desirable side effects. If any of you know of a reason that this is a bad idea, please post. Otherwise, hopefully someone else can find this useful.


Instructions:


in /admincp/user.php
Find this:

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

Replace with this:

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


Now just open your /includes/config.php file and add the UID's of your undeletables and Superadministrators.


Thats it.

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
Quick Edit! -Edit posts directly from within the thread itself EvilLS1 vBulletin 3.0 Full Releases 319 02 Sep 2005 05:02
Quick Edit! -Edit posts directly from within the thread itself EvilLS1 vBulletin 2.x Full Releases 126 30 Jan 2004 06:01

Comments
  #2  
Old 11 Aug 2005, 01:06
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
If I am not mistaken there is already a hack for this..not sure though..either way great hack man


~Curt
__________________
My first vB template additions: Add User Color Legend - Add eBay profile to postbit
Curtis C.- Owner and Operator of KeyHunt
Important Linkage: Buy vB - vB Styles
Just wanna ask a vB related question contact me.
Reply With Quote
  #3  
Old 11 Aug 2005, 01:11
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
The one you're talking about is for 3.5, isn't it?
Reply With Quote
  #4  
Old 11 Aug 2005, 19:11
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
I dont think so..I thought there was one for 3.0.X..not sure though..you know me boofo ( I ALMOST says boobfoo :P )


~Curt
__________________
My first vB template additions: Add User Color Legend - Add eBay profile to postbit
Curtis C.- Owner and Operator of KeyHunt
Important Linkage: Buy vB - vB Styles
Just wanna ask a vB related question contact me.
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 13:54.

Layout Options | Width: Wide Color: