![]() |
Restrict usernames to alphanumeric and underscore
This is a vB 3.7 port of the same mini mod.
( https://vborg.vbsupport.ru/showthread.php?t=73559 ) What is this Plugin about? 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. **Disclaimer** This mod is not absolutely necessary as vBulletin allows you to do what this mod does and more from within the Admin Panel: Admin CP -> vBulletin Options -> vBulletin Options -> User Registration Options -> Username Regular Expression You only need to use this mod if you don't want to deal with Regular Expressions. |
This is already possible in default vBulletin, since 3.6.8 if not sooner.
Admin CP -> vBulletin Options -> vBulletin Options -> User Registration Options -> Username Regular Expression Which is actually more powerful than your mod is as well. |
Thanks GrayMatter,
As you can see from the previous version thread, https://vborg.vbsupport.ru/showthrea...light=restrict some people are unaware of that feature or they just don't want to deal with Regular Expressions. Anyway, thanks for the heads up. I will add a disclaimer so people know beforehand that this feature is available from within the ACP as long as they are not scared of RegEx. |
thenk yuuu canim :D:up: good job meeen :D:up:
|
What if my Real name is imçañóndábèar :'(
|
Thanks dude, that is great!
*Clicks Install* |
Great work mate. Thanks.
|
One of my most favorable mods for vb. Thanks for the update.
|
Thanks, for so long I have been inputting every other symbol I could think of into the disallowed user names list.
|
Is this the same as using regular expressions that are built into vB 3.7?
Something like: Code:
^[A-Z0-9]+$ Would that have the same effect, or am I missing something about what this mod does? Thanks! |
All times are GMT. The time now is 12:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|