Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Shareaholic

    (@shareaholic)

    Plugin Author Shareaholic

    (@shareaholic)

    Also, if you have minification turned on, ensure that you exclude Shareaholic.js from it. Shareaholic code is already minified and optimized, so this is redundant anyways.

    • This reply was modified 8 years, 3 months ago by Shareaholic.
    Thread Starter ClaitonLord

    (@claitonlord)

    Ok. I did exclude Shareaholic.js in ‘never minify the following JS files’. Nothing changed. Is this the right path to exclude?

    • This reply was modified 8 years, 3 months ago by ClaitonLord.
    Thread Starter ClaitonLord

    (@claitonlord)

    Or this one: wp-content/plugins/shareaholic/public_js.php?

    Plugin Author Shareaholic

    (@shareaholic)

    Did you clear you W3 cache after you made the changes?

    Try:

    /pub/shareaholic.js

    Plugin Author Shareaholic

    (@shareaholic)

    I also recommend turning off all minification and seeing if that works. Always remember to clear your W3 cache after each of these changes to ensure the latest code loads/gets cached.

    Thread Starter ClaitonLord

    (@claitonlord)

    Yes i did.

    Adding this line gave me problems. I did add the code, empty the cache of my browser, WP and host and resulted in very slow page loading en images not displayd ??

    Plugin Author Shareaholic

    (@shareaholic)

    Can you try contacting W3 support? They’re obviously doing something to the JS. Shareaholic.js should be included on your pages, and something is stripping it away.

    The following is the complete path/code:

    <script type='text/javascript' data-cfasync='false'
            src='//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js'
            data-shr-siteid='YOUR SITE ID' async='async' >
    </script>
    • This reply was modified 8 years, 3 months ago by Shareaholic.
    Thread Starter ClaitonLord

    (@claitonlord)

    UPDATE: Shareaholic is back turning off all minification, but the text on my page isnt displayd right. It looks like its missing javascript. All caches are emptied.

    Thread Starter ClaitonLord

    (@claitonlord)

    Turned off W3 and problem persists. Man, im so tired of this. I also run Autoptimizer. But it worked fine before i install W3!

    Plugin Author Shareaholic

    (@shareaholic)

    Appears to be working now? Just visited the example page with a hard browser refresh and it looks great!

    Thread Starter ClaitonLord

    (@claitonlord)

    ahha..well, i restored a back up. Everything is working now, because minify was turned-off till this point. But the question is, how should i get my minification fixed? Turning this on will make Shareaholic dissappear, thats not a good thing.

    The W3 forum is inactive as hell, so that wont make any sense to drop a question there. Can you please help me out? I can email you my login if you OK with that. Thanks.

    Plugin Author Shareaholic

    (@shareaholic)

    Try whitelisting a few variants of the JS file path to see if it works:

    dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js
    /assets/pub/shareaholic.js
    //dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js
    shareaholic.js
    Thread Starter ClaitonLord

    (@claitonlord)

    I stopped trying. W3 is doing something with my javascript. I deactivated it. Tired of it. Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Shareaholic stopped after W3 Total Cache usage’ is closed to new replies.