WordPress.org

Ready to get started?Download WordPress

Forums

WP Bannerize
[resolved] Clicks only increment if logged in (10 posts)

  1. ninjaboobman
    Member
    Posted 2 years ago #

    Clicks only get counted when logged in but not for other normal visitors.
    I think it has to do with not being able to set variable
    wpBannerizeJavascriptLocalization because it gets set from this bit of code:

    var wpBannerizeJavascriptLocalization = {
    	ajaxURL: "http://www.domainname.com/wp-admin/admin-ajax.php"
    };

    which won't do anything because it is under wp-admin

    How can I fix this?

    http://wordpress.org/extend/plugins/wp-bannerize/

  2. ninjaboobman
    Member
    Posted 2 years ago #

    still waiting for a reply. Click counter not working at all unless logged into admin.

  3. gfazioli
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    This issue in not true for me.

    Pelasse, check again your environment , because you are alone that report this issue.

    Regards
    GF

  4. paulhobart
    Member
    Posted 2 years ago #

    Nope, not alone. It happens on my site too.

    This is a DEAL BREAKER bug for me. I can't use this plug in if it doesn't report clicks.

  5. gfazioli
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    Please, check for me the 3.0.9 revision. I think that different WordPress installation has different behaviour.

    Let me know if all works properly
    Thx

  6. paulhobart
    Member
    Posted 2 years ago #

    Beautiful! It works now! Thank you so much!

  7. ninjaboobman
    Member
    Posted 2 years ago #

    Works for us as well!

    Thanks!

  8. gfazioli
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    thanks to all for your reports and patience ;)

    regards
    GF

  9. danielsl
    Member
    Posted 2 years ago #

    Not click counting for me, also :-( I am using v 3.0.10.

    This is pity, because the counting is the main point of the plugin, at least for me.

    Any idea?

  10. absolutex
    Member
    Posted 1 year ago #

    <script type='text/javascript'>
    /* <![CDATA[ */
    var wpBannerizeJavascriptLocalization = {
    	ajaxURL: "<? bloginfo('url');?>/wp-admin/admin-ajax.php"
    };
    /* ]]> */
    </script>
    <script type='text/javascript' src='<? bloginfo('url');?>/wp-content/plugins/wp-bannerize/js/wpBannerizeFrontend.min.js?ver=3.0.50'></script>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic