Topic-icon JFBConnect and login popups

Active Subscriptions:

None
12 years 8 months ago #12602 by jussmi
I am trying to add a 'Log on with face book' icon to a logon popup window used by JAComment. Whilst I have managed to successfully add the icon (using {JFBCLogin size=medium logout=true} in the php code for the popup), once you click on the FB icon and have entered your Facebook credentials, the popup window remains open. i.e...... you have to then manually close the popup window and refresh the original page before you can add any comments as a logged on user.

Is there a way to add the 'logon with Facebook' to a popup login screen such that once you have entered FB credentials the popup window which contains the FB icon is closed and original page refreshed? I can't use the redirection command for this as it won't be the same page that you wan't to be redirected to each time. Anyway, if the redirection command is used, the redirected page then opens in the popup window!!
The topic has been locked.
Support Specialist
12 years 8 months ago #12605 by alzander
Justin,
Not sure if it's the same problem that can happen with some other popups, but you may want to try the alternative method of using a Facebook button on the page below. See questions 2 & 3, specifically:
www.sourcecoast.com/jfbconnect/docs/common-support-questions

It takes a little more effort, but can also be a little more flexible with how you implement the login button.

Hope that helps, but if it doesn't, let us know and we'll come up with the next idea :D
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #12607 by jussmi
Replied by jussmi on topic JFBConnect and login popups
Hi Alex,

I had actually started out by referring to Q2 and Q3 and using '<input type="button" onclick="jfbc.login.login_custom();" value="Login With Facebook" />' in the PHP for the pop-up window. I have exactly the same problem as using {JFBCLogin size=medium logout=true}, in that the popup isn't closed and the originating page not refreshed once you have successfully entered your FB credentials. I'm just not sure what extra code could be added to do this?

Please let me know if you have any suggestions?

Thanks,Justin
The topic has been locked.
Support Specialist
12 years 8 months ago #12612 by alzander
Justin,
I'm not sure either, actually. I re-read your description of the problem, and agree your issue isn't want Q2/Q3 of Common Support was meant to address.

Usually, when the login box doesn't go away, it's caused by:
1) Incorrect communication between your user and Facebook. We try to address this by creating a 'channel', recommended by Facebook, so that everything stays in sync
2) Other Facebook extensions are interfering
3) Browser specific - This almost always occurs in IE more than any other browser, and many times, won't occur in the others.
4) A general Javascript error on your page, possibly, but not necessarily related to Facebook.

Other things to test to see if you can narrow down the issue:
1) Disable any other Facebook integration extensions you have enabled. Mainly, anything that may be trying to do registration, but even other Like buttons, etc can cause issues depending on how they're implemented.
2) Try a different browser or even computer
3) Try a different template on the site, preferably one that ships with Joomla (beez5, atomic, etc)
4) Try placing the JFBCLogin module on the page, not in a Javascript pop-up

If any of those fix the issue, let us know, as that will give good indicators as to where the underlying problem is and what to do next. Additionally, feel free to post (or Private message) your site's address, and we'll take a look at the page to see if there's anything else obvious going on.

Thanks,
Alex
The topic has been locked.