× Joomla Facebook Connect support forum

Topic-icon JFBConnect not working properly for me

Active Subscriptions:

None
15 years 1 month ago #486 by swedeboy
Has anyone got the Facebook Connect working properly?

I'm trying to get it working together with JomSocial.

When I'm testing it on my website I got the message unable to save the user.

Another question I have is which code do I have to remove to only show

Login using Facebook and the [img]http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_large_short.gif?8:121776http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_large_short.gif?8:121776[/img]

I don't want to use the login box and Register for this site link.

Hope someone can help me.

Thanks in advance.

Anders
The topic has been locked.
Support Specialist
15 years 1 month ago #493 by alzander
Can you post the exact error your seeing here? It's tough to track down the issue because there are many reasons why the user might not be able to be saved.

As for removing everything else in the login module.

In the file: /modules/mod_jfbclogin/tmpl/default.php
You can remove lines 39-56 (The whole Form is for logging into Joomla). That should cover most of what you're looking for, and get you started on further mods.
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #551 by jdundon
Hi,

I had it set up correctly and working fine the other day on rugbyUNITED.com . Now, it doesn't work. No facebook popup opens when i click the connect button, and it refreshes the page with an error message in the standard joomla message location saying "unable to save user".

Please help!

Thanks,

Jesse
The topic has been locked.
Support Specialist
15 years 3 weeks ago #564 by alzander
The new version (2.0.1) has a better error message for this problem. The most likely cause (tell us if this isn't your case), is that you've removed either the {rnd} or {fbuid} from the username generation. If two users with similar names try to log into your site, without that random string, the 2nd user won't be able to create an account since the username will already be taken (i.e: 'john.smith').

We are working on an implementation that will let the user select a username upon signing up using their Facebook account, but it's going to take some time before we have anything available for release.
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #566 by jdundon
I think that that wasn't the problem. I had been messing with my facebook application experimenting with the canvas page function. I started over, swapped the api and secret keys in the component, and it worked again.

BTW, what happens when you change the application? Do your users have to merge accounts again?

Thanks
The topic has been locked.
Support Specialist
15 years 3 weeks ago #569 by alzander
Never tried, but I wouldn't expect they would. If they click the "FB Login" button, when FB shows the login box, that will approve them for the 'new' application. The JFBConnect side will just use any previous mapping that has already been stored.

So, it should work. But please test first!
The topic has been locked.