Topic-icon Google+ Login Profile Picture is not working

Active Subscriptions:

None
10 years 1 month ago #42369 by y021ahe
Hi - I have restarted looking at the use of Google+ with my website. I am using the new version of JFBConnect 6.0.3, but I still can't get it to work.
I am not using the sclogin module - instead, I am using a customhtml module published to the kunena_profilebox. The custom module contains the JFBCLogin keyword.
When I login with Google+ to a user that is already registered and has a profile loaded, from either Kunena or Facebook, then it doesn't show the avatar.

I had previously asked this as part of forum post, Previous Form Post , but had to stop looking at this at the time.

I am now trying to get it working again

Are you able to offer any advice, what settings I should set?

Rich
The topic has been locked.
Support Specialist
10 years 1 month ago #42405 by alzander
Thanks for linking to that previous thread. It helped refresh my mind and get me caught up a lot quicker.

My last post in that thread is still relevant. Before that, you had said:

When you are developing the fixes for Google+, can you be aware it seems to be copying the google+ profile picture on top of the Kunena picture in the Kunena User Manager rather than the other way round.

This I believe is an issue and should not happen - it means that even when the User map is removed, it still doesn't default back to the Joomla picture as its overridden.

The SCLogin module can be configured to show the user's Kunena profile picture. That picture can be either the one they've set manually when they login or, if you have JFBConnect configured to import the image, it will come from the social network they've logged in with.

If you are importing the social network avatar it *will* replace whatever avatar is set in Kunena. If you disable the "Always Import Profile" setting in JFBConnect -> Profiles area, then the avatar will only be imported during registration. After that, the user can update their avatar as they wish and it won't be overridden by JFBConnect when they login next.

As for if you (the admin) deletes their mapping to a social network, JFBConnect will not delete their avatar from Kunena. We wouldn't have any way to do that and we wouldn't even have a way to know if the avatar that's in there is from the social network or one they later updated on their own. We simply hand Kunena an avatar and say "Use this". Afterwards, we have no way to know if the avatar has been changed or if it's the same one we originally set that user up with.

I hope that helps explain, but should you have any questions, just let me know!

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

None
10 years 1 month ago #42415 by y021ahe
Alex,
I am really confused. I disabled the Import Data as you suggested and it made no difference, but I think that may have been because the Kunena User manager is showing the profile avatar as the blue (no image) google+ default image.
I am confused because the Kunena Profile is showing a correct picture, but when I log in it shows as the google+ default image. - see image

File Attachment:


The JFBConnect User Map for Facebook, shows a correct picture as well.
The Profile section has three tabs, Kunena, Joomla and CustomDB - which should have import data set to No?

Rich
The topic has been locked.
Support Specialist
10 years 1 month ago #42421 by alzander
I'm confused a bit too then... Can you let me know what version of Kunena you're using?

As for the issue, can I re-state it all again to make sure I'm understanding things:
* For now, disable the Social Profiles - Joomla and Custom DB plugins. Only have the Social Profiles - Kunena plugin enabled
* In JFBConnect -> Profiles -> Kunena, enable the "Import Avatar" setting. It doesn't matter what the "Always Import Profile Data" setting is, for now
* If you register a new user through Google, is the avatar imported into Kunena?
* In the SCLogin module, if you have the "Registration Component" set to "Kunena", is the avatar still showing the empty blue avatar?

Let me know if the above is a correct summation of your settings and what's happening. That will help us setup a similar test to see what's going on.

I'm not sure if it's a bug or a mis-communication as to the issue. Your picture shows a lot though, but it's different than the behavior I was expecting, so we'll just need to understand things more.

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

None
10 years 4 weeks ago #42489 by y021ahe
Alex,
I am using Kunena version 3.0.5

I am afraid that I tried everything that you suggested to no avail.

I have private messaged you a URL, Login and Password to access the site as an administrator to review my settings to try to ascertain what is going wrong.

Please let me know what you have found, so that I will know how to replicate it in other regions?

