Topic-icon Can not see the social buttons

Active Subscriptions:

None
12 years 2 months ago #42150 by coscir
Hi guys

I can not see the social buttons. I must of done something ... wrong.

Site test.netdent.ro ;
user: test pass: testtest
this is a registered user.
CONTUL MEU --> Acces site

Thank you
The topic has been locked.
Support Specialist
12 years 2 months ago #42153 by alzander
I just went to your home page and clicked into the following article:
test.netdent.ro/La-stomatolog/as-dori-di...-stiu-despre-ei.html

The social buttons all showed up at the bottom of the page for me. Can you explain a bit more about where you're expecting the social buttons to show or a specific URL where they aren't showing?

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

None
12 years 2 months ago #42518 by coscir
Hi Alex

The buttons are suppose to show both at the begging and at the end of the articles.

I`ve cleared browser`s cache.

For the article mentioned by you:
1 if not logged in I can only see the bottom buttons;
2 if logged in with the test account ( see the first post ), witch is a Joomla registered user the comments and buttons do not show up at all;
3 if logged in with superadmin ( Google account ) the comments and buttons do not show up at all;

If I try to place the buttons in the home page ( both up and bottom ) the home page shows a white scree ... no content. If I try to place them at

On this article: Article tittle I can see buttons both up and bottom but only when not logged in.

Thank you very much. Sorry for the delay.

All the best
The topic has been locked.
Support Specialist
12 years 2 months ago #42535 by alzander
I've never seen that before. In the HTML on the page, when logged in, is the following code:
<div style="position: relative; top:0px; left:0px; z-index: 99;" class="scsocialbuttons bottom standard"></div>
<div style="clear:left"></div><div style="z-index: 98;" class="scsocialcomments"></div>
I have no idea why the sections are blank, but something is stripping the social features from that page.

Even strange, if I force a different template on the page, like:
test.netdent.ro/La-stomatolog/as-dori-di...html?template=atomic

The features all show as expected.

So, either something in your template is causing issues or there's a plugin enabled that's only doing something when registered users (or above) are logged in. Do you have any 'optimization' plugins enabled or anything else that may be trying to alter the output HTML in some way?

Hopefully the above helps you narrow things down, but it's frankly bizarre what's going on.

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

None
12 years 2 months ago #42538 by coscir
Hi Alex,

Thank you for the answer.

What do you mean be "optimisation"? The template is created by Template Creator CK. I use sh404SEF for SEO optimisation. I use ACL Manager as well. If necessary I can give you a list of all plug-ins/components I use on the site. Or I can give you back-end access if you want.

All the best
Cosmin
The topic has been locked.
Support Specialist
12 years 2 months ago #42544 by alzander
For Optimization, I mean extensions like JCH Optimize, RokBooster or other extensions that try to speedup page load times through various factors.

Admin access would probably be the easiest thing to narrow down the cause. Since it doesn't happen with other templates, I'll likely be focusing on your template first, in case you want to try and toggle some switches/options there.

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

None
12 years 2 months ago - 12 years 2 months ago #42565 by coscir
Hi Alex

I wrote you a PM with access details to the site. I wrote to the template component developer asking about this issue and his reply was:

"I don't think so because the template have no Javascript and nothing that can cause this problem."

Thank you very much
Cosmin
Last edit: 12 years 2 months ago by coscir.
The topic has been locked.
Support Specialist
12 years 2 months ago #42594 by alzander
Thanks for the admin credentials. I actually found the issue on the front end. Something is going really screwy on your page when you're logged in. If you look at the HTML on the site you'll find multiple head and body sections. That's completely malformed HTML. It seems to be related to iJoomla AdAgency, based on where the extra head/body sections are occurring, like:
</div></td></tr><tr><td valign="top"></td></tr></table><div align="center" class="adv_here"><a class="adv_here_link" href="/adagencyPackages" >Cere spatiu publicitar aici</a></div><div class="zone-text-below"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head><head>
</head></head>
<body><div id="fb-root"></div>
<script type="text/javascript">
    

    window.fbAsyncInit = function() {
    FB.init({appId: '520060604756066', status: false, cookie: true, xfbml: false});
FB.Event.subscribe('comment.create', jfbc.social.comment.create);
FB.Event.subscribe('edge.create', jfbc.social.like.create);
jfbc.social.googleAnalytics.trackFacebook();
    };
     (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/ro_RO/all.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
    </script>
<div id="alertijoomla" class="modal fade in" style="z-index: 10000;">
That's a section in the middle of your page, already within a body tag. The Facebook Javascript code is from JFBConnect because we insert our code after any body tag.. which there should only be one.

You'll see above and below that section are references to ijoomla. No clue what's going wrong there, but JFBConnect is likely choking on the really, really bad HTML. That will need to be fixed, but it's not something we can help further with.

I hope that helps get you going, but should you need anything else, just let me know!

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

None
12 years 2 months ago #42605 by coscir
Hi Alex

The tag issue has been present for some time now but I had no idea where it come from. I`ve spoken with AdAgency team and they said it is not from them. They have pointed JCE.

Yesterday I`ve switched to TinyMCE. After accessing and saving articles with this editor the errors disappear and issues with JFBConect are gone. The content displaided by AdAgency is also affected if that content was created while JCE active.

I will test some more ... however JCE seems to be the problem. I will contact JCE and inform about this as well. If any more trouble I will let you know.

Thank you for the great support Alex

All the best
Cosmin
The topic has been locked.
Support Specialist
12 years 2 months ago #42611 by alzander
No problem. I'm glad that we were able to help you narrow things down and you were able to take it from there to find the culprit.

Should you need anything else from us, of course, just let us know. We'll gladly help however we can.

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

Thanks,
Alex
The topic has been locked.