WP Armour – Honeypot Anti Spam - Version 1.5.1

Version Description

  • Added honeypot anti spam support for Caldera Forms.
Download this release

Release Info

Developer dnesscarkey
Plugin Icon 128x128 WP Armour – Honeypot Anti Spam
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5 to 1.5.1

includes/integration/wpa_calderaforms.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function wpa_calderaforms_extra_validation( ) {
3
+ if (!isset($_POST[ $GLOBALS['wpa_field_name']] )){
4
+ do_action('wpa_handle_spammers','calderaforms');
5
+ die($GLOBALS['wpa_error_message']);
6
+ }
7
+ };
8
+ add_action( 'caldera_forms_pre_load_processors', 'wpa_calderaforms_extra_validation', 10, 0 );
includes/js/wpa.js CHANGED
@@ -29,11 +29,11 @@ function wpa_add_honeypot_field(){
29
  jQuery('form.wpforms-form').append(wpa_hidden_field); // WPFFORMS
30
  jQuery('.gform_wrapper form').append(wpa_hidden_field); // GRAVITY FORMS
31
  jQuery('.frm_forms form').append(wpa_hidden_field); // Formidible forms
 
32
  }
33
 
34
  function wpa_add_test_block(){
35
  checkingTest = '<div class="wpa-test-msg"><strong>WP Armour ( Only visible for Site Administrator, Not visible for others )</strong><br />This form has honeypot trap enabled. If you want to act as spam bot for testing. Please click the button below. <br/><span class="wpa-button" onclick="wpa_act_as_spam()" data-actiontype="remove">Act as Spam Bot</span></div>';
36
-
37
  jQuery('span.wpa_hidden_field').after(checkingTest);
38
  }
39
 
29
  jQuery('form.wpforms-form').append(wpa_hidden_field); // WPFFORMS
30
  jQuery('.gform_wrapper form').append(wpa_hidden_field); // GRAVITY FORMS
31
  jQuery('.frm_forms form').append(wpa_hidden_field); // Formidible forms
32
+ jQuery('.caldera-grid form').append(wpa_hidden_field); // Caldera forms
33
  }
34
 
35
  function wpa_add_test_block(){
36
  checkingTest = '<div class="wpa-test-msg"><strong>WP Armour ( Only visible for Site Administrator, Not visible for others )</strong><br />This form has honeypot trap enabled. If you want to act as spam bot for testing. Please click the button below. <br/><span class="wpa-button" onclick="wpa_act_as_spam()" data-actiontype="remove">Act as Spam Bot</span></div>';
 
37
  jQuery('span.wpa_hidden_field').after(checkingTest);
38
  }
39
 
includes/views/wpa_sidebar.php CHANGED
@@ -34,7 +34,6 @@ ul.uaf_list{ list-style-type:square;margin-left: 2em;}
34
  <td>
35
  <ul class="uaf_list">
36
  <li><a href="https://wordpress.org/plugins/use-any-font/" target="_blank">Use Any Font</a></li>
37
- <li><a href="https://wordpress.org/plugins/email-checker/" target="_blank">Deliverability Email Validation</a></li>
38
  <li><a href="http://goo.gl/3XDDzi" target="_blank">WP Masonry Layout</a></li>
39
  <li><a href="http://wordpress.org/extend/plugins/any-mobile-theme-switcher/" target="_blank">Any Mobile Theme Switcher</a></li>
40
  <li><a href="http://wordpress.org/extend/plugins/jquery-validation-for-contact-form-7/" target="_blank">Jquery Validation For Contact Form 7</a></li>
34
  <td>
35
  <ul class="uaf_list">
36
  <li><a href="https://wordpress.org/plugins/use-any-font/" target="_blank">Use Any Font</a></li>
 
37
  <li><a href="http://goo.gl/3XDDzi" target="_blank">WP Masonry Layout</a></li>
38
  <li><a href="http://wordpress.org/extend/plugins/any-mobile-theme-switcher/" target="_blank">Any Mobile Theme Switcher</a></li>
39
  <li><a href="http://wordpress.org/extend/plugins/jquery-validation-for-contact-form-7/" target="_blank">Jquery Validation For Contact Form 7</a></li>
