Support » Plugin: Cookie Consent » cookie bar persists throughout site and on refresh

  • Resolved rickooko

    (@rickooko)


    Hi…thanks for the sweet plugin, seems to be working fine but…

    I have an issue with the plugin persisting throughout my site whenever I open/reopen a page. I saw elsewhere on this support thread that the plugin sets its own cookie but not sure this is happening on my site (www.editionsfinancial.co.uk). Has anyone else experienced this?

    Please let me know if any further info required or if this has been already covered elsewhere.

    Cheers

    …Rick.

    http://wordpress.org/extend/plugins/uk-cookie-consent/

Viewing 15 replies - 1 through 15 (of 21 total)
  • mikeotgaar

    (@mikeotgaar)

    Likely a caching problem – a known bug.
    Could you confirm this, and let us know what caching system you use.

    I’m working on this issue with W3 Total Cache, so any information will help – even if a different cache system is used

    Thanks

    rickooko

    (@rickooko)

    Thanks for getting back to me…apologies if this seems like a stupid question…how would I find out which caching system is being used?

    Cheers

    …Rick.

    Catapult

    (@catapult)

    What version of the plugin are you using?

    I can’t see that you’re using a caching plugin on your site – the caching bug was fixed on a previous version of the plugin anyhow.

    Can you confirm you have wp_footer() present in your theme?

    rickooko

    (@rickooko)

    Version 1.4.2.

    Should I be using a caching plugin?

    I can’t see wp_footer() in the theme (this is a custom theme developed by a freelance developer a couple of years ago)…I can see a reference to it in the footer.php, where should it reside?

    Thanks again for getting back to me.

    mikeotgaar

    (@mikeotgaar)

    The reference to wp_footer is in theme file footer.php
    Usually at or near the end of the file.
    The common correct use is
    <?php wp_footer(); ?>
    You also need to check your page/post template files for something like this
    <?php get_footer(); ?>to make sure the footer is being called

    Should you be using a cache plugin? – In my opinion – definitely

    rickooko

    (@rickooko)

    Cheers Mike…

    Yup – ‘wp-footer()’ is being correctly called in ‘footer.php’ and ‘get_footer()’ is being called correctly from pages and posts.

    Will look into getting a cache plugin set up, had no idea this should be part of the site.

    Hi Guys,

    I have the same problem. I have installed the plug in and it works fine but when I refresh some of the pages, the cookie bar come up about 2 seconds. I see wp_footer() in footer.php.
    http://www.short-breaksuk.co.uk/cloudtexo/

    please help.

    Thanks

    This plug-in appears on all pages. Is this an issue with the latest wordpress update? Either way the issue doesn’t seem to have been resolved and Im wasting time. Think Im going to have to look elsewhere.

    @madina
    The plugin works ok for me on WP 3.7 and 3.7.1 (also worked on 3.6 and 3.6.1)
    Of course yuor browser must be set to accept cookies! – suggest try the usual of disable other plugins, try with standard themes 2011/2012/2013 to see if there is a conflict.

    @tzaw,
    yes, I agree with what you see – I looked into this, and it’s because the default setting shows the cookie consent bar, and only hides it after loading when it has checked a cookie exists on the client pc.
    I have tested a slight tweak so that the default is “OFF”, (since it does not matter if there is a little delay before it displays for folks that have not accepted cookies!) The author may add this to the next update, which would be nice 🙂

    @chrishe
    I’d like to try your tweak. Is there anyway you can post the code mod somewhere?

    Yes, ok, I have posted the changes in the “hacks” forum. Try this link:
    http://wordpress.org/support/topic/uk-cookie-consent-avoid-flashes-of-cookie-bar?replies=1#post-4869670

    Just to let you know that I’m updating the plugin to switch the logic and should be releasing a new version later today.

    @catapult
    Oh that’s excellent news for all then – I should have been a little slower off the mark!
    Cheers, and many thanks for an excellent plugin!

    Hi there
    We also experiencing the same issue, http://whatgreenhome.com/
    Will be great to get a fix!
    Thanks a lot, plugin works great apart from this [first] glitch obviously!

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘cookie bar persists throughout site and on refresh’ is closed to new replies.