Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Collins Agbonghama

    (@collizo4sky)

    Yes. ProfilePress handles all that. Give it a try and let me know if you encountered any problem.

    For the best of experience, I advice you upgrade to any of the paid plans.

    I have tried the plugin but I do not think it will do what I want

    Just to be clear. I want the email that is sent out by WP when a new user is created to have a Special URL that goes to PP – Login

    I have tried this with the plugin set up and it is part succesful

    Two URL’s are sent out Automatically by WordPress

    <https://mysite.com/wp-login.php?action=rp&key=ZTI9XDyE9Cf1dYNvLOw5&login=Username&gt;

    https://mysite.com/wp-login.php

    Clicking the Top URL goes to the normal WP Screen where a New user is shown a new password and ask to reset their PWD

    Clicking the Second URL goes to the PP_Login page set by the plugin.

    Hopefully there is a way to also change the top URL to go to PP Login screen?

    Plugin Author Collins Agbonghama

    (@collizo4sky)

    When ProfilePress is activated, it rewrite the wp-login.php to the custom login set.

    In your code that generate the password reset url, change wp-login.php to your password reset your page slug like so https://mysite.com/reset-password?action=rp&key=ZTI9XDyE9Cf1dYNvLOw5&login=Username&gt;

    Opening the link will show a form to update the password on the frontend of your site.

    Have tried to find the WP default code and found the string in Pluggable.php

    /* translators: %s: user login */
    $message = sprintf(__(‘Username: %s’), $user->user_login) . “\r\n\r\n”;
    $message .= __(‘To set your password, visit the following address:’) . “\r\n\r\n”;
    $message .= ‘<‘ . network_site_url(“wp-login.php?action=rp&key=$key&login=” . rawurlencode($user->user_login), ‘login’) . “>\r\n\r\n”;

    Have changed to
    $message .= ‘<‘ . network_site_url(“pp-login.php?action=rp&key=$key&login=” . rawurlencode($user->user_login), ‘login’) . “>\r\n\r\n”;

    Tried clicking on the generated email link but get a 404

    Note: pp-login.php works in the WP-config file and clicking the bottom link on the email goes to the login page.

    Have I not done it correctly?

    • This reply was modified 1 year, 1 month ago by alan555.
    • This reply was modified 1 year, 1 month ago by alan555.
    Plugin Author Collins Agbonghama

    (@collizo4sky)

    There is no pp-login.php in ProfilePress or WordPress core.

    Upgrade to the paid version of ProfilePress and this will automatically be handled for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Customise New User link created by WP?’ is closed to new replies.