The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Username in lowercase on registation
Is there a way I can set up so that user names must be in first capital letters and rest in lowercase?
For example: Not USERNAME, not username but Username? Can I use an preg_match formula in vB registration user options? Thanks. |
#2
|
||||
|
||||
vboption s> user registration option s> username regular expression
|
#3
|
|||
|
|||
Thank you Lynne, but I need to know the correct preg_match phrase. I already know where setup the option
(sorry for my english) |
#4
|
|||
|
|||
I was looking for the exact same thing, I tried a couple, but was still getting things I didn't want, like numbers and special characters in the name.
|
#5
|
|||
|
|||
<a href="http://www.php.net/manual-lookup.php?function=preg-match" target="_blank">http://www.php.net/manual-lookup.php...ion=preg-match</a>
Check there for Preg Match. |
#6
|
|||
|
|||
Quote:
I haven't see any related istruction for lowercasing ... |
#7
|
|||
|
|||
The documentation is very confusing to me.
What do I need to get: Username First letter always capitalized and no 'special characters' (meaning no ÿ, just want y) and no numbers. |
#8
|
|||
|
|||
I PMed the original poster, and neither of us have been able to do this correctly. I'm not a programmer, and the information from the PHP site reads like Greek to me. Any help would be greatly appreciated. I've tried Googling for the info as well, but I keep running into very complex stuff, rather than just the right phrase to put in to force the 'Username'
|
#9
|
||||
|
||||
Have you thought instead of just using css to make it capitalized - "text-transform:capitalize;" - or all lowercase "text-transform:lowercase;"
|
#10
|
|||
|
|||
Hmm... is the log-in not case sensitive? Was thinking I had to force it while they registered or they wouldn't be able to log-in. And unfortunately that doesn't resolve the issue of not wanting numbers in the name.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|