• Hello,

    We’re using Paid Memberships Pro on a client’s site, the issue we’re having is this:

    When a member goes to their profile page and attempt to change their email address, the page reloads like its saving the info, but it does not retain the change. It reverts back to the original email address on reload. This issue happens on the front end, but it does not happen on the back-end.

    The Paid Memberships Pro developers looked at the problem and have determined it’s likely an issue with Theme My Login.

    You can follow the support ticket here:

    https://www.paidmembershipspro.com/forums/topic/members-cant-change-their-email-address/

    Any help on this would be greatly appreciated.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Which TML version?

    Thread Starter marklavin

    (@marklavin)

    6.4.16.

    Just an FYI, just ran an update of Theme My Login from version 6.4.16 to version 7.0.7 in attempting to fix and it breaks connection to Paid Memberships Pro profile page fields entirely. Now on loading the Profile page I only see Username and Password and none of the other fields. I’m going to post this on their side of the forum, but it might be worth noting here and warning folks.

    Not sure how to put screenshots up here to demonstrate but basically prior to update on the client’s site, there was a Personal Options section, plus several additional including custom fields I created through PMP’s custom registration fields helper addon. Now all I see is Username and Password.

    Thread Starter marklavin

    (@marklavin)

    Hmmm. Reverted TML back to 6.4.16 and still now only seeing the login page. It may be some other configuration issue. We did have the PMP devs poking around on this site, maybe they changed something…? So, back to my first post.

    Thread Starter marklavin

    (@marklavin)

    Or…? I’m not sure. Reverted the site to a backup point before I updated TML to 7.0.7 and then reverted it back. Now the Profile page is working properly. Kinda maddening. Thanks for your help.

    Thread Starter marklavin

    (@marklavin)

    ARGH… Let me clarify since these last posts might be confusing.

    First post is as it is now. We’re back to where I started before updating to version 7.0.7. The process was:

    – Emails weren’t (and aren’t) updating after PMP form is updated. That was with version 6.4.16.
    – Then updated to 7.0.7. See only the login page on the PMP profile page. (Also noted that the TML settings in the WP Admin side menu disappeared.).
    – Then reverted the plugin via FTP to version 6.4.16. Still saw only login page and no TML settings in the WP Admin side menu.
    – Finally restored the backup point prior to my messing around. Now once again PMP Profile page shows with correct fields, TML option is there in the Admin menu, and email is once again not being updated on form save.

    Okay, hope that clarifies.

    Now (Whew) let’s see if you can help.

    Hey Jeff,

    Just to clarify things here. The email address is not updating on the profile page within TML. No errors thrown on the front-end either.

    Just thought I’d add this in and follow this thread.

    Just to update this thread, @jfarthing84 & @marklavin. Users are able to change their email address but need to confirm the email address change by confirming this change sent to the user’s email address which is a core WordPress function (which only affects users with certain user roles if I remember correctly.)

    I would suggest in adding in a notice when this occurs on the profile page as it’s assumed to be an error and not working as intended.

    I hope this helps clears things up for anyone experiencing this as well.

    • This reply was modified 6 years, 8 months ago by Andrew Lima.
    Plugin Author Jeff Farthing

    (@jfarthing84)

    I think @andrewza is correct – TML doesn’t account for the fact that the email address change needs to be confirmed. Though from a user security standpoint, this is probably ill-advised, you can disable this confirmation, if you wish:

    
    add_filter( 'send_email_change_email', '__return_false' );
    
    Thread Starter marklavin

    (@marklavin)

    Ok, interesting wrinkle on this. How hard would it be @jfarthing84 to account for the need for confirmation into the next TML release? That could be quite helpful to anyone facing this issue would and eliminate the security risk. For the moment I’ll throw the above snippet into our client’s dev site functions file and see how it rolls. I’ll be back in a minute with update on how things are working.

    Thread Starter marklavin

    (@marklavin)

    Just ran a test with the code snipped added to the active theme’s functions.php file. The behavior is the same. On refresh, the banner says “profile changed” but email is unchanged. Notably:

    I am able to change other fields in the form and save them. Thanks.
    With the site running in DEBUG mode I am seeing no new errors.

    Thread Starter marklavin

    (@marklavin)

    Ok, hold the phone…. I just got the WordPress “change email” message in my inbox (and apparently had gotten one yesterday as well when I was working on this problem).

    However we’ve still got a problem: the link in the WP email takes me to the PMP profile page, which then shows me the old email in the email field. I change it, get the email… a loop.

    Looking for settings in TML, PMP or WP generally for how to change where the link in that email might go has turned up empty.

    Also it seems that I get the confirmation email whether the code snippet is active or not.

    So I’m guessing that the solution to this might involve:

    1) User changes email on form. We have a disclaimer giving them instructions.
    2) User checks email, which takes them to wherever they can reset their email (maybe creating an exception to PMP redirection/restoring WP default behavior in this one instance)
    3) User successfully changes email and then gets taken back to the profile page.

    Now, how to do that…

    Thanks.

    Thread Starter marklavin

    (@marklavin)

    Further update on this. We’ve identified the issue as definitely with TML. We swapped temporarily to the YIKES Custom Login plugin, and changed the user email no problem, though TML is the plugin we need.

    I also thought that it might have something to do with a theme conflict. We’re running a child theme of a legacy version of the MemberLite theme by Stranger Studios. I reverted the theme to Twenty Fifteen and the behaviors remain the same:

    1) User cannot update email on the PMPro profile page: The confirmation of change email goes out but the link in that email takes the user back to the profile page, where the old email shows, trying to change it again generates the email… loop-de-doop.
    2) On update to TML 7.0.7 the PMPro profile page gets entirely replaced by a login page.

    Some relief to know it’s not a theme issue.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    @marklavin I was unaware PMPro has a profile page. My install takes me to the WordPress profile page…

    Plugin Author Jeff Farthing

    (@jfarthing84)

    As far as TML is concerned, emails should be able to be changed regardless, as the function WP uses to override the email change and require it to be confirmed is not called.

    Yea I think it’s only if an admin changed their email that needs to be confirmed.

    Paid Memberships Pro has a Member Directory and Profile Add On but this is read only version to display members from specific membership levels and show their data to other users.

    You cannot edit your own data on the Paid Memberships Pro profile (there’s no options to update user data in this Add On), it’s simply for reference use only.

    Hope this clears things up

    • This reply was modified 6 years, 7 months ago by Andrew Lima.
Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Site Members Can’t Change Their Email Address’ is closed to new replies.