• Resolved jongittoes

    (@jongittoes)


    Hi,

    I would like to use the change password form, but do not want to use the tabbed profile menu that comes as standard with UM. Is there a way to include the change password form on another page, either stand alone of via a short code?

    I can see the password reset shortcode, but I would prefer to use the change password form instead, ie prompt the user for the existing and new passwords, rather than emailing a link.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @jongittoes

    Unfortunately, this requires customization on your end.

    Here’s a sample code snippet to enable the change password in PHP:

    <?php
     UM()->password()->change_password = true;
    echo do_shortcode("[ultimatemember_password]");
    ?>

    Regards,

    • This reply was modified 6 years, 6 months ago by Champ Camba. Reason: fix typo in php code
    Thread Starter jongittoes

    (@jongittoes)

    Thanks, but that shortcode – [ultimatemember_password] – displays the password reset form and NOT the change password form.

    I am specifically looking for a way to display the change password form.

    Any ideas?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @jongittoes

    Did you use the PHP code or just the shortcode? The code snippet above will enable the Change Password form.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode for Change Password form’ is closed to new replies.