edit profile
Support › MB User Profile › edit profileResolved
- This topic has 11 replies, 4 voices, and was last updated 6 years, 9 months ago by
Lisa Tally.
-
AuthorPosts
-
May 30, 2018 at 2:34 PM #9891
ingegnimultimediali
Participant#1 bug
using the mb_user_profile_info shortcode it view an empty register form, without filling fields.#2 request
is it possible to pass an user id to edit a specify user account information by mb_user_profile_info?May 31, 2018 at 5:15 PM #9937Anh Tran
KeymasterHi,
#1: Did you include the ID of the meta box?
#2: Yes, the shortcode
mb_user_profile_infohas an attributeidfor user ID. Please just use it.June 1, 2018 at 10:05 AM #9960ingegnimultimediali
Participant#2 the correct attribute is user_id
however the meta box is correctly populate, but email and passwords fields are empty.
If I insert new values for email and password in these empty fields the values are not savedJune 5, 2018 at 9:58 PM #10060Anh Tran
KeymasterHi, is the email/password issue resolved by your code in this topic?
June 5, 2018 at 10:06 PM #10062ingegnimultimediali
Participantno, in edit form all fields of meta box are filled, but email and password are empty
June 6, 2018 at 4:28 PM #10078Anh Tran
KeymasterAh, I got it. Email and password are required to manually entered to update profile info. Perhaps only password is required, email should be auto filled. What do you think?
June 6, 2018 at 9:15 PM #10084ingegnimultimediali
ParticipantEmail field is empty.
but if I want only to edit a single meta box field, why I must insert my password?https://www.dropbox.com/s/nfvw9ykq5an1jv1/edit.png
If I insert an email that was already used by other user, no error message was displayed or returned
June 11, 2018 at 6:14 AM #10141davidrknowles
ParticipantHow are you guys travelling with this?
I am at this same junction if its possible to have a password to confirm the submission of changed user details. It would also be handy to append the form first rather than after the authenticated field.
June 11, 2018 at 4:31 PM #10150Anh Tran
KeymasterI haven't done it yet. The current password field is used for updating, which is weird. I'll remove the email and password first. Maybe adding a password confirm is good idea.
June 11, 2018 at 5:45 PM #10154Anh Tran
KeymasterUpdate: I've just released version 1.0.3 which doesn't show email and password fields for user profile form. If you want to include these fields, you can include a meta box id
rwmb-user-infoin the shortcode (you can change the position of the form to the bottom by putting this ID as the last one).Let me know what you think.
Anh
June 12, 2018 at 8:25 AM #10166davidrknowles
ParticipantThat works perfectly. also just realised you can also pull the other standard user meta in by using their keys (first_name or last_name).
Is it possible to use a MB helper function to retrieve data fields from the user table, like if one wanted to change s password or email in the user profile?
January 17, 2019 at 2:14 AM #13037Lisa Tally
Participantrwmb-user-infois not working for me. I get the message "No forms". Am I doing something wrong? My code:[mb_user_profile_info id="rwmb-user-info"] -
AuthorPosts
- You must be logged in to reply to this topic.