Topic-icon Sharing buttons disappeared

Active Subscriptions:

None
Yesterday I checked our forum and our sharing buttons were working fine. I added jsitemap pro last night and this morning the sharing buttons are gone. I assume the addition of Jsitemap pro is what caused it but I could be wrong.

www.lifespringschristianchurch.org/lscc-...t-lifesprings-church

The code is in JoomlaFolder\components\com_easydiscuss\themes\simplistic\post.question.item.php

<div style="position: relative; top:0px; left:0px; z-index: 99;" class="scsocialbuttons standard">
{JLinkedShare layout=standard}
{SCTwitterShare layout=standard}
{SCGooglePlusOne layout=standard}
{JFBCLike layout=standard share=true width=250}
</div>

When I check it in an inspector, only the div is there but the content has been removed. Do you have any idea what might be going on?
The topic has been locked.
Active Subscriptions:

None
8 years 10 months ago #53346 by [email protected]
PS. I just realized that all of the social sharing buttons have disappeared, even on the articles.
The topic has been locked.
Support Specialist
8 years 10 months ago #53347 by mel
Replied by mel on topic Sharing buttons disappeared
Running the Autotune error check on your page, I see that another extension is including an outdated/deprecated Facebook Javascript library, all.js. This library is no longer recommended and will conflict with the recommended sdk.js library, which is what JFBConnect uses. The inclusion of the other library will have to be removed, as it is most likely what is causing the problem. If this just started happening after you installed Jsitemap pro, then I would start looking at the settings and code for that extension first. Here's the code that's inserted:
<!-- Facebook SDK -->
<div id='fb-root'></div>
<script type='text/javascript'>(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));</script>
<!-- End Facebook SDK -->

I'd say you should remove this first (as Facebook like/share and login functionality won't work if it stays). Then if the other buttons are still not present, we'll go from there.

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 10 months ago #53353 by [email protected]
Thanks,
I was in the process of backing it up from yesterday's backup. The buttons are working good now. I am going to redo the changes I made yesterday one at a time and see what is going on.
The topic has been locked.
Active Subscriptions:

None
8 years 10 months ago #53354 by [email protected]
I made all of the same changes again, but this time, before I did, I got rid of the "load template" pluginin for JCE editor. That is what was causing the additional head and body tags. I didn't check if there is the duplicate code because everything is working good now.

Thanks
The topic has been locked.
Support Specialist
8 years 10 months ago #53365 by alzander
Awesome! We're glad to hear you got it going and *very* happy to hear you take backups of your site. That always makes things much easier when things go wrong.

Of course, if you do run into any other issues, just let us know!

Thanks,
Alex
The topic has been locked.