Support » Plugin: Thank You Counter Button » Doesn't count

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vladimir Garagulia


    If you still use this plugin, could you send link where it doesn’t work?

    Thread Starter qwertis


    here does it not work on:
    and on this page it does work:
    It’s a bid random..
    Thanks for your support!

    Plugin Author Vladimir Garagulia



    Compare source code of page with working button and page where button doesn’t work.
    1st page contains JavaScript code needed to plugin for work

    <script type='text/javascript'>
    /* <![CDATA[ */
    var ThanksSettings = {"plugin_url":"http:\/\/\/wp-content\/plugins\/thanks-you-counter-button","ajax_nonce":"293d3636b0","button_image_url":"http:\/\/\/wp-content\/themes\/Code\/img\/leeg.png","button_image_glow_url":"http:\/\/\/wp-content\/themes\/Code\/img\/leeg.png"};
    /* ]]> */
    <script type='text/javascript' src=''></script>

    look just before

    <div id="footer">

    Not working page doesn’t contain this JavaScript code. This is the reason.
    Open JavaScript console in the Google Chrome, you will see JavaScript errors. There are some errors related to the SyntaxHighligther at the working page also.

    Thread Starter qwertis


    The strange thing is that all the pages are generated from single.php.
    So my logic is that if one page doesn’t work, all the pages should not work.

    I fixed some errors, but i guess not the ones that causes the problem.

    When i click the button i get “Uncaught ReferenceError: thankYouChangeButtonImage is not defined” in the JavaScript console.

    Do you know how to fix this? (exept from removing SyntaxHighligther )

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Doesn't count’ is closed to new replies.