The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I don't want people to be able to sign up with symbols in their usernames, like the forwards slash, and the paranthases, and so on. The only symbol I want people to be able to use in thier username is the underscore. No periods, commas, or other symbols or punctuation marks. Is there a way to prevent this?
|
#2
|
|||
|
|||
open register.php
look for PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Thanks. I'm just curious, but has this been tested?
|
#4
|
|||
|
|||
Yeah it will work, it allow characters for a-z A-Z underscore and numbers in the range 0-9.
Hence the a-zA-Z_0-9 but i believe that PHP Code:
|
#5
|
|||
|
|||
I didn't realize that this hack was also going to prevent the use of spaces. I don't want it to do that. Is there anyway to fix that? If I just typed in a space after the _ would that do it? By the way, I don't get what you were trying to say in your last post! Can you tell me what that means?
|
#6
|
|||
|
|||
Can someone please help? I want to get this fixed.
|
#7
|
||||
|
||||
ever tried to use the html code for space in that definition?
"& n b s p ;" or "& # 1 6 0 ;" (without the spaces and "!) like PHP Code:
don?t know if it works but it is woth a try Greetings StarBuG |
#8
|
|||
|
|||
The answer is to add a space after 9 in this code
PHP Code:
|
#9
|
|||
|
|||
this works as well
PHP Code:
|
#10
|
|||
|
|||
How can I allow a dash (-) aswell? Coz when I added it it didn't seem to work!
--Sion |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|