|
Admin's can register new users without logging out
This modification is in the archives.
Hi, this is my first ever public mod :banana:
Figured this would be usefull for testing mods that modify the way people register such as index.php?t=106685 To install: open register.php and find: Code:
if ($vbulletin->userinfo['userid'] AND !$vbulletin->options['allowmultiregs'])
{
eval(standard_error(fetch_error('alreadyregistered', $vbulletin->userinfo['username'], $vbulletin->session->vars['sessionurl'])));
}
Code:
if ($vbulletin->userinfo['userid'] AND !$vbulletin->options['allowmultiregs'] AND !$vbulletin->userinfo['usergroupid']==6)
{
eval(standard_error(fetch_error('alreadyregistered', $vbulletin->userinfo['username'], $vbulletin->session->vars['sessionurl'])));
}
Please inform me if there are any bugs or security holes in it! Download No files for download. |
|||||||||