Topic-icon JFBConnect Jomsocial Point system

Active Subscriptions:

None
11 years 1 month ago #32550 by srisiv
Hi Alex,
My website has 2 registration/ login components. 1) JFBConnect 2) Standard Joomla Login (I'm using Improved AJAX Login module) for this.

Here is a bit of background about my backend config:
JFBConnect -
1) Automatic Registration enabled
2) Automatically link fb users by email - enabled
3) Skip joomla user activation - enabled
4) Auto login Facebook users - enabled
5) Logout joomla only - enabled
6) Integrate into joomla login - enabled

Here is the problem that I'm facing.
I'm using the same PC to test multiple accounts.
User 1 originally registers with the site using JFBConnect. Logs out of the site. He is still online in FB.
After a couple of switching between accounts, when User 2 (super admin), logs into the site using the Joomla login system (not JFB) keeping User 1's Facebook logged in, it seems that JFB is also trying to login at the same time. Suddenly, now my site is auto connecting User 2 with User 1's Facebook ID.

When I check the backend JFB - User Map, i can see that User 1 is no longer shown there, instead User 2 is shown. This seems very scary to me.

To confirm - User 1 and User 2 has different email ID's. User 1 is registered in my site using his Facebook. User 1's Facebook email ID is used as his master email in my site. Now it's all changed to user 2.
The topic has been locked.
Support Specialist
11 years 1 month ago #32569 by alzander

After a couple of switching between accounts,

This is the step that would be difficult for us to recreate or diagnose the issue for you. Can you document the exact methods you log out and log back in (which module, Joomla or Facebook login, etc)?

As for possible fixes, I'd suggest disabling the "Auto login Facebook users" setting. The cookie we set may be getting lost during the 'couple of switches' and logging the user back in. It's possible it's a valid 'linking', depending on the actual process you go through though. Again, it's difficult from the description you give.

I can say that JFBConnect is used on thousands of websites, and there are many that have tens-of-thousands of users. This isn't an issue that's been reported before, so I don't think it's a widespread or common issue. Of course, we'll still gladly look into it once we understand the sequence of events that's causing it.

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

None
11 years 1 month ago #32571 by srisiv
Hi Alex,
Thanks for the reply. I do not know exactly when the mix up happened. But from what I remember, I try to give you the login methods.

Admin account in frontend - Will always log in using the Joomla Login. This user's registered email address is for instance This email address is being protected from spambots. You need JavaScript enabled to view it.
User 1 - Registered via JFBconnect. Always logs into the site via JFBConnect. His registered email address is This email address is being protected from spambots. You need JavaScript enabled to view it.

My site will be locked/ offline very often due to the reason that we are building the site.

I don't use the SCLogin on my site. I use Improved AJAX Login module instead. Both Admin and User1 will use this to logout from the site.

So when Admin wants to login to the frontend, he has to bypass the offline mode, provide the credentials (Joomla default offline mode parameters) to get to the frontend.

All these while, the Facebook auto login was enabled.

So after the offline mode bypass, one fine day I realized that the JFBConnect is now logging in the Admin instead of User1. When I check the backend of JFBconnect, User Map, I can now see the admin's email This email address is being protected from spambots. You need JavaScript enabled to view it. is connected (who doesn't have a facebook account with that This email address is being protected from spambots. You need JavaScript enabled to view it. email address) and connects him using [email protected]'s facebook account.

I hope the above method give you some light to figure out what might have gone wrong.
The topic has been locked.
Support Specialist
11 years 3 weeks ago #32756 by alzander
Sriram,
Very sorry for the delay in getting back to this.

First off, if you're using Improved Ajax login, please make sure you are not using their Facebook integration. It will interfere with our Facebook integration and cause problems. If you're looking for an AJAX-y/prettier login module, I'd recommend checking out our new SCLogin (beta) module. You can read more about that in the our Enhanced Login Module for Joomla blog post.

As for the Offline mode login, that could very easily be the problem. There's some differences in the Offline mode login that could cause JFBConnect to think that use is trying to 'connect' the account their logging in with to the Facebook cookie that's stored in their browser. That would only happen on the same PC and with Offline mode, and even then, it's not common.

That's my best guess. Unfortunately, I'd have to say just un-map the accounts and see if you can determine the exact time a re-mapping happens, if at all. It's also best to test when not using Offline mode as that's not a 'real world' test.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 weeks ago #32767 by srisiv
Hi Alex,
Thanks for the reply. I'm not facing that problem for a while now. I have disabled the auto login feature for now. I'm still working on the site and site will be online and offline for testing purpose. I will feedback to you if I face similar problem when site is online and do real working scenario.
The topic has been locked.
Support Specialist
11 years 3 weeks ago #32778 by alzander
Ok. Glad to hear it's not a continuous issue. If you do run into it again, definitely let us know.

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

None
11 years 1 day ago #33226 by renasrenas
Hi Alex,

Do you have changed the file for Jomsocial point system? Could you please tell me how to do it?

Tks,

Renas
The topic has been locked.