The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hi every body ...
i'm admin of a forum and i've a problem in new users registrant. i'd like to prevent usernames which are ecxact digit. for example : "1294030" or "848392" , but no problem if the numbers are associated with word, for example : "david1232" or "12dani34" could some one help me plZ ?! |
#2
|
|||
|
|||
![]()
You could put a regular expression in the Username Regular Expression field of the User Registration Options. I think something like [a-zA-Z@\._ ] would require at least one of those characters to be in the user name, and so it couldn't be all numbers. (I haven't thought about this a whole lot so that might not be the ideal regexp to use. For instance, maybe you'd rather use [a-zA-z] to require at least one letter somewhere in the name to disallow things like 123_456.)
|
#3
|
|||
|
|||
![]()
tnx
any one more ? --------------- Added [DATE]1287530565[/DATE] at [TIME]1287530565[/TIME] --------------- my vBulletin version is 3.8.4 |
#4
|
||||
|
||||
![]()
A regex is the solution like kh99 said... this site has hundreds of regular expressions to do specific things you can browse it and find one that will work best for your needs:
http://regexlib.com/ |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|