The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Prohibit double spaces in username.
Does anyone know how I could stop users from registering with two or more spaces next to each other in their username?
|
#2
|
|||
|
|||
I suggest not allowing any spaces at all.
|
#3
|
|||
|
|||
I want to allow spaces, just not double spaces.
|
#4
|
|||
|
|||
What version do you have? I find when I test the latest vb3 version (3.8.7PL2) that although the registration page allows me to enter a username with multiple consecutive spaces, they are removed (condensed to one space) when the user is created. But a while back there was an issue where usernames could be duplicated by including some sort of non-printable characters, and there was a regular expression that was given as a work-around. I don't know if 3.8.7PL2 fixes that in some other way or not.
|
#5
|
|||
|
|||
I used ^[A-Za-z0-9 ]+$. I tried adding [^( )], but it didn't work. We're using 3.8.7, let me check the double spaces shrinking thing now.
Edit: My gosh! You're right, it condenses double spaces. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|