The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Prevent special characters when registering an account
I only want to allow the following characters for nicknames when someone is registering an account at register.php:
a ... z A ... Z 0 ... 9 underscore "_" How can I achieve this? |
#2
|
||||
|
||||
Use REGEX ^[a-zA-Z0-9??????]*$ read about it here http://www.regular-expressions.info/unicode.html
|
#3
|
|||
|
|||
Could you please explain what the bold snippet means? I guess that it will allow stuff like ? ? ? ? ? ? ? ? ? ? ? ?? If so, why don't add vowels "e" "E" and "i" "I" to your regex?
Also I'd like to allow white spaces " " in nicknames (yes, the character you make when you press the spacebar button in your keyboard). |
#4
|
||||
|
||||
Did you read the link? the fact that a-z are allowed means every character between a AND z including a AND z are allowed.
The bold snippet is for foriegn characters. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|