Title: [Plugin: Content Warning] Updating an old plugin and adding functionality?
Last modified: August 19, 2016

---

# [Plugin: Content Warning] Updating an old plugin and adding functionality?

 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/)
 * I’m actually in the process of updating this awesome plugin by [rajeevan](http://www.rjeevan.com/projects/wordpress/plugins/wp-door/wp-door-wordpress-plugin-for-content-warning).
   The thing is that I, like others, need only certain pages/posts protected. Therefore
   I am adding a few hooks to the already awesome plugin but was wondering one thing…
   should I submit it under a V2 title? Or just send it to the original author, 
   if he/she can be contacted?
 * [http://wordpress.org/extend/plugins/content-warning/](http://wordpress.org/extend/plugins/content-warning/)

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/?output_format=md)

 *  [tempor](https://wordpress.org/support/users/tempor/)
 * (@tempor)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922256)
 * It is an abandoned plugin.
 * It is also a very needed plugin.
 * Please do all of us a favor and make a V2 version!!! It is not unusual you know…
 * Be well.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922258)
 * Haha, honestly I only needed one person to say “do it” well looks like I know
   what i’ll be doin’ on my next day off work. 🙂
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922283)
 * Let us know when V2 is out!
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922284)
 * Any feature requests would be greatly appreciated asides from the regular “warning-
   per-post”
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922285)
 * As far as I can tell the “Cookie Expiry Time” does not work. It would be nice
   to disable the warning after people click OK for say a day, month, year, forever.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922286)
 * I know the “Cookie Expiry Time” works because on my clients site I have it set
   to expire every 24 hours, and in that time frame I always get a popup. However,
   I do agree it would be easier to simply have a selection of days, months, or 
   years rather than do the calculations yourself.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922287)
 * I think I’ll localize this also. Any objections just say so.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922294)
 * Maybe I don’t understand how the cookie is supposed to work. I thought that you
   would not receive another content warning until the cookie expired?
 * Sorry for not being up on the lingo but what do you mean by “localize this”?
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922295)
 * To see what you were talking about, I set the timeout to between 1 and 90 seconds.
   I too found that by doing that the cookie timeout doesn’t work. Though after 
   sifting through the code, there isn’t an issue with the functions, everything
   is nailed tight and all functions are properly used, this leads me to believe
   it’s a browser thing.
 * Localizing a WordPress plugin basically means I’ll provide the English language
   translations files, and others will be able to translate as needed.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [15 years ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922307)
 * I’ve tried this with several browsers, MSIE, Firefox and Chrome. I get the warning
   every time I start a new session with my website no matter what I have the cookies
   set to.
 * It would be nice to click “Enter” and not be asked again for a week, month or
   whatever.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922330)
 * I’ve had to give up on this and other popups as they disappear behind flash videos
   in posts. I’m unable to add wmode=”opaque” to every video. If someone knows another
   way to get this popup OVER flash videos let me know.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922331)
 * maybe user jquery to automatically add it to the appropriate tag
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922333)
 * [@jerry](https://wordpress.org/support/users/jerry/): I’m not sure what you mean
   by that?
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922335)
 * If you want to use wpmode=”opaque” you can automatically add it via jQuery. Jquery
   had it’s way of adding and subtracting elements from the DOM.
 * Adobe tells you how to do it manually via the HTML: [http://kb2.adobe.com/cps/142/tn_14201.html#main_Editing_HTML_code_manually](http://kb2.adobe.com/cps/142/tn_14201.html#main_Editing_HTML_code_manually)
 * Since you know that now, you can do it dynamically with jQuery manipulation methods.
   [http://api.jquery.com/category/manipulation/](http://api.jquery.com/category/manipulation/)
 * Still curious or confused, just let me know and I’ll write it for ya 🙂
 *  [Nevis-1](https://wordpress.org/support/users/nevis-1/)
 * (@nevis-1)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/#post-1922338)
 * Jerry, any news on your progress on this plugin? I REALLY need it for an upcoming
   project.
 * Thanks for your efforts so far.

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/?output_format=md)

The topic ‘[Plugin: Content Warning] Updating an old plugin and adding functionality?’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/content-warning.svg)
 * [Content Warning](https://wordpress.org/plugins/content-warning/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-warning/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-warning/)
 * [Active Topics](https://wordpress.org/support/plugin/content-warning/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-warning/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-warning/reviews/)

 * 29 replies
 * 4 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/phyrax/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922353)
 * Status: not resolved