× Joomla Facebook Connect support forum

Topic-icon Can't add a Facebook connect button

Active Subscriptions:

None
15 years 7 months ago #5552 by fb_721883146
Hi there, i would like to add a (Sign in with facebook) button on the guest page of jomsocial. Now i've been to to the documentation on your site and you say to add this code:
require_once (JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php');
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
echo $jfbcLibrary->getLoginButton();
but when i add the code to my frontpage.guest.php it just turns up on the front end of the site in text. What am i doing wrong?
Here is my site address my site
Many thanks Neil
The topic has been locked.
Active Subscriptions:

None
15 years 7 months ago #5554 by fb_721883146

fb_721883146 wrote: Hi there, i would like to add a (Sign in with facebook) button on the guest page of jomsocial. Now i've been to to the documentation on your site and you say to add this code:
require_once (JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php');
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
echo $jfbcLibrary->getLoginButton();
but when i add the code to my frontpage.guest.php it just turns up on the front end of the site in text. What am i doing wrong?
Here is my site address my site
Many thanks Neil

well i've just come across this thread which explains a bit more about adding the button (Thread) but you talk about a plugin being introduced! has it been added yet? I'm not sure where to look :/
Thanks Neil.................
P.S I've had to input the code method from the above thread link so my users could log on :=D
The topic has been locked.
Support Specialist
15 years 7 months ago #5558 by alzander
No the updated plugin with the JFBCLogin tag will be part of the 3.1 release, expected in early November.

If you're still having issues implementing the button, let us know and we can help you get to the bottom of it.
The topic has been locked.