Ajax Register - restrict username characters
- crisp
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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
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.
- Saka
- Offline
- Administrator
11 years 5 months ago #7013
by Saka
Emir Sakic
www.sakic.net
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:
*@*
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.
- crisp
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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 !
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.
- Saka
- Offline
- Administrator
11 years 5 months ago #7022
by Saka
Emir Sakic
www.sakic.net
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.".
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.