× Joomla Facebook Connect support forum

Topic-icon Facebook connect image not showing in module

Active Subscriptions:

None
14 years 8 months ago #14022 by plezi69
I just installed the component and enable fb connect module in frontpage and the fbconnect image is not showing and clickable link.

I also used the tag {JFBCLogin size=medium logout=true} for it to work in a registration form that i created it's not showing there also. What am I going wrong?

with a custom registration form using a different facebook connect component. I would like to replace it with jfb connect.
I am using joomla 1.5.23 with jomsocial 2.0.5

Thanks
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #14028 by plezi69
Anyone?
The topic has been locked.
Support Specialist
14 years 8 months ago #14032 by alzander
The problem is the other Facebook integration you're using. It's calling the very old Facebook Javascript library which is going to be discontinued by Facebook on October 1st, actually.

You'll need to completely disable the integration you already have, and JFBConnect should start working. Mainly, if you look at the source code of your page, you shouldn't see any references to a file called "FeatureLoader.js.php".

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #14033 by plezi69
I got it working but only one problem. Registtration form is in iframe and the page loads inside the frame after login. Any suggestion on how to make page load in the same window and not inside the frame? I am using this code. <a href="javascript:void(0)" onclick="jfbc.login.login_custom();" target="_parent"><img src="facebook4.gif" />

Thanks
Robert
The topic has been locked.
Support Specialist
14 years 8 months ago #14038 by alzander
Edit the /components/com_jfbconnect/includes/jfbconnect.js file, and in the login_button_click function, you'll see:
self.location = jfbcOptionsPermsUrl;
Change that to:
top.location = jfbcOptionsPermsUrl;

That should make the redirect work in the parent frame.

Hope that helps, and keep us posted!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #14039 by plezi69
For some odd reason, I am unable to click on the facebook icon. Nothing happens when I click on it. Button was working fine before. I changed the code back and I am still unable to click on it.
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #14044 by plezi69
Any luck on this issue?
The topic has been locked.
Support Specialist
14 years 8 months ago #14045 by alzander
Plezi,
On the page you linked to above, I'm still seeing the "FeatureLoader.js.php" file, which definitely can't get loaded. Additionally, I'm not seeing some of the code that JFBConnect should be inserting into the page.

Can you check that the JFBConnect System, User, and Authentication plugins are enabled?

All of the above would be causes for why the login button isn't working.

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

None
14 years 8 months ago #14046 by plezi69
Hi,

All plugins are enable in the backend. It was working fine earlier before i made a change in jfbconnect.js which has nothing to do with the button not working.. I think.. then it stopped working
The topic has been locked.
Support Specialist
14 years 8 months ago #14047 by alzander
Maybe I'm crazy and missed it, but seeing the JFBConnect plugin code there now. However, the featureloader is there.

Open the HTML for the page, and just search for "FeatureLoader.js.php". The line that's on, and about 10 lines after where JomSocial is initializing Facebook, needs to be removed. I believe you can just remove the API/Secret keys from the JomSocial config area, but not sure what version of JomSocial that is, as it seems pretty old.

Good luck,
Alex
The topic has been locked.