Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jfl1977

    (@jfl1977)

    Figured it out myself.

    The Pro version does not have the str_replace call for the variables.

    Go to plugin.class.php and for each message (pending user is near 1119) add this before the $email_contents call:

    $msg = str_replace(“%USERNAME%”, $user_info->user_login, $msg);
    //$msg = str_replace(“%USER_LOGIN%”, $nm_email, $msg);
    $msg = str_replace(“%USER_PASSWORD%”, $user_info->user_pass, $msg);

    $msg = str_replace(“\n”, “
    “, $msg);

    (Oh, the line break replacement is missing as well).

    Plugin Author N-Media

    (@nmedia)

    Hi,

    thanks for sharing, we will fix this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘%USERNAME% and others not working’ is closed to new replies.