readme.txt CHANGED
@@ -1,23 +1,22 @@
1
  === WP Armour - Honeypot Anti Spam ===
2
  Contributors: dnesscarkey
3
- Tags: honeypot, block spam, gravity forms, bbpress, contact form 7
4
  Requires at least: 3.0
5
- Tested up to: 5.4.2
6
- Stable tag: 1.5
7
  License: GPLv2 or later
8
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Uses honeypot to block spam bots including Russian spam in Contact Form 7, Gravity Forms, Ninja Forms, Formidable Forms, Comments, Registration, BBPress Forums.
11
 
12
  == Description ==
13
- This plugins block spammer submissions using honeypot technic. No Captcha or extra verification field hassle to the users. Only lets spam bots to suffer using honeypot fields.
14
 
15
  <strong>What is honeypot ? </strong>
16
- As of now spam bots are unable to handle javascript and we exploit this point to add an extra fields to your forms using javascript. Since spam bots are not able to see that field, we check if that field exists or not. If that field doesn't exists we will block spam submission.
17
 
18
  <strong>It works </strong>
19
 
20
- * For BBPress
21
  * For WP Comments
22
  * For WP Registraton
23
  * For BBPress Forum
@@ -26,24 +25,32 @@ As of now spam bots are unable to handle javascript and we exploit this point to
26
  * For Gravity Forms
27
  * For WPForms
28
  * For Formidable Forms
 
29
 
30
  <strong>How our plugin is different than other honeypot plugins ? </strong>
31
 
32
- * Works for most of the forms and wordpress system including registation and comments. So All in one solution.
33
- * Spam bots can't use javascript so we use javascript to insert honeypot field in the form and spam bots can't fill it to pass spam test.
34
  * Unique honeypot field name generated for each wordpress installation, so it is hard for spam bots to make one fit for all solution to bypass honeypot spam test.
35
 
36
  <strong>Support</strong>
37
 
38
  If you have any issue, you can write to using <a title="WP Armour - Honeypot Anti Spam " href="https://wordpress.org/support/plugin/honeypot/" target="_blank">support forum.</a>
39
 
 
 
 
 
 
 
 
 
40
  <strong>Our other plugins</strong>
41
 
42
  * <a target="_blank" href="http://wordpress.org/extend/plugins/use-any-font">Use Any Font</a>
43
  * <a target="_blank" href="http://wordpress.org/plugins/wp-masonry-layout/">WP Masonry Layout</a>
44
  * <a target="_blank" href="http://wordpress.org/extend/plugins/any-mobile-theme-switcher/">Any Mobile Theme Switcher</a>
45
  * <a target="_blank" href="http://wordpress.org/extend/plugins/jquery-validation-for-contact-form-7/">Jquery Validation For Contact Form 7</a>
46
- * <a target="_blank" href="https://wordpress.org/plugins/email-checker/">Deliverability Email Validation</a>
47
  * <a target="_blank" href="http://wordpress.org/extend/plugins/add-tags-and-category-to-page/">Add Tags And Category To Page</a>
48
  * <a target="_blank" href="http://wordpress.org/extend/plugins/block-specific-plugin-updates/">Block Specific Plugin Updates</a>
49
  * <a target="_blank" href="http://wordpress.org/extend/plugins/featured-image-in-rss-feed/">Featured Image In RSS Feed</a>
@@ -52,33 +59,33 @@ If you have any issue, you can write to using <a title="WP Armour - Honeypot Ant
52
  == Installation ==
53
  1. You can install plugin directly from Wordpress Plugin menu. Search for WP Armour - Honeypot Anti Spam plugin and click on Install OR you can download the plugin and install honeypot.zip from Upload Plugin button from Wordpress Plugin menu.
54
  2. You can also access the settings from WP Armour menu. From there you can change honeypot field name and honeypot spam submission message.
55
- 3. Please check your forms, comments, bbpress, registration to confirm they are working after honeypot is placed.
56
 
57
  == Frequently Asked Questions ==
58
 
59
  = How this plugin is different than other honeypot plugins ? =
60
 
