The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm trying to make two empty spaces an illegal user name. Adding two spaces in vb options - user registration options - illegal user names field, doesn't hold. Is there a way to add it directly to the database? Thanks.
|
|
#2
|
|||
|
|||
|
Although I do not use vb3, I would handle this by altering the regular expression for usernames in the admincp. Post the regular expression you are using now and I will alter it to handle your two empty spaces.
See vB3 options -> User Registration Options -> Username Regular Expression |
|
#3
|
|||
|
|||
|
Thanks tbworld.
This is what I'm using now ^[A-Za-z0-9 ]+$ I searched a lot online and tried many variations that claim to eliminate consecutive spaces, but none worked. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|