× Joomla Facebook Connect support forum

Topic-icon { JFBCLogin} ignored

Active Subscriptions:

None
13 years 3 months ago #6712 by fb_100000501858606
Hello,

I have in my text but the JFBCLogin module itself is not active on the page (only visible in login section). Then apparently the Facebook button has no effect. The Facebook screen pops up but the user doesn't get logged in. If the JFBCLogin module is active on the same page the button works fine. But then it's not really necessary.

Rgds
Lars
The topic has been locked.
Support Specialist
13 years 3 months ago #6713 by alzander
Replied by alzander on topic { JFBCLogin} ignored
No, you shouldn't need to have the JFBCLogin published at all for the tag to work.

Can you link to the page it's not working on so we can look at it? It's usually pretty easy for us to diagnose where the problem lies.

Thanks!
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #6718 by fb_100000501858606
Try www.kiddies-world.com If I click on the facebook button it's not loging in. If I use the module (click on login on front page to get there) the facbook button works fine.

I installed 3.11 and have just installed again (just in case)
The topic has been locked.
Support Specialist
13 years 3 months ago #6729 by alzander
Replied by alzander on topic { JFBCLogin} ignored
Lars, sorry for the troubles. We found an issue with the JFBCLogin tag that would cause this problem. Basically, the Javascript code that says what to do after a user is logged in isn't getting inserted into the page if you're just using the tag on a page. This will be fixed in the 3.1.3 release which we're expecting out later this week or weekend.

If you're in a rush, and would like us to post the code so you an make the change yourself, just let us know and we can do that. Otherwise, hopefully a few days is an okay time to wait.

Thanks for reporting the problem, and your patience!
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #6734 by Destructor
Replied by Destructor on topic { JFBCLogin} ignored
Hi

Same problem here. Can i please have the code to fix it, too ?

Thank you very much!
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #6739 by fb_100000501858606
Hi,

I'm fine to wait. Thanks. Btw, can you (additionally) have also one update package that updates all files at once. So that you don't have to download each module individually.

Rgds
Lars
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #6753 by davy
Replied by davy on topic { JFBCLogin} ignored
Hello , Can i have the code to fix this problem. i have the same issue and i can't wait because i have a lot of my members that are using facebook connect.

Thanks.
The topic has been locked.
Support Specialist
13 years 3 months ago #6766 by alzander
Replied by alzander on topic { JFBCLogin} ignored
Sorry for the delay. We're still on track to get the next release out this weekend, but it may be delayed until early next week. Either way, the code to add to make this work is below.
Edit: /plugins/system/jfbcsystem.php, add:
class plgSystemJFBCSystem extends JPlugin
{
    function onAfterRoute()
    {
        $app = JFactory::getApplication();
        if (!$app->isAdmin())
        {
            jimport('joomla.filesystem.file');
            $libFile = JPATH_ROOT . DS . 'components' . DS . 'com_jfbconnect' . DS . 'libraries' . DS . 'facebook.php';
            if (!JFile::exists($libFile))
                return;

            require_once($libFile);
            JFBConnectFacebookLibrary::getInstance();
        }
    }
The top two lines "class plgSystem... and {" are already in the file, so just add the code from "function onAfterRoute().. " all the way to the bottom. Please be careful. If you add the code incorrectly, you could prevent your page from loading.

Thanks for your patience!
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #6784 by fb_100000501858606
Yes. That works.

Thx, Lars
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #6983 by davy
Replied by davy on topic { JFBCLogin} ignored
Hello,

I'm using the last release. I have a Tag that is placed into the Login Module from Joomla. It appears correctly and is working great.

BUT when i try to use the Tag at another place (in a custom html module or in an article) it is not appears..

May be its normal , may be we could use the tag only at one place ?? I ask the question to be sure..

In more i cant use the JFBC Login Module with my template (HYBRID Rocket theme) because it is not appears correctly (css problem may be, i dont know).
Thats the reason why im using the Joomla Login Module with the Tag.
The topic has been locked.