61
- We have used the honeypot technic differently in this plugin to make it work better. What other plugin does is, they add honeypot field from server side (PHP) and check if the spam bot have filled that field or not. If it is filled it is marked as spam. But in our case, we add honeypot field from client side (Javascript) and check if honeypot field exists or not. Spam bots can't use javascript and honeypot field is not available for them. This way we can better trap spam bots.
62
 
63
  = Will it block all the spam submission ? =
64
 
65
- Spam submission are either created by spam bots or by manual submission from users. Honeypot trap is for spam bots only. So there won't be submission from spam bots. And ya, it can block russian spam, chinese spam effectively.
66
 
67
  = Forms i am using is not supported. Can you help ? =
68
 
69
- Ya, Please write to us using <a href="https://dineshkarki.com.np/forums/forum/wp-armour-honeypot-anti-spam" target="_blank">support forum</a> and we will try to add honeypot support to it.
70
 
71
  = How can i verify that honeypot is working in my forms ? =
72
 
73
- Honeypot is a trap for spam bots, so it is not visible for users. However, if you are logged in as Administrator, WP Armour Test widget is show below the form. This will confirm Honeypot anti spam is active in that form. And also allows you to test it as spam bot.
74
 
75
  = Do i need Captcha verification ? =
76
 
77
- No, with this plugin you don't need Captcha, reCaptcha or Invisble Captcha at all. Lets avoid hassle for common users.
78
 
79
  = I am already using reCaptcha but still getting spam. Can this plugin stop spammers ? =
80
 
81
- Yes. Spam bots are now able to solve the captcha puzzle. So they are no longer effective. Our plugin's javascript based honeypot field insertion can block them as spam bots can't use javascript.
82
 
83
  = I see settings to change honeypot field name. Do i need to change it ? =
84
 
@@ -86,25 +93,30 @@ By default our plugin generates unqiue honeypot field name so that the slim chan
86
 
87
  = Can i see what data spammers are trying to submit ? =
88
 
89
- With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can extend WP Armour with WP Armour Extended plugin and can see what data spammers are trying to submit. It also have feature to block ip address if there are multiple submission from same IP.
90
 
91
  == Screenshots ==
92
 
93
  1. Screenshot #1. WP Armour - Honeypot Anti Spam Settings
94
  1. Screenshot #2. WP Armour - Honeypot Anti Spam Statistics
95
- 1. Screenshot #3. Honeypot for Contact Form 7
96
- 1. Screenshot #4. Honeypot for Formidable Forms
97
- 1. Screenshot #5. Honeypot for Gravity Forms
98
- 1. Screenshot #6. Honeypot for BBpress Wordpress Forum
99
- 1. Screenshot #7. Honeypot for Comment
100
- 1. Screenshot #8. Honeypot for WPForms
 
101
 
102
  == Changelog ==
 
 
 
 
103
  = = 1.5 =
104
  * WP Armour Test Panel added in forms. Only visible for Admin.
105
 
106
  = = 1.4 =
107
- * Added support for Formidable Forms
108
  * Added honeypot spam statistics
109
 
110
  = = 1.3 =
@@ -114,4 +126,6 @@ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can ext
114
  * Removed unwanted settings.
115
 
116
  = = 1.0 =
117
- * First Release
 
 
1
  === WP Armour - Honeypot Anti Spam ===
2
  Contributors: dnesscarkey
3
+ Tags: anti spam, spam checker, spam filter, gravity forms, contact form 7
4
  Requires at least: 3.0
5
+ Tested up to: 5.5
6
+ Stable tag: 1.5.1
7
  License: GPLv2 or later
8
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Anti spam filter that blocks spam bots including russian spam in Contact Form 7, Gravity Forms, Ninja Forms, Formidable Forms, Comments, Registration and more..
11
 
12
  == Description ==
13
+ This plugins block spammer submissions using honeypot technic. No Captcha or extra verification field hassle to the users. Only lets spam bots to suffer using our spam filter.
14
 
15
  <strong>What is honeypot ? </strong>
16
+ As of now spam bots are unable to handle javascript and we exploit this point to add an extra fields to your forms using javascript as spam checker. Since spam bots are not able to see that field, we check if that field exists or not. If that field doesn't exists we will block spam submission.
17
 
18
  <strong>It works </strong>
19
 
 
20
  * For WP Comments
21
  * For WP Registraton
