Version Description
- Checking with the last update
- Unwanted ad removed
Download this release
Release Info
Developer | wp-buy |
Plugin | WP Content Copy Protection & No Right Click |
Version | 1.7.3 |
Comparing to | |
See all releases |
Code changes from version 1.7 to 1.7.3
- admin-core.php +41 -6
- images/ad.png +0 -0
- preventer-index.php +8 -4
- readme.txt +11 -2
admin-core.php
CHANGED
@@ -169,6 +169,44 @@ background: #FFFFFF;
|
|
169 |
max-width: 100%;
|
170 |
}
|
171 |
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
<div id="aio_admin_main">
|
173 |
<form method="POST">
|
174 |
<input type="hidden" value="update" name="action">
|
@@ -261,13 +299,11 @@ background: #FFFFFF;
|
|
261 |
<p><font face="Tahoma" size="2"> Use Premium Settings tab to customize more options</font></td>
|
262 |
</tr>
|
263 |
<tr>
|
264 |
-
<td width="221" height="33"><font face="Tahoma" size="2">Exclude
|
265 |
-
<u>Admin</u> from protection</font></td>
|
266 |
<td>
|
267 |
<p align="center"><font color="#FF0000">Premium</font></td>
|
268 |
<td align="left">
|
269 |
-
<font face="Tahoma" size="2"> If <u>Yes</u>, The protection
|
270 |
-
functions will be inactive for the admin when he is logged in</font></td>
|
271 |
</tr>
|
272 |
<tr>
|
273 |
<td width="221" height="33"><font face="Tahoma" size="2">Selection disabled message</font></td>
|
@@ -474,5 +510,4 @@ background: #FFFFFF;
|
|
474 |
</div><!-- simple tabs div end -->
|
475 |
<p align="right"><input class="btn btn-success" type="submit" value=" Save Settings " name="B4" style="width: 193; height: 29;"> </p>
|
476 |
</form>
|
477 |
-
</div>
|
478 |
-
<iframe height="100" frameborder=0 width="470" src="https://wp-buy.com/ads/stats.php"></iframe>
|
169 |
max-width: 100%;
|
170 |
}
|
171 |
</style>
|
172 |
+
<div id="wpccp_subscribe" class="notice notice-info is-dismissible">
|
173 |
+
<?php $admin_email_wccp = get_bloginfo("admin_email"); ?>
|
174 |
+
<table style="background-image:url(<?php echo $pluginsurl ?>/images/ad.png);background-repeat:no-repeat;" border="0" width="100%" cellspacing="0" cellpadding="0">
|
175 |
+
<tr>
|
176 |
+
<td><h2 style="background-color:#FFFFFF;padding:3px;" class="alert-heading"><?php _e("WP Content Protection Plugin Group", 'wccp_free_translation_lang') ?></h2></td>
|
177 |
+
<td rowspan="2">
|
178 |
+
<p align="center"><a href="#" onclick="wpccp_dismiss_notice()"><?php _e('Dismiss', 'wccp_free_translation_lang'); ?> </a></td>
|
179 |
+
</tr>
|
180 |
+
<tr>
|
181 |
+
<td style="padding-left: 77px;">
|
182 |
+
<h4>
|
183 |
+
<?php echo __("Begin your adventure to improve your WordPress website, Also you will win a ", 'wccp_free_translation_lang') . ' <b style="color:red">' . __("discount codes" , 'wccp_free_translation_lang') . '</b>'; ?>
|
184 |
+
<button type="button" class="btn btn-primary wpccp_subscribe_btn" onclick='wpccp_open_subscribe_page();'> <?php _e("Start it!", 'wccp_free_translation_lang'); ?> </button>
|
185 |
+
</h4>
|
186 |
+
</td>
|
187 |
+
</tr>
|
188 |
+
</table>
|
189 |
+
</div>
|
190 |
+
<script>
|
191 |
+
function wpccp_dismiss_notice()
|
192 |
+
{
|
193 |
+
localStorage.setItem('wpccp_subscribed', 'wpccp_subsbc_user');
|
194 |
+
document.getElementById("wpccp_subscribe").style.display="none";
|
195 |
+
}
|
196 |
+
|
197 |
+
function wpccp_open_subscribe_page()
|
198 |
+
{
|
199 |
+
if(localStorage.getItem('wpccp_subscribed') !='wpccp_subsbc_user')
|
200 |
+
{
|
201 |
+
window.open('https://www.wp-buy.com/wpccp-subscribe/?email=<?php echo $admin_email_wccp; ?>','_blank');
|
202 |
+
}
|
203 |
+
}
|
204 |
+
|
205 |
+
if(localStorage.getItem('wpccp_subscribed') =='wpccp_subsbc_user')
|
206 |
+
{
|
207 |
+
document.getElementById("wpccp_subscribe").style.display="none";
|
208 |
+
}
|
209 |
+
</script>
|
210 |
<div id="aio_admin_main">
|
211 |
<form method="POST">
|
212 |
<input type="hidden" value="update" name="action">
|
299 |
<p><font face="Tahoma" size="2"> Use Premium Settings tab to customize more options</font></td>
|
300 |
</tr>
|
301 |
<tr>
|
302 |
+
<td width="221" height="33"><font face="Tahoma" size="2">Exclude <u>Admin</u> from protection</font></td>
|
|
|
303 |
<td>
|
304 |
<p align="center"><font color="#FF0000">Premium</font></td>
|
305 |
<td align="left">
|
306 |
+
<font face="Tahoma" size="2"> If <u>Yes</u>, The protection functions will be inactive for the admin when he is logged in</font></td>
|
|
|
307 |
</tr>
|
308 |
<tr>
|
309 |
<td width="221" height="33"><font face="Tahoma" size="2">Selection disabled message</font></td>
|
510 |
</div><!-- simple tabs div end -->
|
511 |
<p align="right"><input class="btn btn-success" type="submit" value=" Save Settings " name="B4" style="width: 193; height: 29;"> </p>
|
512 |
</form>
|
513 |
+
</div>
|
|
images/ad.png
ADDED
Binary file
|
preventer-index.php
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
-
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Content Copy Protection & No Right Click
|
4 |
Plugin URI: http://wordpress.org/plugins/w-p-content-copy-protector/
|
5 |
Description: This wp plugin protect the posts content from being copied by any other web site author , you dont want your content to spread without your permission!!
|
6 |
-
Version: 1.7.
|
7 |
Author: wp-buy
|
|
|
|
|
8 |
Author URI: http://www.wp-buy.com/
|
9 |
*/
|
10 |
?>
|
@@ -168,15 +170,17 @@ function alert_message()
|
|
168 |
</script>
|
169 |
<?php
|
170 |
global $wccp_settings;
|
|
|
|
|
171 |
if($wccp_settings['prnt_scr_msg'] != ''){ ?>
|
172 |
<style>
|
173 |
@media print {
|
174 |
-
body * {
|
175 |
body:after {
|
176 |
content: "<?php echo $wccp_settings['prnt_scr_msg']; ?>"; }
|
177 |
}
|
178 |
</style>
|
179 |
-
<?php } ?>
|
180 |
<style type="text/css">
|
181 |
#wpcp-error-message {
|
182 |
direction: ltr;
|
1 |
+
<?php
|
2 |
/*
|
3 |
Plugin Name: WP Content Copy Protection & No Right Click
|
4 |
Plugin URI: http://wordpress.org/plugins/w-p-content-copy-protector/
|
5 |
Description: This wp plugin protect the posts content from being copied by any other web site author , you dont want your content to spread without your permission!!
|
6 |
+
Version: 1.7.3
|
7 |
Author: wp-buy
|
8 |
+
Text Domain: wccp_free_translation_lang
|
9 |
+
Domain Path: /languages
|
10 |
Author URI: http://www.wp-buy.com/
|
11 |
*/
|
12 |
?>
|
170 |
</script>
|
171 |
<?php
|
172 |
global $wccp_settings;
|
173 |
+
if(array_key_exists('prnt_scr_msg', $wccp_settings))
|
174 |
+
{
|
175 |
if($wccp_settings['prnt_scr_msg'] != ''){ ?>
|
176 |
<style>
|
177 |
@media print {
|
178 |
+
body * {display: none !important;}
|
179 |
body:after {
|
180 |
content: "<?php echo $wccp_settings['prnt_scr_msg']; ?>"; }
|
181 |
}
|
182 |
</style>
|
183 |
+
<?php }} ?>
|
184 |
<style type="text/css">
|
185 |
#wpcp-error-message {
|
186 |
direction: ltr;
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: wp-buy
|
3 |
Donate link: http://goo.gl/UJVpbi
|
4 |
Tags: content, content copy protection, content protection, copy protection, prevent copy, protect blog, image protect, image protection, no right click, plagiarism, secure content, content theft
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: trunk
|
8 |
|
9 |
This wp plugin protect the posts content from being copied by any other web site author (content copy protection) , you dont want your content to spread without your permission!!
|
@@ -64,6 +64,15 @@ your posts extremely simple without yelling at your readers</li>
|
|
64 |
</ul>
|
65 |
|
66 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
= 1.7.1 =
|
68 |
<ul>
|
69 |
<li>Add dismiss button to the end of upgrade message</li>
|
2 |
Contributors: wp-buy
|
3 |
Donate link: http://goo.gl/UJVpbi
|
4 |
Tags: content, content copy protection, content protection, copy protection, prevent copy, protect blog, image protect, image protection, no right click, plagiarism, secure content, content theft
|
5 |
+
Requires at least: 3.5
|
6 |
+
Tested up to: 5.4
|
7 |
Stable tag: trunk
|
8 |
|
9 |
This wp plugin protect the posts content from being copied by any other web site author (content copy protection) , you dont want your content to spread without your permission!!
|
64 |
</ul>
|
65 |
|
66 |
== Changelog ==
|
67 |
+
= 1.7.3 =
|
68 |
+
<ul>
|
69 |
+
<li>Checking with the last update</li>
|
70 |
+
<li>Unwanted ad removed</li>
|
71 |
+
</ul>
|
72 |
+
= 1.7.2 =
|
73 |
+
<ul>
|
74 |
+
<li>Fix the error Undefined index: prnt_scr_msg in preventer-index.php on line 171</li>
|
75 |
+
</ul>
|
76 |
= 1.7.1 =
|
77 |
<ul>
|
78 |
<li>Add dismiss button to the end of upgrade message</li>
|