This topic has 17 replies, 5 voices, and was last updated 8 years, 4 months ago ago by Stan Russell
Hello my friend,
The Register Page (Registro), is not accepting Brasilian characters for new user name, like (áãâ), when the new user put a name with this characters the site does not show any messagens warning that this characters can’t be used.
Can you help me?
Thank you
Hello,
Please provide us with FTP and wp-admin panel credentials in Private Content.
Regards,
Eva Kemp.
OK here it is!
Hello,
Please update the theme to the latest version.
Before update delete “woocommerce” folder in the directory wp-content/themes/woopress/ and it’ll be reuploaded from a new theme package.
Also update all required plugins https://www.8theme.com/download-plugins/ .
Don’t forget to create back up of your files and database before starting update process!
(it’s for Legenda theme but the process is the same).
Best regards,
Jack Richardson.
I do not believe that this problem occour because of the update, could you please have a look in the register page and fix this problem for me?
Thank you.
Hello,
Is registration completed when you use normal characters?
We recommend to keep all plugins and theme updated as some bugs are fixed in the latest theme version.
Create a back up before update.
Thank you.
Regards,
Eva Kemp.
Yes the registration is completed when i use normal characters!
You have make this page Registration for me, i think you can fix this easy, i do not have time to update now and i am sure the bug is not because of this update…
Thank you.
Can you help me?
Hello,
I’ve added the following code in the /wp-content/themes/royal/framework/theme-functions.php file in line 1567:
if(!preg_match("#^[aA-zZ0-9\-_]+$#", $username)) {
$return['status'] = 'error';
$return['msg'] = __( "Please enter user name without specific characters.", ETHEME_DOMAIN );
echo json_encode($return);
die();
}
Please check your registration page now.
Best regards,
Jack Richardson.
Thank you for your help Jack, but the problem still…
When it matches ((“#^[aA-zZ0-9\-_]+$#”, $username) it still loading forever, not returning the erro you configured…
Thank you
Hello
You are using latest woocommerce plugin .Our theme uses overwriten templates for. Woocommerce folder contains registration page template and may consist old files which cause the issue. Please update woocommerce folder, theme and plugins.
Regards,
Brian Johnson
I think the problem is with the logic ((“#^[aA-zZ0-9\-_]+$#”, $username), for the SPACE in the user name it works, but for words with: (^~áéóúã) didn’t works, like for exemple username: joão.
Could you help me with this code?
Thanks
Hello,
I’ve checked the code on a test site with the latest theme version and it works fine.
You need to update your theme and required plugins as you are using very old version.
Don’t forget to create back up of your files and database before starting update process!
Before update delete “woocommerce” folder in the directory wp-content/themes/royal/ and it’ll be reuploaded from a new theme package.
(it’s for Legenda theme but the process is the same).
Thank you.
Regards,
Eva Kemp.
All up to date sir!
It stills running forever when i try to register some characters: “áãêêíúç”.
Try to register user “joão”, so you will see that it will loading for ever and do not show any message…
Now do you believe that the problem is in the code or in the theme?
Waiting for your answer…
Hello,
As I see the problem persists when the “iThemes Security” plugin is activated. Try to disable it and check registration page.
Best regards,
Jack Richardson.
Ok my friend, now it works, thank you!
But without iThemes security my site is not safe, i need to use this plugin, could you help me with that?
I know that you work just with problems related to the Theme, but give me a way where can i search for a solution for that?
Thanks
Hello binhoscc,
unfortunately we can not recommend you such third-party security plugin. You need to find it and use on own risk. Sorry.
Regards,
Stan Russell.
You must be logged in to reply to this topic.Log in/Sign up