22
  * For BBPress Forum
25
  * For Gravity Forms
26
  * For WPForms
27
  * For Formidable Forms
28
+ * For Caldera Forms
29
 
30
  <strong>How our plugin is different than other honeypot plugins ? </strong>
31
 
32
+ * Works for most of the forms and wordpress system including registation and comments. So All in one anti spam solution.
33
+ * Spam bots can't use javascript so we use javascript to insert honeypot field in the form and spam bots can't fill it to pass spam test.
34
  * Unique honeypot field name generated for each wordpress installation, so it is hard for spam bots to make one fit for all solution to bypass honeypot spam test.
35
 
36
  <strong>Support</strong>
37
 
38
  If you have any issue, you can write to using <a title="WP Armour - Honeypot Anti Spam " href="https://wordpress.org/support/plugin/honeypot/" target="_blank">support forum.</a>
39
 
40
+ <strong>WP Armour Extended</strong>
41
+
42
+ * Log spam bot IPs.
43
+ * Block spam bot IPs if multiple spam is submitted. Add extra level of spam filter based on IPs. Needed to stop spam bot using unwanted bandwidth and save valuable server resource. Add
44
+ * View what spam bot are trying to submit, so that you are sure our plugin is blocking legit spam bots.
45
+
46
+ You can get the WP Armour Extended from <a href="https://bit.ly/3iaZewM">here</a>
47
+
48
  <strong>Our other plugins</strong>
49
 
50
  * <a target="_blank" href="http://wordpress.org/extend/plugins/use-any-font">Use Any Font</a>
51
  * <a target="_blank" href="http://wordpress.org/plugins/wp-masonry-layout/">WP Masonry Layout</a>
52
  * <a target="_blank" href="http://wordpress.org/extend/plugins/any-mobile-theme-switcher/">Any Mobile Theme Switcher</a>
53
  * <a target="_blank" href="http://wordpress.org/extend/plugins/jquery-validation-for-contact-form-7/">Jquery Validation For Contact Form 7</a>
 
54
  * <a target="_blank" href="http://wordpress.org/extend/plugins/add-tags-and-category-to-page/">Add Tags And Category To Page</a>
55
  * <a target="_blank" href="http://wordpress.org/extend/plugins/block-specific-plugin-updates/">Block Specific Plugin Updates</a>
56
  * <a target="_blank" href="http://wordpress.org/extend/plugins/featured-image-in-rss-feed/">Featured Image In RSS Feed</a>
59
  == Installation ==
60
  1. You can install plugin directly from Wordpress Plugin menu. Search for WP Armour - Honeypot Anti Spam plugin and click on Install OR you can download the plugin and install honeypot.zip from Upload Plugin button from Wordpress Plugin menu.
61
  2. You can also access the settings from WP Armour menu. From there you can change honeypot field name and honeypot spam submission message.
62
+ 3. Please check your forms, comments, bbpress, registration to confirm they are working after honeypot is placed. There will be widgets below the forms to confirm anti spam protection is enabled and ready to block spam.
63
 
64
  == Frequently Asked Questions ==
65
 
66
  = How this plugin is different than other honeypot plugins ? =
67
 
68
+ We have used the honeypot technic differently in this plugin to make it work better. What other plugin does is, they add honeypot field from server side (PHP) and check if the spam bot have filled that field or not. If it is filled it is marked as spam. But in our case, we add honeypot field from client side (Javascript) and check if honeypot field exists or not. Spam bots can't use javascript and honeypot field is not available for them. This way we can better trap spam bot.
69
 
70
  = Will it block all the spam submission ? =
71
 
72
+ Spam submission are either created by spam bot or by manual submission from users. Honeypot trap is for spam bots only. So there won't be submission from spam bots. And ya, it can block russian spam, chinese spam effectively.
73
 
74
  = Forms i am using is not supported. Can you help ? =
75
 
76
+ Ya, Please write to us using <a href="https://dineshkarki.com.np/forums/forum/wp-armour-honeypot-anti-spam" target="_blank">support forum</a> and we will try to add anti spam honeypot support to it.
77
 
78
  = How can i verify that honeypot is working in my forms ? =
79
 
