WP-CopyProtect [Protect your blog posts] - Version 1.2

Version Description

Download this release

Release Info

Developer cchetanonline
Plugin Icon wp plugin WP-CopyProtect [Protect your blog posts]
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

Files changed (2) hide show
  1. readme.txt +1 -1
  2. wp-copyprotect.php +10 -9
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.thechetan.com/
4
  Tags: post, posts, copy, protect, right, click, disable, copyprotect
5
  Requires at least: 2.5
6
  Tested up to: 2.6.5
7
- Stable tag: 1.0
8
 
9
  Protect your blog content from being copied. A simple plug-in developed to stop the Copy cats
10
 
4
  Tags: post, posts, copy, protect, right, click, disable, copyprotect
5
  Requires at least: 2.5
6
  Tested up to: 2.6.5
7
+ Stable tag: 1.1
8
 
9
  Protect your blog content from being copied. A simple plug-in developed to stop the Copy cats
10
 
wp-copyprotect.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-CopyProtect
4
  Plugin URI: http://www.thechetan.com/wp-copyprotect
5
  Description: This plug-in will protect your blog content from being copied. A simple plug-in developed to stop the Copy cats.
6
- Version: 1.0
7
  Author: Chetan Gole
8
  Author URI: http://www.thechetan.com/
9
  */
@@ -32,7 +32,7 @@ function CopyProtect_no_right_click($CopyProtect_click_message)
32
  <!--
33
 
34
  /***************************************************************************************************************
35
- *Copyprotection for this site is provided by WP-CopyProtect visit TheChetan.com/wp-copyprotect for more details
36
  *RightClick Disabled, Please DO NOT COPY.
37
  ***************************************************************************************************************/
38
 
@@ -80,7 +80,7 @@ function CopyProtect_no_select()
80
  <script type="text/javascript">
81
 
82
  /***************************************************************************************************************
83
- *Copyprotection for this site is provided by WP-CopyProtect visit TheChetan.com/wp-copyprotect for more details
84
  *Selection Disabled, Please DO NOT COPY.
85
  ***************************************************************************************************************/
86
 
@@ -121,7 +121,7 @@ function CopyProtect_options_page()
121
  update_option('CopyProtect_nts',$_POST['CopyProtect_nts']);
122
  update_option('CopyProtect_nrc_text',$_POST['CopyProtect_nrc_text']);
123
 
124
- echo '<div class="updated"><p>Commands accepted. Options saved successfully.</p></div>';
125
  }
126
  $wp_CopyProtect_nrc = get_option('CopyProtect_nrc');
127
  $wp_CopyProtect_nts = get_option('CopyProtect_nts');
@@ -130,7 +130,8 @@ function CopyProtect_options_page()
130
  <h2>WP-CopyProtect Options</h2>
131
  <form method="post" id="CopyProtect_options">
132
  <fieldset class="options">
133
- <legend>Now, its the time to bang the copy cats, select your options below</legend>
 
134
  <h2>Options</h2>
135
  <table width="100%" cellspacing="2" cellpadding="5" class="editform">
136
 
@@ -138,10 +139,10 @@ function CopyProtect_options_page()
138
  <th width="33%" scope="row">Disable right mouse click:</th>
139
  <td>
140
  <input type="checkbox" id="CopyProtect_nrc" name="CopyProtect_nrc" value="CopyProtect_nrc" <?php if($wp_CopyProtect_nrc == true) { echo('checked="checked"'); } ?> />
141
- check to activate
142
  <br />
143
  <input name="CopyProtect_nrc_text" type="text" id="CopyProtect_nrc_text" value="<?php echo get_option('CopyProtect_nrc_text') ;?>" size="30"/>
144
- This warning will be given to right clickers.
145
  </td>
146
  </tr>
147
  <tr valign="top">
@@ -153,8 +154,8 @@ function CopyProtect_options_page()
153
  </tr>
154
  </table>
155
  <p class="submit"><input type="submit" name="CopyProtect_save" value="Save" /></p>
156
- <h2>Any Problems ?? </h2>
157
- <p> Visit <a href="http://www.thechetan.com/">www.TheChetan.com</a></p>
158
  </fieldset>
159
  </form>
160
  </div>
3
  Plugin Name: WP-CopyProtect
4
  Plugin URI: http://www.thechetan.com/wp-copyprotect
5
  Description: This plug-in will protect your blog content from being copied. A simple plug-in developed to stop the Copy cats.
6
+ Version: 1.1
7
  Author: Chetan Gole
8
  Author URI: http://www.thechetan.com/
9
  */
32
  <!--
33
 
34
  /***************************************************************************************************************
35
+ *Copyprotection for this site is provided by WP-CopyProtect visit TheChetan.com/wp-copyprotect/ for more details
36
  *RightClick Disabled, Please DO NOT COPY.
37
  ***************************************************************************************************************/
38
 
80
  <script type="text/javascript">
81
 
82
  /***************************************************************************************************************
83
+ *Copyprotection for this site is provided by WP-CopyProtect visit TheChetan.com/wp-copyprotect/ for more details
84
  *Selection Disabled, Please DO NOT COPY.
85
  ***************************************************************************************************************/
86
 
121
  update_option('CopyProtect_nts',$_POST['CopyProtect_nts']);
122
  update_option('CopyProtect_nrc_text',$_POST['CopyProtect_nrc_text']);
123
 
124
+ echo '<div class="updated"><p>Commands accepted</p></div>';
125
  }
126
  $wp_CopyProtect_nrc = get_option('CopyProtect_nrc');
127
  $wp_CopyProtect_nts = get_option('CopyProtect_nts');
130
  <h2>WP-CopyProtect Options</h2>
131
  <form method="post" id="CopyProtect_options">
132
  <fieldset class="options">
133
+ <legend>Now, its the time to bang the copy cats.</legend>
134
+ <legend>Select the proper options as per your needs</legend>
135
  <h2>Options</h2>
136
  <table width="100%" cellspacing="2" cellpadding="5" class="editform">
137
 
139
  <th width="33%" scope="row">Disable right mouse click:</th>
140
  <td>
141
  <input type="checkbox" id="CopyProtect_nrc" name="CopyProtect_nrc" value="CopyProtect_nrc" <?php if($wp_CopyProtect_nrc == true) { echo('checked="checked"'); } ?> />
142
+ check to activate (I do not recommand to switch on this option, as above option is sufficient to stop content theft)
143
  <br />
144
  <input name="CopyProtect_nrc_text" type="text" id="CopyProtect_nrc_text" value="<?php echo get_option('CopyProtect_nrc_text') ;?>" size="30"/>
145
+ This warning will be given to right clickers in warning box.
146
  </td>
147
  </tr>
148
  <tr valign="top">
154
  </tr>
155
  </table>
156
  <p class="submit"><input type="submit" name="CopyProtect_save" value="Save" /></p>
157
+ <h2>Any Problems, Suggestion, question .... </h2>
158
+ <p> Visit <a href="http://www.thechetan.com/wp-copyprotect/">TheChetan.com/wp-copyprotect/</a></p>
159
  </fieldset>
160
  </form>
161
  </div>