• ujiwebujiweb February 2011

    Replace in: registerform.php at line: 101-104:

    $m_nowFormat = str_replace("{%username%}",$user_login);
    $m_nowFormat = str_replace("{%sitename%}",$m_stSiteURL);
    $m_nowFormat = str_replace("{%sitelink%}",$m_stSiteLink);
    $m_nowFormat = str_replace("{%password%}",$user_pass);

    with:
    $m_nowFormat = str_replace("{%username%}", $user_login, $m_nowFormat);
    $m_nowFormat = str_replace("{%sitename%}",$m_stSiteURL, $m_nowFormat);
    $m_nowFormat = str_replace("{%sitelink%}",$m_stSiteLink, $m_nowFormat);
    $m_nowFormat = str_replace("{%password%}",$user_pass, $m_nowFormat);

  • olioli February 2011

    Coudl you elaborate ?

    WP-Answers Admin | Contact Me if you need help.

  • ujiwebujiweb February 2011

    str_replace require 3 parameters.
    you included just 2.
    in this case will generate errors. at least in my case.

    PS - advice: use: <?php instead of <?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Tagged

  • 59