• Resolved Emil Villumsen

    (@emil-villumsen)


    Hi there,

    I have a problem that I assume is between PMPro and TML.

    Problem
    When both PMPro and TML are active, the links to “edit profile” and “change password” under PMPro account pages, link to /wp-admin/profile.php. Clicking them, it causes a redirect loop error. This is with “custom user links” active.

    When I activate “themed profiles” in TML, the same links link to the slug /your-profile/. Clicking this, it leads to a login screen instead of the user profile, even though I am already logged in. If I attempt to login again, it simply updates the page with no other result than seeing the same screen.

    This means my users can’t edit their profiles. In one instance they get a redirect error and in the other are stuck on the login screen.

    What is the problem, or what am I doing wrong?

    Setup
    TML
    Paid Memberships Pro
    Hide Admin Bar From Non-admins
    W3 Total Cache
    …and more less relevant ones.

    I tried
    I tried to disable the above plugins one by one but with no result.

    Thank you

    https://wordpress.org/plugins/paid-memberships-pro/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you set the TML / Redirection so that when they log in they are redirected to the right page..
    I personally have http://domain.com/membership-levels/
    and on log out I have
    http://domain.com/

    these could be set for all user levels except you as Admin.
    Admin Log in is Default and Log out can be domain.com

    Thread Starter Emil Villumsen

    (@emil-villumsen)

    Hey,
    Yeah, logging in is redirected to http://domain.com/dashboard and logging out to http://domain.com/. That’s working fine.

    The problem arises in the “edit profile” and “reset password” under membership accounts. The login page they lead to, if themed profiles is activated, isn’t the same as my standard login page and upon logging in simply refreshes.

    Thread Starter Emil Villumsen

    (@emil-villumsen)

    Solved it:

    Replaced the Your Profile page shortcode with

    [theme-my-login default_action=”profile” profile_template=”profile-form.php”]

    Both “Edit profile” and “Reset password” links work now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit profile and change password’ is closed to new replies.