× Joomla Facebook Connect support forum

Topic-icon Login button doesn't work

Active Subscriptions:

None
15 years 1 month ago #9763 by fb_634620974
Hey all, I'm working on installing JFB for my company and for the life of me I cannot get the dang thing to work.

I have JFB on my own partition of the site and have followed the installation guide and everything to a tee. I'm trying to integrate it with community builder... I don't know if that makes a difference but that's why I'm here asking. I have the facebook API point correctly and everything.

url: derick.momskidsbooks.com/index.php?optio...t&view=article&id=51

Any ideas?

Thank you
The topic has been locked.
Support Specialist
15 years 1 month ago #9766 by alzander
Replied by alzander on topic Login button doesn't work
Derick,
Not sure immediately what's going wrong, but we can help you investigate further. Do you, or your company, have an active support subscription for JFBConnect? If so, can you tell me the account its registered under and/or post from that account. Priority support is for active subscribers.

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

None
15 years 1 month ago #9770 by ChadMcAllister
Hey Alex,

Its Derick, here is the account we have an active support subscription for.
The topic has been locked.
Support Specialist
15 years 1 month ago #9772 by alzander
Replied by alzander on topic Login button doesn't work
Derick,
Thanks for letting us know. At first, when I looked at your page, I didn't see anything out of the ordinary, but I just looked again and think I see what may be the problem. The Like button you're using is re-including the Facebook Javascript API. If you search the HTML, you'll see both inclusions. Please do one of the following, which may solve the issue.. but either way, get you closer toward a working result:
1) Wherever/however you're including the Like button currently, simply remove the script tag that includes the all.js file from Facebook. JFBConnect already includes this file, so it's not necessary to do it again.
2) Completely remove the Like button your currently using, and use our JFBCLike module or the tag {JFBCLike url=www.momskidsbooks.com show_faces=true width=60}, which is configured just like your current Like button.

Hope this helps, but if not, let us know and we'll deep-dive even further. Good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9774 by ChadMcAllister
So I tried both of those.
1.) That is the current state of the site. it removed the like button and disabled the JFBConnect button.
2.) Tried this and I wasn't able to add the code: {JFBCLike url=www.momskidsbooks.com show_faces=true width=60} to the index.php file.

The top nav bar is where we are trying to stick the like button and that is in the index.php file.

I also tried to disable the like button completely and that did the same thing as just removing the script that includes the all.js file.

Here is the link again: derick.momskidsbooks.com/index.php?optio...t&view=article&id=51
The topic has been locked.
Support Specialist
15 years 1 month ago #9775 by alzander
Replied by alzander on topic Login button doesn't work
You don't look to have the JFBCSystem plugin published anymore. I'm pretty sure it was enabled before, but now the things that it inserts into the page are missing. Can you check that it's properly published? While you're there, I'd check to make sure the JFBC Authentication and User plugins are enabled as well.

Hope this helps, but if not, let us know!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9778 by ChadMcAllister
Hey Alex,

Still not working. Everything is published and enabled. When I re-include the all.js link everything reappears. I have it commented out again.
The topic has been locked.
Support Specialist
15 years 1 month ago #9779 by alzander
Replied by alzander on topic Login button doesn't work
Now it looks to be working. I see the code that our System plugin should be inserting and the all.js file from the other Like button is properly commented out. With it setup like this, I just clicked on the Login With Facebook button and successfully created an account (sourcecoast).

You may want to clear your cache or something, but all seems right to me. I was using Chrome. If it's not working for you still, let us know what's happening and what browser you're using.
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9780 by ChadMcAllister
Yeah now its working, I added a couple more plugins and it started working. I'm have 3 other people besides you trying to login and it has done something different for everyone.

It sends me to the default login page, and doesn't show me as logged in. (firefox 3)
person #2 it pops ups gives his browser 2 errors and then links correctly. can login and logout correctly. (firefox 4)
3rd person nothing happened (firefox 3)

I don't know what happened to you but it sounds like it affects everyone differently.
The topic has been locked.
Support Specialist
15 years 1 month ago #9781 by alzander
Replied by alzander on topic Login button doesn't work
It sounds like those users are all in different situations, either with existing Joomla accounts on the site, and possibly the same email addresses as their Facebook account. Depending on how you have things configured, different things may happen.

Person #1 (you): For the "default login page", can you give the URL for this? Is it the JFBConnect Login/Register page where the user can choose to associate their FB account with an existing account or create a new one? This is what I saw, and I filled out the right side of the form to create a new account (sourcecoast)
Person #2: Do you know what the errors were? Assuming when you say "links correctly", this user already had a Joomla account with the same email address on your Joomla site AND you had "Automatically link accounts by email address" enabled.
Person #3: No pop up, or did the page refresh and nothing happened? Obviously, this case is incorrect, but sounds like the behavior from above.. and could have been a caching issue if the user tried to view the site before we got it fixed.

Hope this helps add some clarity as to possibly what's happening. With more information on the errors/behavior you're seeing.. we should be able to help you diagnose things further.
The topic has been locked.