× Joomla Facebook Connect support forum

Topic-icon leaves my site and goes to fb

Active Subscriptions:

None
Hi. When someone logs in from the content page, it leaves my site and goes on to facebook. While on other pages it works fine. Try logging in on this page: bit.ly/90Mga7 and u'll know what i mean. You are already registered on my site via facebook..so you just need to enter your password.

Please look into the matter and reply asap.

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

None
13 years 7 months ago #5035 by fb_100000183019231
Why have I not been replied for more than 36 hours alzander? This problem is really affecting activity on my website.

Please look into it.
The topic has been locked.
Support Specialist
13 years 6 months ago #5036 by alzander
We missed this post. It happens.

My best guess is that it has to do with jReviews inclusion of Facebook functionality that's conflicting with JFBConnect. In the newest (3.0.1) version, we added automatic language detection, so the Javascript library that we're loading is based on the language you have set in Joomla. On your site, the language is en_GB, and I believe jReviews is loading the en_US. I'm unsure if this is the case though.

Can you disable the Facebook functionality inside jReviews temporarily and see if that resolves the issue?

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

None
13 years 6 months ago #5052 by fb_100000183019231
I disabled fb posting on jreviews but the problem persists. :-(
The topic has been locked.
Support Specialist
13 years 6 months ago #5053 by alzander
Rajat,
There's 2 options. Both of which I'm highly confident will work.

1) We just re-enabled JFBConnect 3.0.0 in the download area. If you'd like to download that, uninstall the current version and upgrade, that should fix your issue.
2) This involves a minor code change, but I just tested it on your site manually, and it seemed to work:
In the /components/com_jfbconnect/libraries/facebook.php file, look for the 'initJavascript' function. In that function, you'll see the following code at about line 107:
if (FB.getSession())
{
   self.location = "{$optionPermsUrl}";
}

Update that self.location line to the following, replacing $optionPermsUrl with $loginLink
self.location = "{$loginLink}";

The 2nd option is best as you'll get some of the other bug fixes in 3.0.1. However, if you're hesitant to modify code, the first option would probably be best.

Hope this helps, and sorry for the earlier delay in responding. This should get you going, but if not, you know where to find us.

Thanks!
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #5054 by fb_100000183019231
Hi alazander..

Thanks for your quick reply. I will go for option 2 as i want those bugs resolved which are there in 3.0.0. I will do the code manipulation and get back to you.

Thanks,
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #5056 by fb_100000183019231
Thanks Alzander. The hack worked like a charm. :-)
The topic has been locked.
Support Specialist
13 years 6 months ago #5064 by alzander
Glad to hear it. We have a variant of it that will be in the upcoming release which will do the same thing for you while still leaving the same functionality for others who need that other link.
The topic has been locked.