Topic-icon Import avatar suggestion

Active Subscriptions:

None
7 years 7 months ago #59276 by ruizmusic
Hi Alex,
I can see that, if JFBC has Import avatar set to Yes, users coming from google usually gmail user who do not have any avatar on google account, when they authenticate in the site, and later add an avatar manually to jomsocial profile, the next time the user logged in the site using google, the avatar get deleted, and as the user has not any avatar on google acount, so the jomsocial profile remain without avatar, so this is a little boring make the user every time logged to add new avatar.
My suggestion: would be great if, in the authentication process jfcb ask: if the avatar is present in jomsocial and if not avatar in social account facebook, google twitter etc, do not change avatar, something like that.
i hope that can be a good suggestion, as on my site i set up user to have avatar mandatory or can do nothing, so user coming from social network has this issue.

Best Regards

Romulo Ruiz
The topic has been locked.
Support Specialist
7 years 7 months ago #59288 by alzander
Replied by alzander on topic Import avatar suggestion
That sounds like a bug in JFBConnect. We *do* have code to check if the avatar returned from Google is their default image.

Google doesn't tell us directly if the avatar is the default or a real image, so we have to do some guesswork on it. That means if they change the default image, our code can break. My guess is that Google changed their default and we just need to update our code to fix our check. I've added this to our to-do list and it should be in the next release.

Thanks!
Alex
The topic has been locked.