× Joomla Facebook Connect support forum

Topic-icon I am using JomSocial along with the JASocial template....

Active Subscriptions:

None
I am curious how I can get JFBConnect to work in conjuction with their template.

My site can bee seen here: Link I would like JFBlogin module to appear inside the blue box if this possible.

Thanks in advance.
The topic has been locked.
Support Specialist
If you're using v3.1 of JFBConnect, the by far easiest way is to include the Login button in their template file. The file that has that blue box is located in appears to be:
/components/com_community/templates/ja_social/frontpage.guests.php (the ja_social may be the only thing that differs).

Open that file, scroll to the bottom and you'll see:
<?php echo $fbHtml;?>
Immediately above (or below) that line put "{ JFBCLogin}" (no quotes or spaces). That will insert the button for you, and you should be good to go.

Please note, if you're using a template override for the JomSocial template (which you should be, actually), the file above will be:
/templates/newsstream/html/com_community/frontpage.guests.php

For more information on the template overrides, see the template overrides section:
www.sourcecoast.com/extensions/troublesh...ng-joomla-extensions

For more information on the JFBCLogin tag, see:
www.sourcecoast.com/extensions/jfbconnec...estions#login-button

Good luck, and let us know if you have any other questions!
The topic has been locked.
Active Subscriptions:

None
That worked perfectly. My question now is where do publish the mod so that it doesn't show up, thus forcing them to use the button that we just place in the "Blue Box"
The topic has been locked.
Active Subscriptions:

None
Actually I figured that out, I simply turned on the mod and didn't publish it all.

However, the JFBConnect button is not working properly, When you click on it the popup window comes up and then disappears right away.(If you are currently logged into Facebook on another tab.)

My site is... www.gettingourcountryback.org
The topic has been locked.
Active Subscriptions:

None
Also, if you are not logged into FB and attempt to use theJFBConnect tab the window will pop up however it will not actually sign you in.

Please advise.
The topic has been locked.
Support Specialist
In your case, you actually don't need the JFBCLogin module published, just so you know. We say it's required on the Overview page, but really, we just need the blue Login button to appear somewhere.. or else no one could ever login.

As for your issue, I'm seeing a few problems. First, our Javascript file isn't being inserted to your page correctly, which isn't good. In the <head> section, there should be a reference like the below:
<script type="text/javascript" src="/components/com_jfbconnect/includes/jfbconnect.js"></script>
There's plenty of other scripts being included, so not sure why ours isn't. We insert it from the /components/com_jfbconnect/libraries/facebook.php file. If you've modified that file, let us know. If not, I think we may need access to your site to debug what's preventing that code from executing.

Second, when I try to login, I get a ton (about 50) javascript errors that say the following:
Error: get_data is not defined
Source File: www.maheshchari.com/wp-content/plugins/w...nline-js.js?ver=2.60
Line: 1

I don't know what that is, but it could possibly prevent our Javascript from functioning, if it were properly included.. which it isn't. Just wanted to let you know about the error mainly, as they're never good to have.

Good luck, and keep us posted.
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

I pm'd you my login info for superadmin. If you need FTP info please let me know.

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

None
The topic has been locked.
Support Specialist
Sorry to make you have to bump :)

We got into the site and encountered an issue we've never seen before. We implemented a very minor work around and everything seems to be good.. now we just need to investigate why your site is behaving differently.

I do have a few questions, if you don't mind answering them.
1) Are you using the new JFBCLogin {} tag to insert the FB button on that page?
2) Do you have some sort of 3rd party caching tool installed? The Global Configuration cache setting was set to "No", but we had to purge cache to see our changes, which means that something was forcing caching. If you don't know what I'm talking about, dont' worry about it.

Either way, you should be good to go now, and we'll investigate on our side why the Javascript wasn't being included properly for you and hopefully have a generic fix in the next release.

Thanks for your patience, and if you need anything else, let us know!
The topic has been locked.
Active Subscriptions:

None

alzander wrote: Sorry to make you have to bump :)

We got into the site and encountered an issue we've never seen before. We implemented a very minor work around and everything seems to be good.. now we just need to investigate why your site is behaving differently.

I do have a few questions, if you don't mind answering them.
1) Are you using the new JFBCLogin {} tag to insert the FB button on that page?
2) Do you have some sort of 3rd party caching tool installed? The Global Configuration cache setting was set to "No", but we had to purge cache to see our changes, which means that something was forcing caching. If you don't know what I'm talking about, dont' worry about it.

Either way, you should be good to go now, and we'll investigate on our side why the Javascript wasn't being included properly for you and hopefully have a generic fix in the next release.

Thanks for your patience, and if you need anything else, let us know!


I didn't mean to rush you and thank you very much for your help. It seems to be working correctly now.

To answer your questions.

1) I inserted the tag into:/components/com_community/templates/ja_social/frontpage.guests.php, just above
<?php echo $fbHtml;?>
.

2) I'm not sure about the 3rd party caching, I do know that if I turn the system cache to yes that it causes some problems with my slide show at the top of the page.

I have a lot of junk on the site that I don't use anymore but I am such a novice that I am afraid to try and delete most of it as I fear crashing the site. My hopes Are to get it working like I want it and then copying my root to a "test" site to clean it up and then reload it to the live site.

Thanks much for your help.
The topic has been locked.