Skip Navigation

[Closed] Saving a user avatar

This support ticket is created 2 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 2 years ago.

Assisted by: Minesh.

Author
Posts
#2472099

Ian

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.

#2473267

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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?

In addition to that, I would like to have debug information that will help us to debug and investigate your issue:
- https://toolset.com/faq/provide-debug-information-faster-support/

#2480165

Ian

Yes I want to copy the image URL you saved to custom field "wpcf-vendor-profile-image" to another field "wpefm_user_avatar" on form submit?

wpefm_user_avatar is a Toolset created user custom field.

The profile will be approved using Toolset form.

#2480507

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.