Topic-icon JFBC + JomSocial | Login Button

Active Subscriptions:

None
13 years 9 months ago #26139 by Monger Quark
Basis is JomSocial 2.6.2 and JFBConnect 4.2.4

When I install JFBConnect and disable JomSocial Facebook Connect in backend (deleting API, FAS and all options set to No) I get a simple “Login With Facebook” writing which is not shown as a blue Facebook-Button. So I cannot even click on this writing to login. By implementing {JFBCLogin} tag within JomSocial “Get Connected” front page this non clickable writing is not only shown in JomSocial but also in JFBC-SCLogin-Module on my website.

Now when enabling JomSocial Facebook Connect again, two blue buttons are shown “Login With Facebook” and “Sign in with Facebook” at JomSocial front page and in JFBC-SCLogin-Module one blue “Login With Facebook” button is shown. So these buttons are all working and I guess “Sign in with Facebook” is from JomSocial whereas other two buttons are from JFBC.

File Attachment:


JFBC Auto-Tune is showing me “Warn: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict.” So I checked my site html to see if all.js is listed a second time but it is not, also my FB-AppID is listed one time only. I tried also to disable all other FB plugins, modules and components but nothing helped.
The topic has been locked.
Support Specialist
13 years 9 months ago #26145 by alzander
If you aren't seeing the button, and just the text, it means the Facebook Javascript library (the all.js file) is not being included by JFBConnect. Can you check that the JFBCSystem plugin is enabled? That's what properly includes the library. If that is enabled, try with a different template, because that would mean that something is preventing our plugin from altering the output for your page.

Hope that helps, but keep us posted on what you find!

Thanks,
Alex
The topic has been locked.
Support Specialist
13 years 9 months ago #26148 by alzander
I just saw that you sent the details for your site in a Private Message. On looking at your site, it looks like you have an extension for a CDN enabled. That extension is improperly translating the Facebook Library link, which is external to Facebook, to a local link for your site:
http://yoursitedomain.com/connect.facebook.net/en_GB/all.js
You should either have your CDN extension 'skip' the all.js file or disable it altogether. Either way, we'd recommend contacting the developer and let them know that they are improperly converting 'schemeless' links (ones without an http:// at the beginning and instead start with just //) to be local to your CDN.

Hopefully that will fix you right up!

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 9 months ago #26156 by Monger Quark
Hi Alex,

Thanks for your explanation. If you are right than it has to be my Amazon S3 component which causes this problem. After disabling S3 component and plugin in back end it seems that nothing changes concerning my JFBC-Problems (Auto-Tune Error-Check warning still exists).

Nonetheless I already contacted developers of this component and posted them your statement. So hopefully they have a solution for this because both components JFBC+Amazon S3 are essential for my site. Disabling one of them is no option for me...

So I will do some testing and as soon as I get reply from developers I will tell you results. Maybe you can find out some more information concerning this, I could even send you FTP access to my site, if this would help to solve this.

Regards,
Martin
The topic has been locked.
Support Specialist
13 years 9 months ago #26158 by alzander
When you test/make changes, make sure you disable caching in the Joomla Global configuration area. That, or ensure that every time you clear the Joomla cache after every change.

As for how to test, simply disable the CDN extension and open the HTML for the page with the issues. The URL for the Facebook Javascript library should look like:
js.src="//connect.facebook.net/en_GB/all.js";
If you re-enable the extension, that line will look like:
js.src="http://yoursite.com/connect.facebook.net/en_GB/all.js";
It's as easy that, and you can see that it's the CDN extension that's altering an external link and changing it to be an internal one to your CDN.

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

None
13 years 9 months ago #26161 by Monger Quark
Hi Alex,

Now I disabled my S3 component, JomSocial Facebook Connect and also cleared browsers cache. JFBC-FB-Button seems to work now but Auto-Tume Error "Warn: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict." still keeps present.

So I guess it is not possible to solve this Amazon S3 FB-Javascript-Library thing by myself? - If so, then sadly I have to wait for S3 component developers to fix this...

Thanks for your help, I know that problems with third party components are usually not your business.

Regards,
Martin
The topic has been locked.
Support Specialist
13 years 9 months ago #26164 by alzander
Martin,
No, things look correct. The problem actually looks to be a problem with our error check tool. It's currently looking for the inclusion of a Javascript file that ends in all.js. There's another script on your page with the link of /templates/ja_lens/js/wall.js. That's causing our Error Checker to think there are two of those files on the page. We'll have to fix that in our Checker.

I manually looked at the page though. Right now, the Javascript library looks to be included properly and only one time. So, that shouldn't be a problem anymore. If you're running into any other issues with actual functionality, just let us know and we can gladly help you figure things out.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 9 months ago #26244 by Monger Quark
Hi Alex,

Finally developer support for Amazon S3 component fixed my problem. Now CDN extension is usung an exernal link as it should be. Thank you for your great help concerning this!

Have a nice weekend,
Martin
The topic has been locked.
Support Specialist
13 years 9 months ago #26245 by alzander
Martin,
Awesome! Very glad to hear you got everything going as you needed. Should you need anything else, just let us know!

Finally, if you haven't already, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect or our support. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Have a great weekend,
Alex
The topic has been locked.