WordPress.org

Ready to get started?Download WordPress

Forums

UK Cookie Consent
[resolved] cookie bar persists throughout site and on refresh (22 posts)

  1. rickooko
    Member
    Posted 1 year ago #

    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/

  2. mikeotgaar
    Member
    Posted 12 months ago #

    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

  3. rickooko
    Member
    Posted 11 months ago #

    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.

  4. Catapult
    Member
    Plugin Author

    Posted 11 months ago #

    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?

  5. rickooko
    Member
    Posted 11 months ago #

    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.

  6. mikeotgaar
    Member
    Posted 11 months ago #

    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

  7. rickooko
    Member
    Posted 11 months ago #

    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.

  8. TZaw
    Member
    Posted 9 months ago #

    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

  9. madina
    Member
    Posted 8 months ago #

    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.

  10. chrisHe
    Member
    Posted 8 months ago #

    @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.

  11. chrisHe
    Member
    Posted 8 months ago #

    @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 :)

  12. mikeotgaar
    Member
    Posted 8 months ago #

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

  13. chrisHe
    Member
    Posted 8 months ago #

    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

  14. Catapult
    Member
    Plugin Author

    Posted 8 months ago #

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

  15. chrisHe
    Member
    Posted 8 months ago #

    @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!

  16. renre
    Member
    Posted 8 months ago #

    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!

  17. Catapult
    Member
    Plugin Author

    Posted 8 months ago #

    It's fixed in the latest version. Please update to 1.6.

  18. renre
    Member
    Posted 8 months ago #

    Great stuff.
    For some reason I can't see a pending update on the plugins update page on the back end. I can see I have Version 1.31 installed.
    Am I missing something? Any way around to update another way?

  19. Catapult
    Member
    Plugin Author

    Posted 8 months ago #

    Hmmm - you could deactivate, delete, then re-install the plugin. You shouldn't lose any settings.

    Don't know why you can't see a pending update.

  20. renre
    Member
    Posted 8 months ago #

    Sure, thanks - will do that.
    Cheers

  21. renre
    Member
    Posted 8 months ago #

    ps. thanks for the plugin!

  22. mikeotgaar
    Member
    Posted 7 months ago #

    Latest update seems to have fixed this ongoing issue! Thanks Catapult

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic