Normal Admin Can't Delete User vB5
Tested in vbulletin version 5.6.4 works fine
Description: ==================================== Superadmins (from "core/includes/config.php" file) can delete users but, normal admins can NOT delete users How to install : ==================================== Follow install instructions 1-) download and open "core/admincp/user.php" file 2-a) find PHP Code:
print_cp_header($vbphrase['user_manager'], '', $extraheader);
PHP Code:
if ($_REQUEST['do'] == 'remove' AND !in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vb5_config['SpecialUsers']['superadmins'], -1, PREG_SPLIT_NO_EMPTY))){
PHP Code:
if ($_REQUEST['do'] == 'remove')
PHP Code:
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vb5_config['SpecialUsers']['superadmins'], -1, PREG_SPLIT_NO_EMPTY)))
PHP Code:
// ###################### Start Kill #######################
PHP Code:
}
Notice: u can edit sentences manuel which re highlighted at ss How to uninstall: ======================================== It is sufficient to overwrite the "core/admincp/user.php" file on your server with its original. ----- Mark as installed = get support. for vB4 Download No files for download. Screenshots |
Similar Mods
Administrative and Maintenance Tools Normal Admin Can't Delete User | vBulletin 4.x Add-ons |
Miscellaneous Hacks User Drop Down Icons + Message drop down icons (CSS only) - vb5.2.3/vb5.2.4 | vBulletin 5.x Template Modifications |