This hack may win me more popularity contests among the older board operators out there....
What pi$$e$ me off more than anything, is when users register usernames with weird characters that take you several minutes to figure out what the hell their username really is! To achieve what this hack does in the adminCP, you would have to enter literally hundreds of single characters!
For 3.5.3, simply install the product, and then edit the only plugin... the variable $char_conditions to your tastes...
Please refer to http://www.php.net/preg_match for help on how to set the conditions to your tastes. The default allows for letters, numbers, and underscores only. If you're a preg_match guru, you can also set it up to require the first character to be a letter, and so on...
Alas, friends and neighbors, the days of [==d00D==], |< () R |\| and |3 () () |3 $ are GONE FOREVER!!!!!!!!
Are you tired of seeing in your forums usernames like these?:
1.- The Super Boy (spaces)
2.- my_new_name (underscore abuse)
3.- imçañóndábèar (international characters)
Well, with this simple addon you can prevent that from happening from now on (it can't correct already spoiled usernames). When a user tries to register using one of those chars, a nice error message makes sure the user picks another "normal" name.
Installation instructions
1.- Download the attached .xml
2.- Go to Admin Control Panel => Plugin System => Manage Products => Add/Import Product => and browse for the the location where you downloaded the .xml
3.- Hit Import
4.- To configure it (not really needed, but it is there), go to Vbulletin Forum Options => Restrict Usernames on registration
By default this addon prevents spaces and any char other than numbers and (english) letters while allowing underscore.