Thanks Rich
The topic has been locked.
Support Specialist
10 years 4 weeks ago #42589 by alzander
Sorry for the delayed response. I just tried to test on your dev site. I wasn't able to login with Google at all. I'm not sure why.. it could have been an application setup issue where the Redirect URI isn't set correctly or a general communications issue. I couldn't debug much further because the user you created for me doesn't have permissions to edit the JFBConnect settings. Without that, I couldn't enable debugging or verify some of your settings.

Can you upgrade my user or lower the permissions required to configure JFBConnect?

One thing I did notice was that the older JFBCProfiles - Kunena plugin was still enabled. That's no longer used and has been replaced with the Social Profiles - Kunena plugin. I disabled the JFBCProfiles one and it should really be uninstalled. I don't expect that to change the behavior, but it's worth noting.

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

None
10 years 4 weeks ago #42591 by y021ahe
Alex
I have updated your access to super user
Rich
The topic has been locked.
Support Specialist
10 years 3 weeks ago #42696 by alzander
Thanks for updating the credentials. I just had a chance to look again at the site. This time, I tried to register with Google and I had no problem doing so. I was immediately logged in after I registered my account. Below is an image of what I see. Both pictures are filled in and both are being taken from the Kunena avatars directory:
File Attachment:

Both of those images are:
/FGATEST/media/kunena/avatars/resized/size90/users/avatar465.jpg

With that, things seem right to me. I'm not sure why the avatar isn't loading right for you in the SCLogin module. I looked at all the settings and they are configured properly. The SCLogin module is specifically configured to show the "Joomla" avatar, which in this case, would be from Kunena. So, I wouldn't expect to see the blank Google avatar ata ll. I'm not sure why you are seeing that.

If you are still seeing the issue, of course, let us know. Also, please test from other accounts that you haven't tried before to see if the issue persists or is just focused on one account.

Finally, and unrelated, the registration form on your site has lots of fields on it. There are 2 groups of fields, one from Kunena and the other from the User - Profile plugin. If you want all of those field to show, that's fine. If you're not using the extra profile fields from the User - Profile plugin, you may want to consider disabling that.

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

None
10 years 1 week ago - 10 years 1 week ago #43079 by y021ahe
Alex, I have also installed 6.0.4. but I am still getting the same problem.
One point to note is that my google profile does not have a picture added to it, so it starts from a blank point - not sure if yours did the same.

The actions i followed were

i) Deleted entry from JFBConnect 6.0.4 User map
ii) Deleted AVATAR from Kunena 3.0.5 User manager
iii) Logged in with Google+ into SCLogin (4.0.4)
iv) Checked website - blank profile avatar shown

** Note if you look at the User map now, it looks like that is broken for Google+ - the facebook registered pictures are present properly.

File Attachment:


--

Note : The Profile picture in Kuena is now missing as well, which it wasnt originally - so we are going backwards.. see below.

File Attachment:


Rich
Last edit: 10 years 1 week ago by y021ahe.
The topic has been locked.
Support Specialist
10 years 1 week ago #43126 by alzander
I just re-read your first post. For the he Kunena section that you're showing the avatar in, are you just using the {JFBCLogin} tag there? If so, that tag has no method to show the user's avatar when they are logged in. I didn't realize you were using the tag there and not the actual SCLogin module. The profilebox module position *only* shows when the user is logged out (I believe) so that tag wouldn't have any effect when the user is logged in.

What that means is that the avatar that your showing in your first picture (up higher) is coming from Kunena itself, and not JFBConnect/SCLogin.

With all that said, my guess now as to what's going on, along with your information that the avatar isn't set in Google+ is that JFBConnect is, for some reason, overwriting your Kunena avatar with the blank Google+ avatar. That is obviously incorrect behavior. The 'big' image (which is populated in your first post but missing in your last) is likely being cached somewhere.. so although Kunena has had the picture unset by JFBConnect, the 'old' picture is still showing.

Again, things are looking right to me.. but my picture was comparing to the SCLogin module in your sidebar.. not the profile box area in Kunena.

Is it possible to test with a Google+ profile that has a real image and see if that properly updates your Kunena profile image? That would help narrow things down a lot more.

Thanks,
Alex
The topic has been locked.