![]() |
How can I use this to allow a-z A-z 0-9 and spaces?? In other words what would I need to do to get this existing hack to work but still allow spaces in usernames??
|
Quote:
PHP Code:
|
Thanks will try this tommorow :D
|
Added this today and it works a treat!! Thanks untold4you.
|
Nice hack bro, but could you please make a vBulletin option that would allow board administrator to specify a custom allowed letter range (so that besides English, another language or languages would be allowed)? Thanks :)
|
Quote:
Gr3?Tz... |
Quote:
|
Quote:
|
Yes, and all you have to do is replace
Code:
if (!eregi("^[A-Za-z0-9]+$", $_POST['username'])) Code:
if (!eregi("^[A-Za-z" . $vboptions['mycustomoption'] . "0-9]+$", $_POST['username'])) Also, a shorter form of "A-Za-z" in a regex would be a simple "A-z" :) |
Quote:
|
All times are GMT. The time now is 07:53 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:
|