• Home
  • Get help
  • Ask a question
Last post 11 hours 6 min ago
Posts last week 81
Average response time last week 4 hours 29 min
All time posts 67934
All time tickets 10501
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1209 – Facebook like button not appearing

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 27 October 2015 11:44 UTC
qme1ster
 Hi,

We have a social icons bar published in our Easyblog posts which you can see here at the bottom of the post just before the tags:

http://www.xxxx.ie/EasyBlog/latest-news/maternity-cover-admin-position.html

but the Facebook Like button won't appear even though it is set to within the blog configuration. When checking with the developer of the component they have said:

It looks like this issue is caused by SH404's plugin. For some reasons they are actually generating the fb-root tags and this tag actually messes up Facebook's renderer script. I have no idea how to turn this off in Sh404 and the only way I did to test this is to rename their plugin files and these codes are no longer generated.

Can you please advise?

Thanks
Tuesday, 27 October 2015 11:54 UTC
wb_weeblr
Hi

1 - What version of sh404SEF are you running?

2 -
<body class="easyblog">
<!-- Facebook SDK -->
<div id='fb-root'></div>


      // Load the SDK Asynchronously
      (function(d){
      var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
      js = d.createElement('script'); js.id = id; js.async = true;
      js.src = '//connect.facebook.net/en_GB/all.js';
      d.getElementsByTagName('head')[0].appendChild(js);
    }(document));

<!-- End Facebook SDK -->


They should stop using deprecated Facebook javascript (if this is generated by Easyblog) or you should update sh404SEF if not using a recent version.

2 - sh404SEF generate a fb-root tag if you're using it to display buttons. Are you? have you enabled the social buttons in the sh404SEF social plugins?

Rgds
 
Wednesday, 28 October 2015 12:27 UTC
qme1ster
I've just upgraded to latest sh404 version 4.7.0.365 on a cloned test installation and now the Twitter icon has also disappeared! We haven't changed anything with Easyblog so this must be due to sh404, right?

We are not using sh404 to display social media buttons. We have social networking set to NO.

Please advise.

Thanks


Wednesday, 28 October 2015 15:31 UTC
wb_weeblr
Hi

We haven't changed anything with Easyblog so this must be due to sh404, right?

Not really, just like before. It only means there's a conflict somewhere, but it doesn't say which code is wrong.

We are not using sh404 to display social media buttons. We have social networking set to NO.
This is not social buttons. This setting is only for Opengraph tags.
Social buttons have a dedicated plugin:
have you enabled the social buttons in the sh404SEF social plugins?


Currently, I can see all buttons working fine, but I can still make the following comments:

- The Facebook code already mentioned:
<body class="wb-ats-page-post wb-user-registered easyblog">
<!-- Facebook SDK -->
<div id='fb-root'></div>


      // Load the SDK Asynchronously
      (function(d){
      var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
      js = d.createElement('script'); js.id = id; js.async = true;
      js.src = '//connect.facebook.net/en_GB/all.js';
      d.getElementsByTagName('head')[0].appendChild(js);
    }(document));

<!-- End Facebook SDK -->


is NOT added by sh404SEF. We use a different syntax (this one is deprecated by Facebook and should not be used).

2 - You have javascript errors on your page, which may prevent some javascript on your page to run properly.

Rgds
 
Thursday, 29 October 2015 12:16 UTC
qme1ster
The issue was the sh404 plugin "sh404SEF core - Social buttons" which was actually enabled by default. We don't actually use this so I disabled it and our Facebook button has now appeared.
Thursday, 29 October 2015 13:16 UTC
wb_weeblr
Hi

Glad to hear that you solved the problem.

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unecessary risk in the future.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.