• Resolved Soprano

    (@soprano)


    Hello,

    I currently run a membership site via Woocommerce Memberships and the users don’t have backend account access.

    Many are requesting the ability to set their own local avatars (as I don’t allow Gravatars from loading on the site).

    This is a feature I miss from WP User Profile Avatar. Is it possible to allow somehow user roles of ‘customers’ to upload avatars from their My Account page using this plugin?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author pepe

    (@pputzer)

    Hi @soprano, this should already work fine when your users have the upload_files capability.

    (I’ll have a look at adding a custom capability for more fine-grained control in one of the next versions.)

    • This reply was modified 1 year, 7 months ago by pepe.
    Thread Starter Soprano

    (@soprano)

    Thanks @pputzer . My customer user roles do have upload_files as a capability. And my Woocommerce Memebership has custom ‘Profile Fields’ I can use, one of them being the ability to allow members to upload files.

    But I’m just not sure how I can allow users from the front end to upload local avatars to their profiles, as the customers/members don’t have any backend access (or the toolbar) to the wp-admin or wp-login pages where all the settings relating to this plugin can be found.

    How would I map frontend uploaded files to be set as the default avatar for users who choose this option?

    Plugin Author pepe

    (@pputzer)

    Hi @soprano, there is an [avatar-privacy-form] shortcode or an equivalent avatar-privacy/form block to integrate frontend uploads in your site. The frontend form allows a user with upload_files to change their own profile image. (It’s intended to be used in a custom page of some sort, so the submit actions are automatically covered.)

    What plugins are you using specifically? If they are free and commonly, I might add an automatic integration for them in the future.

    • This reply was modified 1 year, 7 months ago by pepe.
    Thread Starter Soprano

    (@soprano)

    Hey @pputzer . I wasn’t aware of the shortcode to upload avatars from the front end, that’s something that’ll help with the setup of this avatar for premium members.

    At the moment my membership is setup via Woocommerce Subscriptions + Woocommerce Memberships but both are paid plugins.

    It might be an idea for a paid version of this plugin if you ever consider one, to integrate with some of those premium plugins that allow image uploads but don’t have an option to map it as a local avatar. E.G; Woo Memberships, WPForms, etc..

    Anyways thanks for the help, I think this shortcode implementation along with some snippet that can add it to one of the Woocommerce My Account tab pages will do the job for now :).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Frontend uploading avatars’ is closed to new replies.