Jump to content

Social Media AddThis buttons not displaying


vidmarc
 Share

Recommended Posts

I have configured my browser to never run javascript without explicit permission. I also deny the browser to fetch resources (css, javascript, images) from a different domain unless explicitly given permission.

 

In Nucleus, I am denying requests for javascripts from Facebook and Addthis, which apparently are necessary to show these buttons on your site.

 

In FABPress, I am denying requests for javascripts from Disqus, Twitter, and Geoplugin. I have no indication that FABPress is making a request to Addthis or Facebook.

Link to comment
Share on other sites

Looking at the HTML source in Nucleus, I see:

  <!-- Availability -->
  <!-- Review Aggregate -->
  <!-- Social Bookmarks -->
  <li class="bookmarks">
    <script src="//connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like show_faces="true" colorscheme="dark"  layout="button_count" href="http://www.nucleusfilms.com/video-nasties-the-definitive-guide-2-signed.html" width="150"></fb:like>
  </li>
</ul>

In FABPress:

  <!-- Review Aggregate -->
  <!-- Social Bookmarks -->
</ul>

Based on that, I would have to conclude that FABPress does not have the Facebook module enabled.

 

And neither FABPress or Nucleus has the AddThis module enabled. Or they are not able to be enabled.

Link to comment
Share on other sites

Both sites have AddThis enabled in the Social media plugins section of Cubecart, I see this on the Fab Press product pages:

 

 

 

<!-- Social Bookmarks -->
                                                                                            <li class="bookmarks">
                                                                                                            <div class="addthis_toolbox addthis_default_style social_wrapper" style="height: 18px">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_preferred_5"></a>
<a class="addthis_button_preferred_6"></a>
<a class="addthis_button_preferred_7"></a>
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=ra-5200e595386c5d5f" class="addthis_button_compact">Share</a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=ra-5200e595386c5d5f"></script>
                                                                                                            
                                                                                                                                                                <script>Modernizr.load('https://apis.google.com/js/plusone.js');</script>
                                                        <div class="g-plusone" data-size="small" data-annotation="" data-count="true"></div>
                                                                                                    </li>

 

 

and this on the Nucleus product pages:

 

 

 

<!-- Social Bookmarks -->
                                                                                            <li class="bookmarks">
                                                                                                            <script src="//connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like show_faces="true" colorscheme="dark" layout="button_count" href="http://www.nucleusfilms.com/video-nasties-the-definitive-guide-2-signed.html" width="150"></fb:like>
                                                                                                            <div class="addthis_toolbox addthis_default_style social_wrapper" style="height: 18px">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_preferred_5"></a>
<a class="addthis_button_preferred_6"></a>
<a class="addthis_button_preferred_7"></a>
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=ra-51ed4555069430e7" class="addthis_button_compact">Share</a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=ra-51ed4555069430e7"></script>
                                                                                                                                                        </li>
                                                                                    </ul>
Link to comment
Share on other sites

For the briefest of moments, switch the skin to a stock CubeCart skin -- Kurouto, perhaps. (But then, I'm sure you ruled out the skin to begin with. But you didn't mention that.)

 

If Addthis does not show on Kurouto, then we have narrowed it down to the module.


Again, in Nucleus, in the source code I am having my browser show, I find nothing with the word 'addthis'.

Link to comment
Share on other sites

Ok, I found out what I was doing wrong: I needed to agree to the Cookie Acceptance Policy as presented at the lower-right corner.

 

Until the CAP is accepted, no social modules that cause to be fetched different-domain resources will be permitted to place anything on the page.

 

Now, in Nucleus and FABPress, I see the simple link 'Share'. (That's because I have not given scripts from Addthis permission to run.)

Link to comment
Share on other sites

Sadly it's more complex than this - he has indeed ticked the CAP acceptance. He sees no social media options but from here I see three rows. AddThis / Facebook / Google+

 

I think it may be a firewall or security setting somewhere on his Mac or router etc perhaps?

Link to comment
Share on other sites

Does your friend at least see the 'Share' link as defined by this line of code?

<a href="http://www.addthis.c...200e595386c5d5f" class="addthis_button_compact">Share</a>

If the Addthis javascript is supposed replace the Share link with buttons, and the word 'Share' link is not showing, then I think the javascript may be working - by hiding the word 'Share' - but not replacing it by any button images.

 

If the firewall lets the javascript be fetched, I see no reason to deny the images.

Link to comment
Share on other sites

Can your friend engage his browser's diagnostic panel? In IE, it's F12. In Firefox, it's the Firebug plugin or Tools, Web Developer, Network. I'm sure Safari has something similar. The Network tracer will show the traffic. It will show if the browser is making the request for the Addthis buttons and whether or not they get delivered.

Link to comment
Share on other sites

OK, I've now worked out the problem. My Mac wasn't displaying the green cookie compliance token in the bottom left corner of the browser, and the social media options were working fine.

 

On other computers, it is displayed and the social media link are not being displayed. I switced off cookie compliance mode and voilà, there they all were.

 

So it would appear that it's a bug of some sort which is interfering with social media settings and cookie compliance settings.

 

How to fix?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...