How to edit Email and Password

Support MB User Profile How to edit Email and PasswordResolved

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #12967
    Lisa TallyLisa Tally
    Participant

    I am trying to create a custom user profile/my account page. I'd like to include name, email, and password. I've figured out how to show and edit name, but I can't figure out how to show the email and password fields.

    Per the documentation, I've included the id "rwmb-user-info" in my shortcode id list but nothing is showing:

    [mb_user_profile_info id="my-account,rwmb-user-info" submit_button="Submit" confirmation="Your information has been successfully updated." label_submit="Update"]

    The id of "my-account" is a custom field set with first_name and last_name I've tried adding fields with id's of user_email and email but they aren't populating with the user email.

    How do I include password? How do I include email?

    Thanks

    #13127
    Lisa TallyLisa Tally
    Participant

    Any word on this? This issue is holding back the deployment of a feature on our website.

    #13133
    Anh TranAnh Tran
    Keymaster

    Hi Purdue, this is a bug in our AIO plugin. Are you using it?

    To fix this, please use the MB User Profile extension separately at the moment. We'll fix the AIO soon.

    #13135
    Lisa TallyLisa Tally
    Participant

    That worked! But how do I allow users to change their email as well?

    #13235
    pzapza
    Participant

    I'm also wondering if the user may edit their Email Address using the MB User Profile plugin?

    I tried putting an "email" field in the "default-fields" group but it doesn't update their profile.

    #13300
    Anh TranAnh Tran
    Keymaster

    Hi guys,

    To edit user email, simply create a meta box (or a new field in an existing meta box) with id user_email. And then include the meta box into the shortcode. Here is the code I used to test.

    #13309
    pzapza
    Participant

    Thanks. Using user_email seems to work for updating the address in the profile.

    But on the frontend, it is not pre-filled with the user's default email address until the user updates it using the mb_user_profile_info form.

    Can I make it auto-populate the user_email field with their account email address by default?

    Also in the backend "Edit users" page, the profile fields appear twice. If I change the (WordPress standard) email field, but not the MB field, they become out of sync. Is this expected, or should there be only 1 of each field?

    #13325
    Anh TranAnh Tran
    Keymaster

    Yes, it's possible to auto-fill the current user email. See the updated script.

    Regarding edit user profile in the back end, this technique is meant for use for editing user profile in the front end only.

    #13347
    Lisa TallyLisa Tally
    Participant

    Thanks! This is very helpful to know.

    #13732
    Infolu OfficialInfolu Official
    Participant

    Hello, I am looking at the script that allows to change the email of the account, originally in wordpress when changing an email in the back end, the user receives in the email a link to confirm this change, already in the script this does not happen. Is this behavior correct?

    how can I make the user at least need to confirm the password before changing the same email in facebook settings?

    #13746
    Anh TranAnh Tran
    Keymaster

    Hi Infolu, you just need to include the meta box with ID rwmb-user-info to the list of meta boxes in the shortcode, like this:

    [mb_user_profile_info id="your-meta-box-id,rwmb-user-info"]

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.