| JFBConnect 3.0 Configuration Guide |
|
This configuration guide is for JFBConnect 3.0.
Installation of JFBConnect is just like other Joomla components. Simply use the "Extensions->Install/Uninstall" menu item in the administration area. Use the "Upload Package File" section, select the zip file you downloaded, and click "Upload File & Install".
You should see an output window similar to the one below upon successful installation:
The installation process installs the component, 2 required plugins and the login module. Later steps will explain configuring each of these extensions.
Before you can use JFBConnect, you must create an application within Facebook to allow your website to use the Facebook Connect Features. To do this, follow these steps: 1) Log into the Facebook Developer Center at: http://www.facebook.com/developers 2) Log into Facebook with the account that you want to 'own' your Facebook application 3) Click the "Set Up New Application" button as shown below:
4) On the "Create Application" screen (below), enter your application name. This is usually your site's name. Ensure that you agree to the terms of service and select "Save Changes".
5) The next window allows you to configure your application. We recommend when first starting that you fill out only the specified fields below. After successfully testing JFBConnect on your site, you can come back to customize your application further. This ensures that certain configuration options which conflict with JFBConnect are not set, and will aid in debugging your application later, if necessary.
The following fields must be filled out to create your application:Basic Tab: Developer Contact Email, User Support Email Canvas Tab: Canvas Callback URL - This should be your home page (http://www.yoursite.com/, http://yoursite.com, etc) Connect Tab: Connect URL - This should be your home page as set above
Once these 3 tabs are configured as shown above, click the "Save Changes" button. You are then brought to an overview of your application settings. It should look similar to the picture below show. Take note of your API Key, Application Secret Key and Application ID, which are required for JFBConnect in the next steps.
After the Facebook application has been created, the next steps involve configuring JFBConnect itself. To start, enable the JFBConnect related plugins. To do this, access the administration area of your site and go to "Extensions->Plugin Manager".
Next, go to the JFBConnect Configuration area by going to "Components->JFBConnect". Click on the "Configuration tab"; then click on the "Facebook API Configuration" tab.
User Configuration Options:JFBConnect can be used on a standard Joomla installation to allow for quick and painless registration, or in conjuction with the 3rd party community components JomSocial, Community Builder, and Kunena to automatically populate profile data. The settings below relate to all configurations.
User Creation: Full Joomla User- when new users register to your site, they will be presented with the 'Quick Registration' page which asks for their username, password, and email address. Once entered, they will have a fully-functional Joomla username that they can use to access the site OR they can return and log in by using the blue Facebook connect button. This setting is enabled on our JFBConnect demo site, which you can test at: http://facebook.sourcecoast.com
Facebook User Only- when new user's sign up on your site, a username will automatically be assigned to them and their email address will be imported from Facebook. On return visits, they will ONLY be able to login by using the Facebook connect button. All functionality within Joomla and 3rd party components will perform the same as normal (they will be treated as "Registered" users). This setting is a great way to let user's access your site with minimum hassle. This setting is enabled on SourceCoast.com (this site). To test out how it works, simply log in above.
In both cases, if you have JomSocial, Community Builder, or Kunena integration enabled, their profile will automatically be imported into their respective profile (as configured in later sections).
Automatically Link Facebook Users by Email: Enabling this setting will automatically connect a new Facebook user to an existing user on your Joomla site if their email addresses match. This is great for sites with lots of existing Joomla users to make adding Facebook Connect a smooth process.
Facebook Login Redirection SettingsNew User Redirection: Select the menu item that users logging in through Facebook Connect for the first time should be redirected too. This is useful for sending them to a page with the JFBCInvite module to let them invite their friends!
Enable Returning User Redirection: If disabled, when a user returns to your site and logs in through JFBConnect, they will remain on the same page. When enabled, the menu item selected below will be used to redirect the user to on login.
Returning User Redirection: When the setting above is enabled, this is the location the user will be redirected to on login.
Facebook Login SettingsAuto Login Facebook Users: When enabled, if a user returns to your site who is currently logged into Facebook and has already connected that Facebook account to your Joomla site, they will be automatically logged in. New User Redirection: This is the page that new users should be sent to after the first time the register through JFBConnect. All subsequent log-ins redirections are set through the JFBCLogin module. This is useful for a "New User Welcome" page or to send the new users to the JFBCInvite module (if installed) to invite their friends. Permissions SettingsUse the Permissions Settings tab to select which Facebook permissions are required, or optional, on login.
Permissions set as required will be prompted for the user when they first attempt to register for your site. If declined, the user will be unable to register. If granted, they will be able to register and will not have to grant those permissions in the future.
Permissions set as not required, will be requested as needed by JFBConnect in a separate permissions window.
Status/Wall SettingsUpdate Status Message: Enabling this setting will attempt to post a message to the user's wall on initial registration or subsequent logins to your site.
The status messages will be sent to the user's wall when the specified actions occur. If left blank, their wall will not be updated.
Misc ConfigurationThese options allow you to disable the "Powered By" link used in some areas of the component. Leaving this enabled helps SourceCoast and you, by getting more visibility for our extensions, which helps fund more development. Additionally, if you are a member of our free affiliate program, you can insert your affiliate ID to start earning 20% on any referrals you send to SourceCoast.com. JFBConnect Admin Overview PageNow return to the "Overview" tab of JFBConnect, you should see a page similar to below. In the top left section, you should see your Application Name, Connect URL, and application logo as set in the Facebook Developer area. This information is pulled from Facebook and can only be configured there (not within JFBConnect). In the top right section, you'll see some basic Facebook Insights (analytics) data about your application including how many are connected to your site, and how many are active on a daily, weekly, and monthly timeline. For more detailed information, use the "Visit Facebook Insights" link.
In the middle section, you'll see information about the extensions related to JFBConnect. All required extensions on the left should have a green checkmark next to them. If not, please enable them in the Plugin or Module manager and/or fix any other errors that are specified. (Hover over the extension to see the error)
The Optional Extensions are just that - optional modules which you may wish to use on your site. These extensions can be downloaded from SourceCoast. JomSocial IntegrationIf you have JomSocial installed, and want to automatically import profile information from Facebook into your new users' accounts, read on. If not, proceed to the next step.
To setup JomSocial Integration, click on the "JomSocial Integration" tab within the JFBConnect administration area. You will see a page similar to that below, though your fields in the lower section will likely be different.
The top options are pretty self-explanatory, but a brief description is provided below:
JomSocial Field MappingJFBConnect allows you to map Facebook profile fields into any text field or text area that you've created within JomSocial. The left-hand column shows all available JomSocial fields to which you can automatically import Facebook profile data into. On the right, use the drop-down to select the Facebook profile data field that you want fetched into the JomSocial field.
When done, click "Apply Changes" and proceed to the next step. Community Builder IntegrationIf you have Community Builder installed, and want to automatically import profile information from Facebook into your new users' accounts, read on. If not, proceed onto the next step.
To setup Community Builder Integration, click on the "Community Builder Integration" tab within the JFBConnect administration area. You will see a page similar to that below, though your fields in the lower section will likely be different.
The top options are pretty self-explanatory, but a brief description is provided below:
Community Builder Field MappingJFBConnect allows you to map Facebook profile fields into any text field or text area that you've created within Community Builder. The left-hand column shows all available Community Builder fields to which you can automatically import Facebook profile data into. On the right, use the drop-down to select the Facebook profile data field that you want fetched into the Community Builder field.
When done, click "Apply Changes" and proceed to the next step. Kunena IntegrationIf you have Kunena installed, and want to automatically import profile information from Facebook into your new users' accounts, read on. If not, proceed onto the next step.
To setup Kunena Integration, click on the "Kunena Integration" tab within the JFBConnect administration area. You will see a page similar to that below, though your fields in the lower section will likely be different.
The top options are pretty self-explanatory, but a brief description is provided below:
Kunena Field MappingJFBConnect allows you to map Facebook profile fields into any text field or text area that you've created within Kunena. The left-hand column shows all available Kunena fields to which you can automatically import Facebook profile data into. On the right, use the drop-down to select the Facebook profile data field that you want fetched into the Kunena field.
When done, click "Apply Changes" and proceed to the next step.
Once all steps before this are complete, you should configure and publish the JFBCLogin module that was installed with the component. After this, users can easily log into your site using their Facebook credentials!
The JFBConnect Social bundle comes with the following plugins and modules, which all require that the JFBConnect component, authentication plugin and user plugin be installed and configured correctly:
JFBCSocial pluginCurrently, the JFBCSocial plugin allows you to embed the JFBCLike, JFBCShare and JFBCComments functionality in your page content. To enable the plugin, access the administration area of your site and go to "Extensions->Plugin Manager". Then enable the "System - JFBCSocial" plugin.
To add the functionality with default styling, add the following tags into your content (e.g. an article):
To add the functionality with configurable styling, add the following tags:
Social ModulesTo enable the modules, access the administration area of your site and go to "Extensions->Module Manager". Then enable the appropriate module. Then configure the module parameters to customize the view and behavior of the module. |





