This allows you to no longer use userids and use usernames for setting superadmins or admins that can edit other admins permissions.
1. go to admincp and edit file adminpermissions.php
find
PHP Code:
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)))
{
and replace with
PHP Code:
if (!in_array($vbulletin->userinfo['username'], preg_split
('#\s*,\s*#s', $vbulletin->config['SpecialUsers']
['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)))
{
then go to config.php
find
PHP Code:
// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
and make
PHP Code:
$config['SpecialUsers']['superadministrators'] = 'a username'
everything else works same commas still separate names.