Heisenberg submitted a new resource:
You must be registered for see links
- Normal Admin Can't Delete UservB Version: 4.x.x
Superadmins (from config.php file) can delete users
but, normal admins can NOT delete users
Instructions
Download and open admincp/user.php file
1. Find:
Code:if ($_REQUEST['do'] == 'remove') {
Add below:
Code:if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY))) { print("Normal admin cannot delete users"); } else {
2. Find...
You must be registered for see links
Last edited: