Ajax Register - restrict username characters

11 years 5 months ago #7009 by crisp
Hello,
I want to add a list of forbidden characters in the username form.
How can I do it ?
Thanks

Please Log in or Create an account to join the conversation.

11 years 5 months ago #7013 by Saka
Hello,

You go to AJAX Register dashboard and click on Options button.
Then under Filters tab there is a fields called "Blocked usernames". Here you can list words to be blocked from registration. It also supports wildcards so you can block characters too. For example, if you want to block "@" you would enter:
*@*

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

11 years 5 months ago #7021 by crisp
Hello,
Thanks, it works but the message for the user is : This Username is already taken.
It should be great to have an option to inform the user that the character is forbidden.
The top should be an admin parameter to allow only numbers, character upercase, lowercase etc... of course, it's a dream on my side, i don't know the work it needs !
But in all cases, Thanks for your strong Register extension !

Please Log in or Create an account to join the conversation.

11 years 5 months ago #7022 by Saka
Hi,

About the error message, you can edit the language string, either in the language file or with language overrides to say something like:
"This Username is already taken or not allowed.".

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch