Topic-icon Integrate "Login with facebook" in the "Registration" + IE problems

Active Subscriptions:

None
Hello,

I have some question and need please a step by step:

1/ How to integrate "Login with facebook" button in the "Register for this site" of the Sclogin ? (I think its the main registration Joomla function no jomsocial)
2/ after "1/" to change "Login with facebook" button by "Register with facebook"
3/ Why all my user receive this message when they use Internet explorer or opera mini

"Forbidden
You don't have permission to access /components/com_jfbconnect/assets/jfbcchannel.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Thanks a lot in advance and thanks for this useful tools JFB ;-)
The topic has been locked.
Support Specialist
egyptim,
1) You'll want to see if the file /templates//html/com_users/registration/default.php exists. If not, copy /components/com_users/views/registration/tmpl/default.php to that location (creating any of those directories if they don't exist). Once there, edit that file and simply add {JFBCLogin} wherever you want the button to show up.
2) Edit the /language/en_GB/en_GB.com_jfbconnect.ini file. You'll find the string for the login button there and you can change it to what you want.
3) Please check the permissions on that file (jfbcchannel.php) or that directory (/components/com_jfbconnect/assets/) is not protected in some way. You should be able to go to the following location and basically see a white page. It's important that file is reachable for IE to work properly with Facebook Connect:
http://yoursite.com/components/com_jfbconnect/assets/jfbcchannel.php

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks a lot for quick reply :

1/ It's not Working in my : public_html/templates/yoo_revista/html/com_users/registration

I have that :

<?php
/**
* @package yoo_revista
* @author YOOtheme www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license YOOtheme Proprietary Use License (www.yootheme.com/license)
*/

// include config and layout
$base = dirname(dirname(dirname(__FILE__)));
include($base.'/config.php');
include($warp->path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));

AndI try to Put in each line "{JFBCLogin} " but every time the result is a white page instead of the normal registration form !!!!!

2/ I not try Yet

3/ I change autorisation from 755 to 777 of the
/public_html/components/com_jfbconnect
and
/public_html/components/com_jfbconnect/assets/jfbcchannel.php

But still not work !!!!!!

Thanks a lot in advance for your help
The topic has been locked.
Active Subscriptions:

None
P.S : Even, {JFBCLogin} don't work inside "K2 article/item : all plugins are "on" except the kunena one !!!
The topic has been locked.
Support Specialist
egyptim,
You'll need to contact YouTheme to understand how their template is laid out then, since they aren't doing template overrides the normal way. The code you mention above is including another file, and I'm not sure where that one is located. Once you find it, you'll need to add the {JFBCLogin} tag to that file. However, you'll need to make sure it's not within a PHP block of code.. it should be in an area with normal HTML.

For adding the button, check if you have a "Admin Render Key" set in the Misc tab of the Social Configuration area of JFBConnect. If you have one set (let's say it's 1234), you'll need to add the tag like:
{JFBCLogin key=1234}

If that still doesn't work, try turning off any caching you may have enabled and see if the tag properly renders then.

Hope that helps,
Alex
The topic has been locked.