JFBConnect

JFBConnect

Joomla Facebook integration used on more than 10 thousand websites, including the Joomla Extension Directory.

Common Support Questions

Below are a list of common questions from the forums with answers for most cases.

Facebook changes frequently. Always ensure you're running the latest version of JFBConnect, as this will solve many common issues. See the JFBConnect changelog for the most recent version and fixes available.


How can I put the Facebook Connect blue button somewhere else on my site? 

Simply use the {JFBCLogin} tag anywhere on your site and the Login button will appear for guest users. You can also include a logout button, when users are logged in, by specifying {JFBCLogin logout=true}. There are more options for the look of the button that can be seen in the Tag section of the JFBConnect Configuration Guide:

These tags can be placed in an article, a custom HTML module, or any template file.  All settings in the JFBConnect component (new user type, redirections, etc) will be used automatically.


Can I use a custom image for the Login With Facebook button?

Yes! Simply use the following code to use a custom image for your button:

<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="http://s.sourcecoast.com/linktoimage.jpg" /></a>

If you don't have an image, and would like a standard HTML form button, you can use the following code:

<input type="button" onclick="jfbc.login.login_custom();" value="Login With Facebook" />

How can I get the Login With Facebook button to work in a Javascript pop-up?

You must use a custom image for the Login with Facebook button in a Javascript pop-up. To do so, if you're using the SCLogin module, change the "Login Button Type" setting to "Image". Then, set the custom image you want to use in the field below.

Otherwise, use the methods in the question above for setting a custom image anywhere on your site.


When using Artio SEF, the Facebook Connect login does not work.

Artio SEF wants to try to fix links it thinks are bad.  While normally this is good, with how Facebook works, it needs a special link for everything to go smoothly.  To prevent Artio from altering JFBConnect's login process, please change the following setting in the Advanced Configuration for Artio SEF:

"Fix index.php links" set to No


How can I change the automatically generated username? 

In JFBConnect v3.4+, there is now a setting for "Auto Username Prefix" that will let you select from 1 of 3 different automatic username options:

  • fb_123456 - where 123456 is the user's Facebook ID
  • john.smith123 - FirstName.LastName followed by a unique ID if the firstname.lastname has already been used
  • johsmi123 - First the letters of the first name followed by the first three letters of the last name followed by a unique ID if the first/last name combination has already been used.

When using the Share button, some other Facebook modules do not appear. 

The share button has an incompatibility with Facebook's own Javascript libraries.  This can, on some sites (depending on overall javascript load order, browser used, and other conditions), cause either the Share button, or other Facebook widgets (comments, Login button, Like button, etc) to not appear.  This is not a JFBConnect issue and likely cannot be fixed on our end

Facebook is not recommending the use of the Share button, and are recommending the Like button with the use of special Open Graph meta tags to describe the page.  Support for the Open Graph tags has been available since the 3.2 release of JFBConnect.

For more information on the deprecation of the Share button, see:

What’s Happening to Facebook "Share"?


How do I use JFBConnect with JFusion? 

To properly integrate JFBConnect with JFusion, you should:

  • Order the JFBConnect Authentication plugin before (lower number) the JFusion Authentication plugin
  • Order the JFBConnect User plugin before (lower number) the JFusion User plugin
  • In JFusion, for the setting of "What method would you like to use for dual login?", select "Let jfusion create cookis without accessing files".

How do I use the {JFBCxxx} easy-tags with an extension that uses Smarty Templates? 

The Smarty template system will interpret any tags inside squigglies {} as commands for their system. To properly use the JFBConnect tags, you need to include them as follows:

{literal}

  {JFBCComments}
{/literal}

You can use any JFBConnect easy-tag above, not just for the comments widget.

Learn More About Us

SourceCoast was founded in 2008. Bringing over 20 years of technology experience to the table, we're a small company devoted to customer happiness. It's our utmost goal to make sure you're happy with your decision to use our products.

Meet the Team

Newsletter

Stay up to date with new releases and features and join our newsletter