The Arcive of vBulletin Modifications Site. |
|
Admin's can register new users without logging out Details »»
|
|||||||||||||||||||||||||||
|
Admin's can register new users without logging out
Developer Last Online: Mar 2017
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 https://vborg.vbsupport.ru/showthread.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! Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
thanxxxxx
|
|
#3
|
|||
|
|||
|
good idea!
by the way, how can i do multi-logon? thanks! |
|
#4
|
|||
|
|||
|
Whats the point I mean you can add accounts in the admin cp?
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
Yes but sometimes you need to go through registration process to test some hacks etc... I guess this is to use in such situations.
|
|
#7
|
||||
|
||||
|
why not just set
$vbulletin->options['allowmultiregs'] to on when its an administrator? |
|
#8
|
||||
|
||||
|
I can see this being useful, as I test login/registration procedure all the time. Logging out/logging back in, or using multiple browsers, is sometimes a pain.
Thanks for this, Kingzor! |
|
#9
|
||||
|
||||
|
Quote:
it was a pain in the ass to logout test it login change some settings logout again and repeat untill i got it just the way i wanted. |
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|