Topic-icon Issues switching from JS FB Connect to JFBConnect

Active Subscriptions:

None
12 years 3 months ago - 12 years 3 months ago #41122 by hardyman
I'm new to this forum, and this product. After reading many posts suggesting I install this plugin, I did. I'm now finding that a few users who were able to login to JomSocial via FB Connect are no longer able to do so under the new JFBConnect.

Tips and suggestions on how I can fix that?

I also noticed I have a SQL Error: SQL=SELECT COUNT(*) count FROM `xxxXX_jfbconnect_user_map` um WHERE um.provider LIKE '%facebook
Last edit: 12 years 3 months ago by hardyman.
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41123 by hardyman
I confirmed that as a new user, I am able to connect via Facebook. But It doesn't look like the previous FB users can.

On a side note, I connected my FB account to my admin profile, and not my user profile (I have two). Is there a way to reassign the user that Facebook logs into?
The topic has been locked.
Support Specialist
12 years 3 months ago #41128 by alzander
Hardyman,
Uggh.. I hate to say it, but you're running into 2 bugs in our current release. Both are pretty easy to fix and/or ignore, but I'll explain it all here:
SQL error - This is a silly bug with our filtering of providers in the Usermap area. If you logout of the admin area and back in again.. you should be able to go to the JFBConnect -> Usermap area without issue. It's only if you click the social network icons on the JFBConnect overview page or use the filter drop-down that that error will show. To fix now, there's a simple code change you can see here .

JomSocial users
First, if you haven't already, I'd recommend reading our JomSocial / JFBConnect integration guide .

Next, I'd make sure the "Automatically link users by email" setting is enabled in the JFBConnect configuration area. This will automatically make a connection between a user's Facebook and Joomla account if the Joomla account already exists on your site with the same email address as that user's Facebook account. This may be the case for your existing JomSocial users, so that when they login with Facebook (or Twitter, Google, LinkedIn), they're Joomla account will automatically be logged into with the same email address.

Finally, when you enable the Social Profiles - JomSocial plugin, there is a method to import any existing Facebook <-> JomSocial connections into JFBConnect. In Joomla 3.x though, there's a bug where the button to import those connections isn't properly shown. To find the hidden button, please:
* Go to the Usermap area of JFBConnect
* Hover your mouse over the space between the "Send Request" and "Delete" buttons. Your mouse cursor should change.
* Click there, and you'll see a popup warning you that you are about to import connections.
* Click Yes there and it should start importing them for you.

Both of the bugs for the Usermap area and connection importing will be fixed in the upcoming JFBConnect v6.0, due out in about a week.

I hope that helps, but should you need anything else, just let me know.

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

None
12 years 3 months ago #41132 by hardyman
Thanks Alex. That helped, and users are able to get in. I found my FB connection to the wrong user and removed it. I tried to login again, and it setup a new account instead of asking me if I was a previous user. Is this because of the email option?
The topic has been locked.
Support Specialist
12 years 3 months ago #41141 by alzander
Glad we could help get you going with that.

I tried to login again, and it setup a new account instead of asking me if I was a previous user. Is this because of the email option?

The Automatically Connect Users By Email setting will do the opposite of what you say.. if there is already a Joomla account with the same email as the user that's logging in with a social network, a new account will *not* be created. Instead, the existing Joomla account will be connected to the social network user logging in.

In your case, if a new user is automatically be created, it sounds like:
* The "Automatic Registration" ability of JFBConnect is created
* The user logging in has a different email address than any existing Joomla account.
Does that sound about right?

You may want to disable the automatic registration option of JFBConnect so that the user will be brought to a registration page where they can login to an existing account or register a new account.

Additionally, you can enable the Show Connect Account(s) buttons in the SCLogin module. Then, for users that are logged in, there will be links to each network the user hasn't already connected their account too.

I hope that helps get you going, but if you have any questions, just let me know.

Thanks,
Alex
The topic has been locked.