View Full Version : How do i disable...
---MAD---
10-09-2005, 01:24 PM
How do i disable people registering with spaces in there names?
Thanks
Andreas
10-09-2005, 09:29 PM
register_addmember_process
if (strpos($vbulletin->GPC['username'], ' ') !== false)
{
$userdata->error('usernametaken', $vbulletin->GPC['username'], $this->registry->session->vars['sessionurl']);
}
If you want to have a specific error message, just create an apropriate prhase for it and change the varname.
Boofo
10-09-2005, 10:25 PM
register_addmember_process
if (strpos($vbulletin->GPC['username'], ' ') !== false)
{
$userdata->error('usernametaken', $vbulletin->GPC['username'], $this->registry->session->vars['sessionurl']);
}
If you want to have a specific error message, just create an apropriate prhase for it and change the varname.
Kirby, you ought to make a username security product to go along with your password security product. This would be a great addition to it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.