• Hi there, nice plugin!

    So, I was wondering if I can set up cookies to the box appear in 1 to 1 hour or even less than that because I want to display ads on this box, but I don’t want to set time to 0 because it will become a bad experience for the users by appearing in every page that they open, you know.
    So can you specify how can I do that to change the cookie time to minutes/hours or even better, you could do an upgrade of it to the next plugin’s update… it will be very helpful, not just only for me but for many others I think.

    Best Regards

    Hélio

    https://www.ads-software.com/plugins/dreamgrow-scroll-triggered-box/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The problem is the way they call jquery-cookie file within their scripts. It looks like mod_security is blocking it(assuming you run on apache) and therefore causing the cookie to be never set on the client.

    The easiest solution is the following:

    1) Change the filename jquery-cookie.js to jquery-cooki.js. (the files are located under /wp-content/plugins/dreamgrow-scroll-triggered-box)

    2) In the index.php go to function stb_enqueue_scripts() and change the filename inside the function to jquery-cooki.js

    That’s it. If you have a Firebug, you can now see that the cookie is set.

    xtrecoolx,

    Tried your fix but it still pops up on some pages. I think the current version might be incompatible with caching plugins like Hypercache.

    This thread helped me out ?? I had W3 Total Cache plugin running and the triggered box kept up showing on every page.

    I de-activated the W3 Total Cache plugin and now it is working fine.

    Is there a fix for this? It looks like caching totally breaks this plugin and destroys cookie functionality.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cookie Time’ is closed to new replies.