Hello
someone here who boost and the addthis module works for anonymous users ? i test it now a while but no luck...i try ajaxblocks and the same the toolbox does not appear

Comments

sergmain’s picture

Some my sites work correctly with boost/addthis/anonymous, but some not.

HTML code from broken site looks like:

  <div class="block block-addthis" id="block-addthis-0">
    <h2 class="title"></h2>
    <div class="content">
<div class='addthis_toolbox addthis_default_style addthis_32x32_style' >
<a class='addthis_toolbox_item addthis_button_facebook'></a>
<a class='addthis_toolbox_item addthis_button_twitter'></a>
<a class='addthis_toolbox_item addthis_button_expanded' ></a>
</div>
</div>
 </div>

addthis 6.x-3.0-beta1

les lim’s picture

There's nothing wrong with the HTML markup. Presumably there's some problem loading/parsing the javascript. Links would be helpful.

sergmain’s picture

site where addthis don't work: http://www.modern-talking.net/

les lim’s picture

Strange, the AddThis JS file isn't being loaded. Is Javascript caching turned on in AddThis settings?

sergmain’s picture

'Cache JavaScript file locally' is OFF
'Integrate share data with Google Analytics' is ON

gdbwb05’s picture

I had the dev. boost and removed it and this problem is still occurring. I am not a programmer so the only solution for this that I have come up with is putting the javascript code

'//s7.addthis.com/js/250/addthis_widget.js#async=1'

right before ' print $scripts; '. I know this is not the best solution. The problem I see is that the javascript from addthis.com is not being added to the pages I need it on. I am adding this in panels as a block. But, when I log in as the admin so I can rearrange everything I can see it in there within Panels. I have tried cacheing the javascript locally and it still won't work.

gdbwb05’s picture

I was able to work out the problem to nodewords -- I was using a dev version -- plus it breaks with the 6.2 version but it seems to work with 6.x-1.11.

sergmain’s picture

This issue fixed if block cache will be disabled.

Full case looks like boost/anonymous/cache block ON/addthis

gisle’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Seems to be fixed per #8.