-
Author
-
October 10, 2013 at 12:27 #4123
zivix
ParticipantHi
when I use a chinese username to register,(I used the chinese username support plugin) the process Looks very smooth,but after activate the account I can’t change avatars,the members page 404 error. I know the theme do not support chinese or japanese string, but you know we are a asian company. so can you help me fix the problem?
Thanks!
the error URL like this: XXXX is the chinese username
http://www.teachcg.com/members/XXXXOctober 11, 2013 at 00:57 #4157SQadmin
KeymasterHi,
I don’t have access to your site to take a look. Send me a temporary password. Mark the reply as privateHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 11, 2013 at 04:19 #4169zivix
ParticipantHi
Thanks for your reply,
here is my site:http://www.teachcg.com/
Web protector password:8225582
Test username:小鬼补课
Test password:8225582
The 404 error page URL:http://www.teachcg.com/members/%E5%B0%8F%E9%AC%BC%E8%A1%A5%E8%AF%BE/
After you log in please click the profile button,you will see the 404 page.
I don’t know this support forum can show chinese or not, if you can’t see the username in chinese please let me know.
Thank you!October 11, 2013 at 08:41 #4171zivix
Participantthere is an other Solution—-force the user use Email to log in!
let wordpress generate a random numbers instead of user name when users register. and use the email as unsername to login.
for this we must use the plugin”wp email login” and add some mt_rand function in register.php.I have done on my other test web site http://press.teachcg.com/
you can have a test there, now the new problem is the “username”Input box of register lightbox is no use,how can I remove it?October 11, 2013 at 11:24 #4183SQadmin
KeymasterHi
This seems a good solution.
To hide username you need to edit the registration/ register.php and make the username type hidden instead of text and in the value attribute add the generate function.
Let me know if you need helpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 11, 2013 at 11:59 #4185zivix
ParticipantThanks for your reply,
Well,random username doesn’t displays Human-friendly, can use email address instead of random user name? I test on
<input type="hidden" name="signup_username" id="signup_username" value="<?php bp_signup_email_value() ?>" />but the code isn’t work…is there any way to get the email address print on the unername when user register?If can do this, it would be great!
October 11, 2013 at 12:13 #4188zivix
Participantfor the hidden input box, I mean on the lightbox one not the page one.I’m sorry I didn’t say clear
October 12, 2013 at 02:32 #4230SQadmin
KeymasterHi, That modal can be edited from this template: wp-content/themes/sweetdate/page-parts/general-register-modal.php
To add the email in the hidden field you need a javascript to copy the value from the email field since the email is not yet saved and you can’t get it by PHP
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.