Topic-icon Plugin, Module and scripts don't work for me

Active Subscriptions:

None
12 years 2 months ago - 12 years 2 months ago #42833 by imeoda
I saw tutorials and i set everything as it should be but there's probably something i missed because nothing works.

eg:
i tried to put a like-box with {JFBCFan href=http://www.facebook.com/mysite colorscheme=light width=400 height=565 stream=true} and don't work
i tried to set the social widget but nothing appears but the intro text in the advanced options
...

PS: where is sandbox mode in new facebook developers page?

I hope there's someone with suggestions before i completely give up.
Last edit: 12 years 2 months ago by imeoda.
The topic has been locked.
Support Specialist
12 years 2 months ago #42843 by alzander
Your tag looks correct and it should work. The main things to check are:
* Is the JFBCSystem plugin activated?
* Do you have the System - Cache plugin activated? If so, make sure it's ordered last (highest number).
* If you have any optimization extensions installed, try disabling them to see if that helps

If none of that helps, let us know a page we can look at to see what's actually being inserted into your code and determine where the issue lies. We should be able to get you fixed up quickly once we see your site.

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

None
12 years 2 months ago #42859 by imeoda
Thanks for answer
I followed your suggestions.
JFBCSystem plugin was activated
I enabled system cache plugin and switched the only option i see (Use cache browser) both Yes and No but nothing has changed.

You can see my demosite on www.liguriasconti.it with the socialwidget on the right and the like-box at the bottom.
Thanks
David
The topic has been locked.
Support Specialist
12 years 2 months ago #42863 by alzander
I would *not* recommend enabling the System - Cache plugin.. especially if you're already having issues. Additionally, if you do choose to enable it, the Browser Caching option should be set to 'no'.

As for your site, it looks to be in Offline Mode right now so I can't see what's going on. Can you disable that or Private Message me credentials that I can login to the site with?

Thanks,
Alex
The topic has been locked.
Support Specialist
12 years 2 months ago #42895 by alzander
Thanks for your PM and sorry for the confusion. Your site asks for a name and email on a page that looks similar to the Joomla offline mode just to access the site. It's also in Italian, which I'm not familiar with.. so I just didn't understand what was going on.

With that said, I finally got into your site and can see the issue(s). In the section that JFBConnect loads the Facebook Javascript library is the following line:
js.src = "//connect.facebook.net//all.js";
That double-slash should actually have your language/locale in it, like:
js.src = "//connect.facebook.net/it_IT/all.js";
JFBConnect should be automatically detecting your language and setting it there, but something is causing an issue there. If you have a 3rd party language manager, that may be the problem.

Either way, to fix, I'd recommend going to the Configuration -> Facebook area and setting your Language Override setting to "it_IT". That should get you going.

Additionally, toward the bottom of your page is another block of code that's trying to re-initialize the Facebook Javascript library in a 'basic' way, which can conflict with some of the features JFBConnect needs to use. The big block of HTML looks like below, which may help you know where that code is coming from and remove it:
		jQuery(document).ready(function()
		{
			jQuery('#deal_countdown').countdown({until: +30546985,
			description: '', layout: '{dnn} {dl} {hnn}:{mnn}:{snn}'});
			jQuery('#deal_countdown').countdown(jQuery.countdown.regional['it']);
		});
	</script>
	<div id="fb-root"></div>
	<script>(function(d, s, id) {
		var js, fjs = d.getElementsByTagName(s)[0];
		if (d.getElementById(id)) {return;}
		js = d.createElement(s); js.id = id;
		js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1";
		fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));</script>

							</div>
						</div>
					</div>
				</div>
								<div id="aside" class="span3">
					<div class="cm_deals_module "><div class="cm_deals_module_content_container">
I hope that helps, and sorry again for the confusion,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42946 by imeoda
Hi Alex,
i tried your suggestions:
1) set the language override
2) delete the part of the code that seemed to conflict with facebook connection

I was happy cos all it worked...but after a couple of hour... everything switch back to the same issues.and all the modules disappeared.

What do you think has happened? What i miss?

Thanks David
The topic has been locked.
Support Specialist
12 years 2 months ago #42961 by alzander
There's 2 issues now, similar to before.
1) In the Facebook Language Override, you should have quotes around it_IT. Please remove those quotes and it should properly start initializing the FB Javascript library properly.
2) You look to have added another module which includes the following file:

/modules/mod_facebook_likeboxpopup/js/all.js#xfbml=1

That file is a big problem because a) it's a local copy of the Facebook Javascript file and it's a very old copy (Facebook updates that file frequently, so it shouldn't be loaded directly from your site) and b) it conflicts with JFBConnect since you're reloading the library in general.

I'm not sure what that module needs from the Facebook Javascript library, but JFBConnect is already loading it. You should try to remove the re-inclusion from the other module. Sometimes there is a setting to do this, sometimes you need to modify the module and remove the inclusion manually.

I hope that helps get you going,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 1 month ago - 12 years 1 month ago #42998 by imeoda
Thanks for answer Alex
yes i installed a new module cos i needed a popup facebook like box and read in the forum i can't do that with JFBConnect. If i'm wrong please tell me where i can find an help to do that.
i attached the module settings without any spam. Do you see something i can set differently to solve? Meanwhile i asked support from the other part too.

Thank you
David
File Attachment:


File Attachment:
Last edit: 12 years 1 month ago by imeoda.
The topic has been locked.
Support Specialist
12 years 1 month ago #43004 by alzander
We don't have a Likebox popup like you're using with a timer to hide it. It's a very specific need that isn't a common request. Generally, it's an obtrusive thing for a visitor to first see when they visit your site, so it's likely not something we would implement as we wouldn't recommend using it.

As for the settings you provided, there's nothing in there that looks like it'd do what needs to be done. Hopefully the developer of that extension can help you to remove the loading of the Facebook Javascript library.

If you need anything from us, let us know, and best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 1 month ago #43159 by imeoda
Hi,
i deleted the popup module that caused problems but i still can't make jfbconnect likebox working. As you can see on the right an empty box appears.
Could you help me understand?

Thanks David
The topic has been locked.