Support Forum
Support › MB User Profile › edit profileResolved
#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?
Hi,
#1: Did you include the ID of the meta box?
#2: Yes, the shortcode mb_user_profile_info
has an attribute id
for user ID. Please just use it.
#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 saved
Hi, is the email/password issue resolved by your code in this topic?
no, in edit form all fields of meta box are filled, but email and password are empty
Ah, 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?
Email 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
How 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.
I 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.
Update: 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-info
in 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
That 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?
rwmb-user-info
is 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"]