Solution found.
I chronicled what did/didn't work here: Prevent stupid ASCII usernames in vBulletin
Hope that helps somebody, -KP
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Need a little help here. I can see this, but it's either too much or not enough:
I want A-Z, 0-9, periods, underscore, spaces and hyphens --- and that's it. Any help on what this would be?
And if you know how...
Preferably no "repeat" periods/underscore/hyphen/spaces. i.e., "--BESTUSEREVER-- ___ -- 123" Better yet, limit to two total periods, underscores, hyphens, spaces I don't want any more users trying to use screwball usernames full of ASCII. Or even overusing what is allowable non-letter/non-number.
Thanks.
I chronicled what did/didn't work here: Prevent stupid ASCII usernames in vBulletin
Hope that helps somebody, -KP
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Need a little help here. I can see this, but it's either too much or not enough:
Code:
You may require the username to match a PCRE-type regular expression. (Do not start or end the expression with an escape character) Examples: ^[A-Z]+$ - Characters from A-Z only ^[A-Z ]+$ - Characters from A-Z including space ^[A-Z0-9 ]+$ - Alphanumeric characters including space ^((?!&#\d+;)[\x20-\x7E])+$ - ASCII characters from 32-127 See PHP.net for more information on regular expressions.
And if you know how...
Preferably no "repeat" periods/underscore/hyphen/spaces. i.e., "--BESTUSEREVER-- ___ -- 123" Better yet, limit to two total periods, underscores, hyphens, spaces I don't want any more users trying to use screwball usernames full of ASCII. Or even overusing what is allowable non-letter/non-number.
Thanks.
Comment