Skip to main content

No default WP User Avatars?

Hi Shahjahan Jewel , maybe i'm just not seeing this, but if I add Fluent Community Pro to existing membership websites where they have previously stored their avatar - which is super common feature with practically all membership based websites, it does not appear in Fluent Community.

It seems to default to using Gravatar images. Outside of the WP community, nobody uses Gravatar. Is there a hook or some way we can just inherit the stored avatar image that each user has stored? I noticed it was the same with FluentCRM. Also if you add an avatar to fluentCRM it does not appear on FluentCommunity.

This is a show stopper for me and its a basic feature for community plugins in WP. I have websites spanning many thousands of users in professional associations. I can't ask them to upload their headshots again. Is there a workaround for this?

Shahjahan Jewel

We use the `get_avatar_url` function, a default WordPress function, and all the plugins should hook into it.

Tony Baker

Shahjahan Jewel It looks like they don't. Also, if we add a avatar to Fluent Community it does not update the user profile or FluentCRM.

Shahjahan Jewel

Tony Baker We will sync it from the next version.

Tony Baker

Shahjahan Jewel Thank you. I'm keen to roll this out and the bio seems to update perfectly fine, but the avatar is the real win as it personalises the experience visually for existing users and keeps things consistent👍

Shahjahan Jewel

Tony Baker By the way, currently when you update your photo / names on the community it will automatically sync with your FluentCRM.
We will make it 2 way sync in the coming versions.

Shahjahan Jewel

Tony Baker The problem is that WordPress core does not have a custom avatar field. I wish they would have. All the custom avatar plugins use different different meta keys :(

Fit Lehrer

Shahjahan Jewel could you please tell how to sync it?

Thomas Fischer

+10

Tony Baker

Great, thanks. Will it also then sync with the local WP user avatar for each user? For example, if the user has previously stored a local avatar it will appear in Fluent Community?

Tony Baker

Fair point. They seem to do it all in a different way which is problematic. Is it possible to just add a option in the admin panel for the admin to add their custom meta key for the user avatar?

That should allow the admin to then adapt the Fluent Community avatar to whatever local avatar or membership plugin they use. The onus is then on the admin to get the correct user meta key from the plugin provider. It could maybe be under advanced settings, if they enter nothing it just defaults to the standard avatar config?

Here is a list of popular WordPress plugins that manage local avatars and their corresponding meta keys. I think this could potentially fix the issue in most cases:

Plugin Meta Key Description
Simple Local Avatars _wp_user_avatar Stores the URL or attachment ID of the avatar.
WP User Avatar (ProfilePress) wp_user_avatar Stores the attachment ID or direct URL.
Custom User Avatar user_avatar Stores the URL of the avatar.
ARMember avatar Stores the URL of the custom avatar.
Ultimate Member um_avatar Stores the URL or file path of the avatar.
PeepSo peepso_avatar Stores the URL of the avatar.
Profile Builder Pro profile_avatar Stores the URL of the avatar.
UsersWP userswp_avatar Stores the URL of the avatar.

#

Tony Baker

This would also work ACF, Metabox and JetEngine where we can add our own custom meta key for user avatars 👍

Ceez Vision

Has this been resolved yet?

Tom Palmer

This is a problem. It looks unprofessional. I wish the fluentcart account holder could at least upload a new icon pic.