How do users change their password?

This topic contains 9 replies, has 3 voices, and was last updated by  Patrik 6 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #2714

    Romeo Crow
    Buyer
    Post count: 54

    I can’t work out how to add the option for a user to change their password on their Account page?

    Screen > https://cl.ly/0N0S4135220x

    (there’s no link /field for them to change their password)

    #2736

    Alex Rollin
    Moderator
    Post count: 27815

    Use the form builder settings to place the password field on the account form.

    https://userswp.io/docs/userswp-form-builder/

    #2745

    Romeo Crow
    Buyer
    Post count: 54

    I already did that.

    Here are my settings: > https://cl.ly/2F2c2V3Q110w

    I just changed “Include this field ONLY in register form:” from “Yes” to “No” and there is now a Password field on the Account page.

    However, it doesn’t do anything; I entered a new password in it and clicked save, logged out and logged back in…but the new password didn’t work, only the old one.

    Plus, under UsersWP > Settings > Change Password I have “Enabled Old Password?” ticked; but there was no confirm your old password to change to a new password.

    What am I doing wrong?

    #2748

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I can confirm this on my test site also. A task has been created to make a fix for this.
    We will get back to you here once it is complete.

    You can provide WP Admin and FTP access if you would like it applied to your site, or you can wait for a release.

    #2749

    Romeo Crow
    Buyer
    Post count: 54
    This reply has been marked as private.
    #2752

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #2756

    Patrik
    Moderator
    Post count: 1971

    Hi Romeo,

    For changing the password we have shortcode

    [uwp_change]

    which displays the change password form with old password field if it is enabled from settings. There is already a page called “Change Password” created on activation of the plugin which you can add into the menu or somewhere so that users can access it to change their password. You can add ‘/change/’ into URL to go to this page as well.

    Let me know if you have any questions.

    Regards,
    Patrik

    #2758

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    this has been documented here:
    https://userswp.io/docs/change-password/

    #2798

    Romeo Crow
    Buyer
    Post count: 54

    Cheers for that. How would I add that in the User’s Account form? (because that’s where the link should go!)

    I tried adding a Link in the Form Builder, but there didn’t actually seem to be a field within it to add the URL to link it to?!

    #2800

    Patrik
    Moderator
    Post count: 1971

    Hi Romeo,

    You can add the link of change password page about account form. You can try following code in functions.php file of current active theme and let me know if it resolves your issue or not:

    
    
    add_filter('uwp_account_available_tabs', 'uwp_account_available_tabs_fp');
    function uwp_account_available_tabs_fp($tabs) {
    
        $tabs['change']  = array(
            'title' => __( 'Change Password', 'userswp' ),
            'icon' => 'fa fa-key',
            'link' => uwp_get_change_page_url()
        );
    
        return $tabs;
    }

    Regards,
    Patrik

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket