× Joomla Facebook Connect support forum

Topic-icon Fixed: No Button in mod_jfbclogin

Active Subscriptions:

None
14 years 7 months ago #1954 by idreammedia
I'm using the latest versions of jfbconnect / jfbclogin and JomSocial with the Versatility 4 Template from Rocket Theme and all of a sudden the FB Connect button has vanished where previously it worked. Now it's just text that says "Login using Facebook " -- and yes the plugins are published.

Nothing has changed in my FB App. Ideas? Sugesttions?
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #1958 by rigg
I'm having the same issue. My button just disappeared. It was there, and now all it says is "login using facebook". Any suggestions anybody?
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #1963 by brooksrc
I just installed the jfbc login module and am having a similar problem, though it only seems to happen with IE. The button appears as it should in Firefox.
The topic has been locked.
Support Specialist
14 years 7 months ago #1970 by alzander
Can someone please provide a page so that we can inspect the code and debug further? It's working on our test and demo sites without a problem. Facebook pushes out new code on their end every once in a while and that can cause problems, but it's impossible to debug if we can't recreate it.

Thanks
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #1976 by brooksrc
<!-- m --><a class="postlink" href="www.2top.co.uk">www.2top.co.uk

I'm trying to find what's causing the error myself, so I'm switching between the standard joomla log-in module and the JFBConnect log-in. JFBC works fine with FF 3.0 (windows XP) but not IE7 or IE8.

Thanks for looking into this.
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #1977 by brooksrc
I got it to work. This seems to be a problem with the way Joomla is including mootools, specifically the leading backslash. There was a reference to this in an earlier post:
<!-- m --><a class="postlink" href="www.cmsmarket.com/forum/index.php?f=38&t...art=0&rb_v=viewtopic">www.cmsmarket.com/forum/index.ph ... =viewtopic


Line 47 in '/components/com_jfbconnect/helpers/facebookhelper.php' originally said:
echo JHTML&#58;&#58;_('behavior.mootools');
I replaced that line with:
echo '<script type="text/javascript" src="media/system/js/mootools.js"></script>';
leaving out the leading backslash.

I also commented out line 38 in '/modules/mod_jfbclogin/mod_jfbclogin.php' which is another call to include mootools.

I'm not sure if this is going to cause problems elsewhere, but it did solve the disappearing button issue.
The topic has been locked.
Support Specialist
14 years 7 months ago #2012 by alzander
Glad to hear this helped. Marking it as Fixed
The topic has been locked.