vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=248876

Normal Admin Can't Delete User
by TilkiBey
18 Aug 2010 15:02

1 Attachment(s)
at 1st, i am sorry if i opened this thread to wrong category
at 2nd, i am sorry bout my English =)

at my forum, an admin deleted a user account without our permission
after deletion, there are a lot of db errors
so, i ve to find a solve for this problem and i found =)

Superadmins (from config.php file) can delete users
but, normal admins can NOT delete users

..::Upgrade Instructions::..
1-) Download new user.php file from ur license account
2-) Follow install instructions

..::Install Instructions::..
1-) download and open admincp/user.php file

2-a) find

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

2-b) replace with

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

3-a) find

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

3-b) add BELOW

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

4-a) find

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

4-b) add ABOVE

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

5-) save and upload to ur admincp directory. that's all ;)

Notice: u can edit sentences manuel which re highlighted at ss


Turkish Support ~ Türkçe Destek
http://www.vbulletin-turko.com/showt...ini-Engelleyin

regards...

Known Bugs
White Page Problem --> Fixed at version 1.10

Version History
1.00
1.10 --> White Page is Fixed
1.20 --> Changed Scene, Screenshot added

hakan68 20 Aug 2010 20:20

Eline Sağlık Tilkißey
Thx man (:

Boofo 20 Aug 2010 20:31

Just turn off being able to edit users in the admin permissions for each admin.

Videx 21 Aug 2010 02:47

Quote:

Originally Posted by Boofo (Post 2087014)
Just turn off being able to edit users in the admin permissions for each admin.

I dunno. I thought of that too, but then I looked and the best I could find was this (vb 406), which doesn't match the functionality at all. Maybe I'm just missing the "Can edit users" option?
Quote:

Can Administer Users This setting determines whether an admin will be able to access the Users, Usergroups, User Infractions, User Titles, User Ranks, User Reputations,User Profile Fields and Paid Subscriptions areas of the Admin CP.

Boofo 21 Aug 2010 03:10

"Admin CP -> Usergroups -> Administrator Permissions" will list your Admins. Then just go to "Edit Permissions" of the Admins you want to edit and it is all in there.

Can Administer Users = Can Edit Users

If they can't edit users they can't delete them either.

Videx 21 Aug 2010 03:23

Quote:

Originally Posted by Boofo (Post 2087176)
If they can't edit users they can't delete them either.

True, but then neither can they do a dozen other things pertaining to users. Presumably this mod is intended to simply prevent an admin from deleting a user. But they can still administer all those other user functions.

TilkiBey 21 Aug 2010 08:33

Quote:

Originally Posted by Boofo (Post 2087014)
Just turn off being able to edit users in the admin permissions for each admin.

if u turn off this option, that admin wont edit user profile
cannot ban user, cannot change users' usergroup... etc...

if u wanna that ur admin has permission edit users but has NO permission for delete user accounts
there is no option at vb default settings

Dr.osamA 22 Aug 2010 17:50

thanxx bro

installed

5 stars

WhiskeyOSS 22 Aug 2010 18:43

We only allow Two admins in the admin side of the cp the rest of them only have access to the mod panel ... to many finger in the admincp spell a whole heap of trouble for the senior admins..

atmaca 23 Aug 2010 17:59

Thanks TilkiBey useful modification.

TilkiBey 29 Aug 2010 21:17

thx all :):up:

elderpooter 01 Sep 2010 02:59

thanks a lot :)

vmwareguy 01 Sep 2010 16:57

I have installed this mod on vb 4.0.6 Patch 1 but now I cannot delete any users.

Normal admins now cannot delete users which is excellent but when I, as the super admin, try to delete I just get redirected to a blank page and the deletion doesn't complete.

I have looked at the code but I can't see any reason why this is occurring.

Any help would be greatly appreciated. :)

-Mike

daveaite 01 Sep 2010 17:19

Quote:

Originally Posted by Boofo (Post 2087014)
Just turn off being able to edit users in the admin permissions for each admin.

Exactly, you prob dont need a mod for this. Either way, some admins might not know how to do that xD

Lethaeus 13 Sep 2010 07:20

Thanks bro


All times are GMT. The time now is 03:30.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.