80
+ Honeypot is a trap for spam bots, so it is not visible for users. However, if you are logged in as Administrator, WP Armour Test widget is shown below the form. This will confirm Honeypot anti spam checker is active in that form. And also allows you to test it as spam bot.
81
 
82
  = Do i need Captcha verification ? =
83
 
84
+ No, with this plugin you don't need Captcha, reCaptcha or Invisble Captcha at all. Lets avoid hassle for common users. Just activate the plugin and for all supported forms, anti spam filter is enabled automatically.
85
 
86
  = I am already using reCaptcha but still getting spam. Can this plugin stop spammers ? =
87
 
88
+ Yes. Spam bots are now able to solve the captcha puzzle. So they are no longer effective as anti spam checker . Our plugin's javascript based anti spam filter can block them as spam bots can't use javascript.
89
 
90
  = I see settings to change honeypot field name. Do i need to change it ? =
91
 
93
 
94
  = Can i see what data spammers are trying to submit ? =
95
 
96
+ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use <a href="https://bit.ly/3iaZewM">WP Armour Extended</a> and can see what data spammers are trying to submit. It also have feature to block ip address if there are multiple submission from same IP.
97
 
98
  == Screenshots ==
99
 
100
  1. Screenshot #1. WP Armour - Honeypot Anti Spam Settings
101
  1. Screenshot #2. WP Armour - Honeypot Anti Spam Statistics
102
+ 1. Screenshot #3. Honeypot for Contact Form 7 ( anti spam filter enabled )
103
+ 1. Screenshot #4. Honeypot for Formidable Forms ( anti spam filter enabled )
104
+ 1. Screenshot #5. Honeypot for Gravity Forms ( anti spam filter enabled )
105
+ 1. Screenshot #6. Honeypot for BBpress Wordpress Forum ( anti spam filter enabled )
106
+ 1. Screenshot #7. Honeypot for Comment ( anti spam filter enabled )
107
+ 1. Screenshot #8. Honeypot for WPForms ( anti spam filter enabled )
108
+ 1. Screenshot #9. Honeypot for Caldera Forms ( anti spam filter enabled )
109
 
110
  == Changelog ==
111
+
112
+ = = 1.5.1 =
113
+ * Added honeypot anti spam support for Caldera Forms.
114
+
115
  = = 1.5 =
116
  * WP Armour Test Panel added in forms. Only visible for Admin.
117
 
118
  = = 1.4 =
119
+ * Added honeypot for Formidable Forms
120
  * Added honeypot spam statistics
121
 
122
  = = 1.3 =
126
  * Removed unwanted settings.
127
 
128
  = = 1.0 =
129
+ * First Release
130
+ * Added anti spam honeypot for contact form 7
131
+ * Added anti spam honeypot for gravity forms
screenshot-9.png ADDED
Binary file
wp-armour.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Armour - Honeypot Anti Spam
4
  Plugin URI: http://wordpress.org/plugins/honeypot/
5
  Description: Add honeypot anti spam protection.
6
  Author: Dnesscarkey
7
- Version: 1.5
8
  Author URI: https://dineshkarki.com.np
9
  */
10
 
@@ -17,6 +17,7 @@ include 'includes/integration/wpa_contactform7.php';
17
  include 'includes/integration/wpa_wpforms.php';
18
  include 'includes/integration/wpa_gravityforms.php';
19
  include 'includes/integration/wpa_formidable.php';
 
20
 
21
  add_action('wp_enqueue_scripts','wpa_load_scripts');
22
  add_action('login_enqueue_scripts','wpa_load_scripts');
4
  Plugin URI: http://wordpress.org/plugins/honeypot/
5
  Description: Add honeypot anti spam protection.
6
  Author: Dnesscarkey
7
+ Version: 1.5.1
8
  Author URI: https://dineshkarki.com.np
9
  */
10
 
17
  include 'includes/integration/wpa_wpforms.php';
18
  include 'includes/integration/wpa_gravityforms.php';
19
  include 'includes/integration/wpa_formidable.php';
20
+ include 'includes/integration/wpa_calderaforms.php';
21
 
22
  add_action('wp_enqueue_scripts','wpa_load_scripts');
23
  add_action('login_enqueue_scripts','wpa_load_scripts');