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 14 replies - 16 through 29 (of 29 total)

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

 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922339)
 * [@nevis-1](https://wordpress.org/support/users/nevis-1/):
 * No unfortunately I haven’t even really played much with it lately. Give me a 
   week, I’ll have a v2 plugin for you guys okay.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922340)
 * Looking forward to trying it Jerry!
 *  [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/page/2/#post-1922341)
 * I look forward to it. I am really surprised that there isn’t more call for this.
   Not just for adult sites, but gambling, guns, alcohol, etc.
 * Thanks for your work.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922342)
 * Sorry for the lack of progress on the code, i haven’t even begun to start on 
   it as i have been busy getting my linux box up and running. I would like to know
   EXACTLY what features you guys would like to see in this plugin before I begin.
 * Please leave your feature requests below as I will be starting on this by Friday
   of the coming week. Please be as detailed as possible, it can be from a simple
   color change all the way to a re-write, just let me know okay.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922343)
 * I’d like it to stay “On Top” of all elements on the page, esp. flash videos &
   flash banners.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922344)
 * I’d like to be able to set it to stay gone for X number of hours/days/weeks after
   it has been clicked YES. I think the original was supposed to do that but it 
   never worked for me.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922345)
 * Not really for me but others would probably find it useful to be able to only
   have it pop up on certain posts or categories instead of the entire site. For
   G-rated sites that have the occasional NSFW post.
 *  [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/page/2/#post-1922346)
 * >  I’d like it to stay “On Top” of all elements on the page, esp. flash videos&
   > flash banners.
 * Basically what ThorsDad said in the post above, plus I would like it to show 
   up on any and all pages the visitor arrives at. Then by using a cookie say ste
   for the visit to **only** display on whatever page they land on. Does that make
   sense to you? I just want them to have to check the 18 bit on one page, no matter
   what page they land on.
 * Thanks
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922348)
 * Hey Jerry, Any progress updates? I’m curious how the project is going.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922349)
 * [@thorsdad](https://wordpress.org/support/users/thorsdad/)
    I’ve actually finished
   the plugin research and figured out where to inject my code. Once I have time
   to actually sit down and code it, I can literally have it done in 72 hours. Keep
   in mind this includes adding the following options:
    - Allow users with “Author” permissions to override the minimum age requirements
      on their posts.
    - Give administrators the ability to select between days, weeks, months, or 
      years for cookie expiration.
    - Allow admins to select between per-post or site-wide prompts. (if per-post
      is selected, it will be up to authors and administrators to un-flag their 
      posts as mature as it will be set as default to mature)
    - Add a little jQuery for those wpmode issues.
 * Of course this doesn’t go without saying, all options will have the ability to
   be enabled or disabled by administrators. Just cuz I can.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922350)
 * [@jerry](https://wordpress.org/support/users/jerry/)
 * Looking forward to it.
 * On the per-post selection wouldn’t it be better, if possible, to have the default
   be “not mature” as most per-post users would only be flagging the occasional 
   post as mature.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922351)
 * I was thinking a little differently though what you say seems reasonable also.
   I suppose an acceptable medium is to provide administrators the ability to set
   the default for the website themselves.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922352)
 * Okay ppls, I’ve finally started coding on it, got some cool JS to go along with
   it. Anyhow, I have the back-end almost done, now I gotta make some post meta 
   boxes for authors and administrators along with a few security measures to prevent
   workarounds.
 * One added feature that I failed to realize it needed was to give a drop down 
   menu for the Enter and Exit pages so admins can select a page if necessary. I
   will be leaving the URL text boxes also so you can use a custom url if you wish.
   But you will have three radio buttons per box now so you will have to select 
   rather you want to use a URL, Page, or none (just let the user view the site).
 * Due to restrictions placed upon cookies by their respective browsers, I have 
   set it up whereas you have to have the cookie expire no less than 24 hours (1
   Day). If you set it to (Days, Weeks, Months, or Years) and set the value to zero(
   0) the cookie will expire once the user closes the browser.
 * I’m also working on the wpmode workaround for those of you who need it, you will
   have to enable it via the Admin panel however.
 *  Thread Starter [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922353)
 * Okay guys, it’s FINISHED, and no I’m not joking this time. Until WordPress team
   decides to give me a repository I can provide it as a Beta to you guys if you
   wish. By doing so please understand, I’m sure you understand that posting support
   requests for a plugin that is not hosted by WordPress on the forums should be
   avoided.
 * If you guys wish to download it you can do so by going to my site: [here](http://www.jjswebs.com/content-warning-v2)
 * If you have any questions you can ask them there, please keep the WP forums clean
   of this plugin until I get the repository.

Viewing 14 replies - 16 through 29 (of 29 total)

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

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, 8 months ago](https://wordpress.org/support/topic/plugin-content-warning-updating-an-old-plugin-and-adding-functionality/page/2/#post-1922353)
 * Status: not resolved