Facebook for Kunena Questions

Have an issue with social integration into Kunena? Look here for the most common support questions.

How to integrate Social Login into Kunena

Using JFBConnect, you can add the social login features into the little header area of Kunena where it shows a horizontal login form. Please use the instructions for your version of Kunena below:

Kunena 5.x

Option 1: Template modification

The result of this modification will look like:

Kunena - social login button

    1. Create a template override for the file /template/crypsis/layouts/widget/login/login/default.php file.
    2. At line 122, after the </form> shown below, add the following line with {JFBCLogin}
      </p>
   </div>
</form>
{JFBCLogin}

Option 2: SCSocialWidget or SCLogin Module

This method will put the Social Login buttons in module position on your Kunena forum page. It's easier to implement, but may not look as good with all website layouts and Kunena templates:

kunena sclogin

  1. In the admin area, go to the Joomla Extensions > Module manager.
  2. Click "New".
  3. For module type, select 'SCSocialWidget'.
  4. Select Provider: Facebook and Widget: Login.
  5. For the Position parameter, type in "kunena_top". This position will not show up in the "Select Position" dialog, it must be typed!
  6. Publish the module and ensure that it's set to display on all menu items.
  7. Note: Please note that these steps describe how to add the buttons via the SCSocialWidget module. You may also use the SCLogin module (and just hide the Joomla form if desired) for the same results.

Kunena 2.x/3.x

Option 1: Template modification

The result of this modification will look like:

Kunena Social Login - Inline

1) Edit the file /components/com_kunena/template/blue_eagle/html/common/login.php
2) At line 61, after the </form> shown below, add the following line with {JFBCLogin}

         <?php endif; ?>
</div>
</form>
<?php endif; ?>
{JFBCLogin} *** ADD THIS LINE *** </td>

 

Option 2: SCSocialWidget or SCLogin Module

This method will put the Social Login buttons on the right side of the login area. It's easier to implement, but may not look as good with all website layouts and Kunena templates:

Kunena Social Network Login

    1. In the admin area, go to the Joomla Module Manager.
    2. Click "New"
    3. For module type, select 'SCSocialWidget'.
    4. For the Position parameter, type in "kunena_profilebox". This position will not show up in the "Select Position" dialog, it must be typed!
    5. Publish the module and ensure that it's set to display on all menu items.
    6. Note: (Joomla 2.5 only) It's recommended to set the Access parameter to one that will only be displayed to "Public" (Guests). This access level does not exist in Joomla by default, but can be created by going to Users -> Access Levels. That will 'hide' the module when logged in. 

Kunena 1.6/1.7

1) Edit the file /components/com_kunena/template/default/loginbox/login.php
2) At line 58, add the {JFBCLogin} tag below (I left the 2 lines above it so you can make sure you're at the right spot)

   <?php echo JHTML::_ ( 'form.token' ); ?>
</span>
{JFBCLogin}

This will add the social login buttons directly next to the normal Login button. Please note, these instructions are for the default Kunena template, and may be slightly different for a different template, or a modified default one.