![]() |
Restrict Usergroup Changing in the CP
I figured this would be useful for forums that don't want other admins to constantly move or change people's usergroups in the admin CP.
What it does: It makes it so only a certain usergroup or user can view the usergroup drop down box when editing a user in the admin CP. Step 1: Open up admin/user.php and find: PHP Code:
PHP Code:
If you want to restrict it to a user, just replace: PHP Code:
PHP Code:
|
This has been done several times before...
- miSt |
Dean is right, that was done several times
If you take a look at my mods can edit users you can see also a modified code for just allow several usergroups in the chooser, not all possible. and no, you can't use it to release another hack, but if you need it for yourself feel free to take the code . |
All times are GMT. The time now is 02:02 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:
|