Topic-icon Facebook Avatar sync with EasySocial

Active Subscriptions:

None
10 years 7 months ago #55366 by imnlimited
When a new user registers with social media such as Facebook, their Avatar is brought over to the site, but it seems as if it has not been assigned since it does not show. The default system avatar remains published. Then if you go into 'change avatar' in ES, you notice that the Facebook avatar is actually there, so you select and save and then it works.

This has been happening for a while now, new users seem to all have the default avatar, not great.

Can you please advice how we can resolve this?
The topic has been locked.
Support Specialist
10 years 7 months ago #55372 by alzander
Can you let me know what version of EasySocial you're using? It could be a change in their system that we weren't aware of.

Also, any updates on the post below? We'd love to know if you got that issue resolved:
www.sourcecoast.com/forums/jfbconnect/jf...n-shared-to-facebook

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #55378 by imnlimited
Just got this comment from Mark at StackIdeas:

"You need to check this with Alex because if the registration is going through JFBConnect, their script should be setting the default avatar for the user. If it isn't, it means that their script isn't setting it."

Our version is 1.4.3 - the latest ES version.
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #55400 by imnlimited
Alex... Any update on this?
The topic has been locked.
Support Specialist
10 years 7 months ago #55406 by alzander
I haven't had a chance to look into this yet. It's on my to-do list and should have an answer back to you soon (hopefully tomorrow).

Also, can you let me know if this was working at one time for you and just stopped, or if it appears to have never been working? Obviously, we've tested this in the past, but it's possible that something broken in a newer release as noted above.

Thanks for your patience,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #55414 by imnlimited
It was working before.

Ddi you see the comments from Mark:

"You need to check this with Alex because if the registration is going through JFBConnect, their script should be setting the default avatar for the user. If it isn't, it means that their script isn't setting it."
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #55415 by imnlimited
Alex, just looked into it and indeed we had this once before in June. You then fixed it and it was all good until one of the recent updates.

See: Message - www.sourcecoast.com/forums/pms/message?msg_id=6613

"We are having an issue with the users Avatars not coming through on ES after they used JFBC to register with the social account, e.g. Facebook.

I have logged a ticket with StackIdeas and Mark has replied saying the following:

"Based on what I am seeing on the site, JFBConnect most likely did not insert the appropriate information in the avatars table of EasySocial. Hence, these avatars aren't appearing in EasySocial. It's best that you get in touch with Alex from Sourcecoast to take a look into this. When a user signs up with JFBConnect, the entire process are handled by JFBConnect." "


Can you please get back to me urgently on this as it has been causing issues with some of our users.


Thanks,


Andrew
The topic has been locked.
Support Specialist
10 years 7 months ago #55424 by alzander
Sorry for the delays. I just tested this on a clean Joomla install with EasySocial 1.4.4 and JFBConnect v6.4.2. I don't think the ES version matters (1.4.4 vs 1.4.3), but always worth upgrading.

I'm not sure what's different on your site.It's likely some conflict between multiple extensions (similar to your EasyBlog one previously) or a configuration setting difference between what we're trying and what you're using. We also haven't heard about this issue from any other users, of which there are many using both extensions, so we'll need to narrow things down.

For my testing, I have:
* Social Profiles - EasySocial enabled (of course)
* Always import, avatar import and cover photo import are all enabled in the JFBConnect -> Profiles area
* Enable Automatic Registration is set to 'Yes' in the JFBConnect -> Configuration area
* Registration Component is set to 'JFBConnect' (This really doesn't have any effect, since we're using Auto registration though)

With that setup, the avatar, cover and profile data I've setup comes in as expected into the new profile.

Can you let us know your settings and if cover photo or profile data are coming in? Also, if you can test with the settings I posted above (temporarily) to see if that works for you, it will help give a baseline and idea of where things are going wrong.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #55430 by imnlimited
Hi Alex,

Thanks for that... However, the EasyBlog one was not due to a conflict between multiple extensions, it was an issue in EasyBlog. See response below from SI:

"Thanks for pointing out the line of code. It seems like calling multiple times of JRoute::_() causing EasyBlog router failed to build the sef link at backend :( Anyway, we manage to fixed the issue :)

Attached the updated router.php, can you download this router.php and copy the file to folder 'JOOMLA/administrator/components/com_easyblog/includes/' and overwrite the existing 'router.php'. Remember to backup the original router.php file first before you overwrite with the updated version.

This file should fix your sef issue when autoposting to facebook from EasyBlog backend :)
The same fix will be added into next release of EasyBlog :)"

Anyway... as Mark suggested this:

"Based on what I am seeing on the site, JFBConnect most likely did not insert the appropriate information in the avatars table of EasySocial. Hence, these avatars aren't appearing in EasySocial. It's best that you get in touch with Alex from Sourcecoast to take a look into this. When a user signs up with JFBConnect, the entire process are handled by JFBConnect."

Did you check that?

Anyway, our settings:

* Social Profiles - EasySocial enabled (of course) - YES
* Always import, avatar import and cover photo import are all enabled in the JFBConnect -> Profiles area - OURS IS SET TO 'NO'
* Enable Automatic Registration is set to 'Yes' in the JFBConnect -> Configuration area - WAS SET TO 'NO', BUT NOW SET TO 'YES'
* Registration Component is set to 'JFBConnect' (This really doesn't have any effect, since we're using Auto registration though) - YES

All images are brought across, but is not active it still displays the default images.

Check this example:

www.opgroeigids.nl/community/profiel/1334-bergje26-gmail-com

and see JFBC screenshot - joxi.ru/wGrqWkgCy71X2z


Thanks,

Andrew
The topic has been locked.
Support Specialist
10 years 7 months ago #55433 by alzander

However, the EasyBlog one was not due to a conflict between multiple extensions,

The only time that bug occurred was when EasyBlog was installed *along* with EasySocial *and* the Social Profiles - EasySocial plugin was enabled. Not as straightforward as it seemed.

Did you check that?

Yes, we did. As mentioned, with the settings we tested, it all worked.

* Always import, avatar import and cover photo import are all enabled in the JFBConnect -> Profiles area - OURS IS SET TO 'NO'

If you have:
* Always Import set to 'No', then data (profile, avatar and cover) will only be imported on registration.. not on subsequent logins.
* Avatar Import set to 'No', the avatar shouldn't ever be imported
* Cover Photo Import set to 'No', the cover photo shouldn't ever be imported.
With all of those set to 'No' as you describe, the behavior on your site sounds near what I'd expect.

As for your image of the User Map area, we will *always* show the user's Facebook avatar there, regardless of your Social Profiles settings. We store the user's avatar link in the database so it can be shown there. Many sites don't have any profile extensions, so storing the avatar link is a good way for site owners to 'see' their users.

Please check how you have the profile import settings configured and let us know if enabling the "Import Avatar" setting fixes things for you.

Thanks,
Alex
The topic has been locked.