I am working on a large site that uses a custom post type to create a vendor profile page.
I am using a custom post type because the site manager needs to be able to approve content before it is added to the site. I am using toolset forms to do this. When a user updates their profile photos their post status is changed to pending approval.
It would be highly advantageous if I was able to use one of there profile pictures as a user field.
Is there a way that when a vendors profile changes are approved via toolset form to:
take the image saved in the field post field wpcf-vendor-profile-image and save its vale to the user field wpefm_user_avatar?
This is the only way I can think of to make sure user profile pictures are approved, and then I can use it in an author box.
Hello. Thank you for contacting the Toolset support.
Do you mean that you want to copy the image URL you saved to custom field "wpcf-vendor-profile-image" to another field "wpefm_user_avatar" on form submit?
Are you going to approve the profile using Toolset form or from backend?
Can you please tell me how the field "wpefm_user_avatar" stores the value in database?
But how to link or identify which custom post type post's "vendor-profile-image" field value we will have to fetch.
Can you please share problem URL and admin access details so that I can review your current setup and check what could be the possible solution. Please share the whole workflow and information about what field value of what post "vendor-profile-image" we need to fetch.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] Saving a user avatar’ is closed to new replies.