![]() |
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. |
vboption s> user registration option s> username regular expression
|
Thank you Lynne, but I need to know the correct preg_match phrase. I already know where setup the option :)
(sorry for my english) |
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.
|
<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. |
Quote:
I haven't see any related istruction for lowercasing ... :( |
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. |
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'
|
Have you thought instead of just using css to make it capitalized - "text-transform:capitalize;" - or all lowercase "text-transform:lowercase;"
|
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.
|
All times are GMT. The time now is 05:31 AM. |
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:
|