Title: Cookie Time
Last modified: August 21, 2016

---

# Cookie Time

 *  [Pulseframe](https://wordpress.org/support/users/pulseframe/)
 * (@pulseframe)
 * [12 years ago](https://wordpress.org/support/topic/cookie-time/)
 * 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://wordpress.org/plugins/dreamgrow-scroll-triggered-box/](https://wordpress.org/plugins/dreamgrow-scroll-triggered-box/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [xtrecoolx](https://wordpress.org/support/users/xtrecoolx/)
 * (@xtrecoolx)
 * [12 years ago](https://wordpress.org/support/topic/cookie-time/#post-4924313)
 * 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.
 *  [WebKJGor](https://wordpress.org/support/users/webkjgor/)
 * (@webkjgor)
 * [12 years ago](https://wordpress.org/support/topic/cookie-time/#post-4924470)
 * 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.
 *  [Aadwork](https://wordpress.org/support/users/aadwork/)
 * (@aadwork)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/cookie-time/#post-4924513)
 * 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.
 *  [Ammalgam](https://wordpress.org/support/users/ammalgam/)
 * (@ammalgam)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cookie-time/#post-4924514)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/dreamgrow-scroll-triggered-box_99ae8b.
   svg)
 * [Scroll Triggered Box](https://wordpress.org/plugins/dreamgrow-scroll-triggered-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dreamgrow-scroll-triggered-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dreamgrow-scroll-triggered-box/)
 * [Active Topics](https://wordpress.org/support/plugin/dreamgrow-scroll-triggered-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dreamgrow-scroll-triggered-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dreamgrow-scroll-triggered-box/reviews/)

## Tags

 * [cookie](https://wordpress.org/support/topic-tag/cookie/)

 * 4 replies
 * 5 participants
 * Last reply from: [Ammalgam](https://wordpress.org/support/users/ammalgam/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/cookie-time/#post-4924514)
 * Status: not resolved