hello @champsupertramp
in case I need to make these forms in Arabic also, I know how to translate them and already did. However, the logic behind the form what it accepts in its fields and what not, how can this be changed to fit Arabic? For example, when I entered an Arabic username, I got please enter a valid username. Also, the password field has constraints matching English like have at least one number, one uppercase letter and one lowercase letter. How can I change the constraints to fit Arabic also?
Hi @hebafarid
Sorry for the late response.
Could you please tell us if you’re having issues? To allow the Arabic username, you can try installing this plugin: https://ww.wp.xz.cn/plugins/wordpress-special-characters-in-usernames/
Feel free to re-open this thread by changing the topic status to “Not Resolved” so that we can get back to you.
Regards,
hello @champsupertramp
When I installed your the new update, the registration form suddenly doesn’t accept Arabic usernames. I am using this piece of code:
/**
* Allow arabic in username with UM
*/
add_filter("um_validation_safe_username_regex", function( $regex ){
return '/^(?!.*\d)[a-z\p{Arabic}\s]+$/iu';
},99999);
as well as “WordPress Special Characters in Usernames” plugin. All this allowed Arabic usernames but when I installed the update for “Ultimate Member” plugin, Arabic usernames aren’t allowed.
I was checking the form, when I change the username to be in English but leave the first and last names in Arabic, I still get the error message in Username. Although the username is in English. It looks like the error is stuck on this field
This problem happens in English forms also. Right now I can’t register any new users.
-
This reply was modified 5 years, 1 month ago by
hebafarid.
-
This reply was modified 5 years, 1 month ago by
hebafarid.
Hi @hebafarid
I think this is an issue with the WordPress core. Have you tried registering via WP Admin > Register( http://yoursite.com/wp-login.php?action=register ) and see if the issue with the Arabic username also occurs?
Regards,
hello @champsupertramp,
I am still facing the same issue. I can’t register new users at all, whether in the Arabic or English forms
hello @champsupertramp,
I tried adding users through the backend and it works fine. The front-end forms doesn’t work at all whether Arabic or English. I keep getting something like invalid username
hello @champsupertramp
I keep getting this error message when I try to register a new user using the default sign up form. I keep getting this error message “Your username contains invalid characters”. Although it doesn’t have any special characters and it is in English. This is really urgent.
Thanks in advance.
Hi @hebafarid
Just checking if you’re still having issues with the latest version 2.1.21?
Please feel free to re-open this thread by changing the topic status to “Not Resolved” so that we can get back to you.
Regards,