This topic has 8 replies, 2 voices, and was last updated 12 years by zivix.

  • Author
  • #4123
     zivix
    Participant

    Hi
    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/XXXX

    #4157
     SQadmin
    Keymaster

    Hi,
    I don’t have access to your site to take a look. Send me a temporary password. Mark the reply as private

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4169
     zivix
    Participant

    Hi
    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!

    #4171
     zivix
    Participant

    there 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?

    #4183
     SQadmin
    Keymaster

    Hi
    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 help

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4185
     zivix
    Participant

    Thanks 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!

    #4188
     zivix
    Participant

    for the hidden input box, I mean on the lightbox one not the page one.I’m sorry I didn’t say clear

    https://lh6.googleusercontent.com/-B_oB0dc9ccM/UlfAoJ1owoI/AAAAAAAAANs/8hAvYRDCi4s/w410-h264-no/2013-10-11+18-05-08.jpg

    #4230
     SQadmin
    Keymaster

    Hi, 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
    #4253
     zivix
    Participant

    OK,thanks! I will try to use javascript!

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?