Giter Club home page Giter Club logo

gravity-forms-zero-spam's Introduction

=== Gravity Forms Zero Spam ===
Contributors: gravityview
Tags: gravityforms, gravity forms, anti-spam, antispam, spam, spam-blocker, spambot, spammer, add-ons, honeypot
Requires at least: 3.0.1
Tested up to: 6.4.1
Stable tag: trunk
Requires PHP: 5.2.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.gravitykit.com?utm_source=plugin&utm_campaign=zero-spam&utm_content=donate

Enhance your Gravity Forms to include anti-spam measures originally based on the work of David Walsh's "Zero Spam" technique.

== Description ==

This Gravity Forms add-on blocks spam using a non-obtrusive anti-spam measure and can email a spam report summary.


## Spam blocking

To get started, all you need to do is activate the plugin!

### Is the Gravity Forms honeypot field not working for you? 🍯 🐝

Zero Spam is better than the Gravity Forms anti-spam honeypot field. If you're getting spammed, try this plugin.

### Use instead of reCaptcha

**reCaptcha is user-hostile!** Use this instead! Users don't need to click stoplights, crosswalks, or bicycles when you use this plugin to stop spam.

### Enable or disable per-form

If you only want the plugin for specific forms, that's possible! The plugin adds a simple "Prevent spam using Gravity Forms Zero Spam" setting to each form (requires Gravity Forms 2.5 or newer).

## Spam report emails

Spam summary report emails are disabled by default. Once enabled, a spam summary that includes the number of entries per-form will be sent via email.

Choose whether you want to be notified after the number of entries reaches a threshold (e.g. 10 spam entries) or after a certain number of days (e.g. every week). If there are no spam entries, no report will be sent.

-------

Requires [Gravity Forms](https://www.gravityforms.com/?partner_id=1210629&irgwc=1&utm_medium=affiliate&utm_campaign=1210629&utm_source=Katz%20Web%20Services%2C%20Inc.).

_Brought to you by [GravityKit](https://www.gravitykit.com?utm_source=plugin&utm_campaign=zero-spam&utm_content=readme). We create essential Gravity Forms Add-Ons._

== Frequently Asked Questions ==

= Does the Gravity Forms Zero Spam plugin stop email notifications from being emailed when a message is considered spam? =

Yes! When this plugin marks an entry as spam, it prevents processing of any configured notifications and add-on feeds.

Note: When an entry is marked as Spam, it also prevents use of the configured confirmation. Users submitted a entry marked as Spam will see the default Gravity Forms “Thanks for contacting us! We will get in touch with you shortly.” confirmation text instead.

= I have Gravity Forms 2.7 installed. Do I need this plugin? =

Gravity Forms 2.7 added functionality that has similar features to this plugin, but we're adding additional features soon—keep this plugin installed!

= Does this plugin work in combination with other CAPTCHAs, honeypot fields, or spam blocker plugins? =

Yep, you can use this plugin in combination with all other spam-blocking plugins:

- Gravity Forms' Google reCaptcha feature
- WPBruiser
- Akismet
- Gravity Forms' honeypot fields
- GravityCaptcha
- СleanTalk
- WP Armor
- fail2ban

Zero Spam will not interfere with the operation of those plugins. It also doesn't interfere with Gravity Forms' built-in honeypot functionality.

= What version of Gravity Forms does this work with? =

This works with all Gravity Forms releases after v2.3 (released June 2017).

= Will this block spam comments or registrations on my site? =

No. For that, we recommend Ben Marshall‘s [WordPress Zero Spam plugin](https://wordpress.org/plugins/zero-spam/).

= How do I disable Zero Spam on specific forms? =

1. Go to the form
2. Click on Settings
3. Under Form Options, disable "Prevent spam using Gravity Forms Zero Spam". _Don't see the setting? This feature requires Gravity Forms 2.5 or newer._
4. Save the settings

New form submissions will not be checked using Zero Spam.

= I only want on specific forms. How do I disable Zero Spam by default? =

To disable by default, from your Dashboard, go to Forms, then Settings, then the Zero Spam tab. Under the "Enable Zero Spam by Default" setting, choose "Disabled", then save the form.

Once you have saved the setting, to enable for specific forms:

1. Go to the form
2. Click on Settings
3. Under Form Options, enable "Prevent spam using Gravity Forms Zero Spam". _Don't see the setting? This feature requires Gravity Forms 2.5 or newer._
4. Save the settings

Now that form will use Zero Spam.

= Is this plugin PHP 7 and PHP 8 compatible? =

Yes.

= All entries are going to spam. What can I do? =

First, **de-activate and re-activate the plugin**. Then let us know on the support tab!

= Spam summary report emails =

You can enable a spam summary report email. This email will be sent to the email address configured in the "Spam Summary Email" setting on the Gravity Forms "Forms" menu, click Settings, then click the Zero Spam tab.

== Changelog ==

= 1.4.1 on November 10, 2023 =

* Fixed: Conflict with the Gravity Forms Stripe Add-On

= 1.4 on April 24, 2023 =

* Added: **Spam summary email reports** are now available! Receive a helpful email summarizing spam messages received. To enable, from your Dashboard, go to Forms, then Settings, then Zero Spam to enable and configure this feature.
    - Choose when to send the report (threshold-based or frequency-based)
    - Customize the report message
    - Works with any spam messages, not just those blocked by Zero Spam
* Added: A setting to globally enable or disable Zero Spam by default (default: Enabled)

= 1.3 on February 18, 2023 =

Gravity Forms 2.7 added improved spam blocking in 2.7. Keep this plugin installed—it won't hurt, and we're about to add some great new features soon! ❤️ Thanks to Richard Wawrzyniak for the code updates in this release.

* Added: Support for API submissions (which don't have a form submit action)
* Fixed: Gravity Forms 2.7 support
* Fixed: PHP 8.0 warnings
* Tested with WordPress 6.2

= 1.2.3 on August 11, 2022 =

* Tweak: Changed the autocomplete on the hidden field to `new-password` instead of `off`. Thanks for the suggestion, Ross!

= 1.2.2 on August 11, 2022 =

* Improved: Prevent autocomplete on the hidden field. This may help prevent some reported false-positives.
* Tested with WordPress 6.0.1

= 1.2.1 on February 16, 2022 =

* Improved: Don't check for spam on the Gravity Forms Preview page
* Tested with WordPress 5.9

= 1.2 & 1.2.0.1 on December 10, 2021 =

* New! Added a per-form setting "Prevent spam using Gravity Forms Zero Spam" that enables or disables Gravity Forms Zero Spam from processing! [Check out the FAQ to learn how to use this setting](https://wordpress.org/plugins/gravity-forms-zero-spam/#faq-header). Note: this feature requires Gravity Forms 2.5 or newer.

= 1.1.3 on August 9, 2021 =

* Enhancement: Adds an entry note when an entry is marked as spam. Thanks to Gravity Forms for the enhancement!

= 1.1.2 on July 5, 2021 =

* Fixed: Entries going to spam on websites that have plugins that override random password generation. Thanks, @thomascharbit!

= 1.1.1 on April 22, 2021 =

* Fixed: Script not being correctly loaded using Gravity Forms' inline JavaScript

= 1.1 on April 21, 2021 =

* Improved: The JavaScript code that adds the spam-catching field is now output at the same time as Gravity Forms' inline JavaScript.
    - The script is only loaded when forms are displayed
    - jQuery is always available because Gravity Forms loads it as-needed

= 1.0.7 on March 18, 2021 =

* Fixed: All entries marked as spam for AJAX-enabled forms. Sorry, folks! Won't happen again.
* Went back to using jQuery to listen to form submissions.

= 1.0.6.1 on March 15, 2021 =

* Fixed: JavaScript "null is not an object (evaluating 'el.addEventListener')" error on pages without a form

= 1.0.6 on March 11, 2021 =

* Improved: No longer requires jQuery
* Fixed: Only checks for spam on submissions that were submitted by a form, not for entries created programatically

= 1.0.5 on February 16, 2021 =

The Gravity Forms Zero Spam plugin is now maintained by [GravityKit](https://www.gravitykit.com?utm_source=plugin&utm_campaign=zero-spam&utm_content=changelog). We look forward to continuing to improve this simple, effective spam blocker for Gravity Forms. Thanks to GoWP for their great work!

* Improved: Only add anti-spam JavaScript when the Gravity Forms plugin is active
* Fixed: Sanitized key, in case there were any unsafe characters generated by overriding the `random_password` filter.
* Fixed: Made `GF_Zero_Spam::deactivate` a static method
* Updated: Now using the `wp_print_footer_scripts` action to add the script (was `wp_footer`)

= 1.0.4 =
* Should fix 'jQuery undefined' errors

= 1.0.3 =
* Added support for multi-page forms (thanks, @supporthero)

= 1.0.2 =
* Update FAQ and compatibility notes in readme.txt

= 1.0.1 =
* Fix issue with forms not submitting after an initial validation error

= 1.0.0 =
* Initial version

gravity-forms-zero-spam's People

Contributors

malayladu avatar nikolaystrikhar avatar omarkasem avatar richardw8k avatar zackkatz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gravity-forms-zero-spam's Issues

i18n (internationalization) needed

The plugin currently uses the text-domain "gf-zero-spam", but for correct loading of the language pack, the text-domain should be equal to the assigned plugin slug, i.e. "gravity-forms-zero-spam".

If we at the same time add "Requires at least" to the PHP file, and raise the value from 3.0.1 to 4.6, then WordPress core should automatically load translations.

Generate spam summary emails

This is the most-requested feature for the plugin.


Settings page

  • Create a Gravity Forms global settings tab for Gravity Forms Zero Spam

The page should have three settings:

  1. How frequently should spam report emails be sent? Daily, Weekly, Monthly, or Spam Entry Limit
  2. If Spam Entry Limit is selected, show a number field, minimum 1. with the description "A spam report email will be sent when the number of spam messages reaches this number."
  3. "Send spam report to:" email input type. The default address should be set to the site administrator.

Create a cron

  • Create a cron based on the settings

The cron should create the email report and send it to the email defined in the setting.

Generate email

  • Generate an email template

The email should be filterable for the subject line and content template. Variables should be replaced with live data.

Message subject:

Your Gravity Forms spam report for {{site_name}}

Message body:

<h2>Spam report</h2>

You have received {{total_spam_count}} spam emails across the following forms:

{{spam_report_list}}

To turn off this message, visit {{settings_url}}.

{{spam_report_list}} should be a <ul> list of forms that have spam messages, in the following format (assume repeating <li>s:

<ul>
<li><a href="{{form_spam_entries_url}}">{{form_name}} {{spam_count}}</a></li>
</ul>

Possible conflict with the Stripe add-on

Report from a user:

With the recent update to Gravity Forms Stripe add-on 5.1.0, we ran into an issue.

Once enabling the Alternate Payment Methods (for Apple/Google Pay, etc). Entries were getting flagged as spam, yet they were getting charged, but the entry process was not completed to provide updated data for the entry, such as the payment ID, process Mailchimp, and Zapier feeds, or send the notification emails to the customer and us.

When disabling your plugin, everything works fine (except now we are getting spam submissions on our non-payment forms).

I've been working with the GF support team on issues around Stripe 5.0 and 5.1, and when I reported this information to them, they suggested that I submit this information to you to investigate a potential conflict between the Stripe 5.1.0 add-on and Gravity Forms Zero Spam.

Remove date filter in the Spam Report email link

With Gravity Forms Zero Spam configured to send an email like this:
Untitled

The email has a link:
Contact Form: 1 spam entry

The link is:
https://www.condormachinetool.com/wp-admin/admin.php?page=gf_entries&view=entries&id=1&filter=spam&s=2023-12-05&field_id=date_created&orderby=0&order=ASC&operator=

When clicked, I see this view of Entries:
spam entries

If I click the Spam link, I see the Spam entry:
spam link

Is this a configuration issue I can change or mitigate?

Additional Information

  • If I search for entries by date (2023-12-06 in this example), I find the entry.
  • Gravity Forms Honeypot is enabled and is also marking entries as spam
  • Gravity Forms system status

Spam Detected - Gravity Form 2.5

Hi developer,

We use Gravity Form 2.5 in noonpi.com (wordpress)

Our (webinar registration forms) and all our (quiz entries forms) a lot of forms were detected SPAM in our customer's email inbox. We get this each day. Kindly help us how to solve this.

The short question is "How do we turn off all spam monitoring for specific forms?"

This is the email we get showing what is considered spam
email from gf.pdf

And I contacted on of the agent in Gravity support. He instructed to do this

image

By navigating in my end, these are the code showing
image

CODE STARTS

Gravity Forms

Version: 2.8.0 ✘ New version 2.8.2 available.
Upload folder: /home/pdh/public_html/wp-content/blogs.dir/21/files/gravity_forms/
Upload folder permissions: Writable ✔
Output CSS: Yes
Default Theme:
No-Conflict Mode: Yes
Currency: USD
Background updates: Yes
REST API v2: No
Orbital Style Filter: No

Add-Ons

Quiz: by Gravity Forms - 4.1 ✔

Database

Database Version: 2.8.0 ✔ Your database is up-to-date.
wp_21_gf_form_view: ✔
wp_21_gf_form_meta: ✔
wp_21_gf_form: ✔
wp_21_gf_form_revisions: ✔
wp_21_gf_entry: ✔
wp_21_gf_entry_meta: ✔
wp_21_gf_entry_notes: ✔
wp_21_gf_draft_submissions: ✔

Translations

Site Locale: en_US
User (ID: 31) Locale: en_US
Gravity Forms:

Scheduled (Cron) Events Log

gravityforms_cron: 2024-01-24 12:26:59
gravityforms_cron: 2024-01-23 12:27:07
gravityforms_cron: 2024-01-22 12:27:06
wp_gf_telemetry_processor_cron: 2024-01-08 12:27:24
wp_gf_telemetry_processor_cron: 2023-12-31 12:28:25
wp_gf_telemetry_processor_cron: 2023-12-24 12:30:39

WordPress

Home URL: https://noonpi.com
Site URL: https://noonpi.com
REST API Base URL: https://noonpi.com/wp-json/
WordPress Version: 6.4.2 ✔
WordPress Multisite: Yes
WordPress Memory Limit: 64M
WordPress Debug Mode: No
WordPress Debug Log: No
WordPress Script Debug Mode: No
WordPress Cron: Yes
WordPress Alternate Cron: No
Background tasks: Yes ✔

Active Theme

Avada Child NoonPi: by Manoj Singh - 1.0.0 ✔
Avada (Parent): by ThemeFusion (https://themeforest.net/user/ThemeFusion) - 7.11.3 ✔

Active Plugins

Anti-Spam by CleanTalk: by СleanTalk - Anti-Spam Protection - 6.24 ✔
Avada Builder: by ThemeFusion - 3.11.3 ✔
Avada Core: by ThemeFusion - 5.11.3 ✔
Classic Editor: by WordPress Contributors - 1.6.3 ✔
CSS3 Compare Pricing Tables: by QuanticaLabs - 11.5 ✔
Duplicate Page: by mndpsingh287 - 4.5.3 ✔
EWD Premium Helper: by Etoile Web Design - 0.0.31 ✔
Flying Scripts: by WP Speed Matters - 1.2.3 ✔
Gravity Forms Geolocation Add-on: by Eyal Fitoussi - 3.1.4 ✔
Gravity Forms Zero Spam: by GravityKit - 1.4.1 ✔
LiteSpeed Cache: by LiteSpeed Technologies - 6.0.0.1 ✔
PDH Catalog: by Manoj Singh - 1.0 ✔
Popup Maker: by Popup Maker - 1.18.2 ✔
Popup Maker - Scheduling: by Popup Maker - 1.2.0 ✔
Ultimate FAQ - WordPress FAQ and Accordion Plugin: by Etoile Web Design - 2.2.11 ✔
Upcoming Webinar: by Manoj Singh - 1.0 ✔
Webcraftic Clearfy – WordPress optimization plugin: by Creative Motion - 2.2.0 ✔
Wordfence Security: by Wordfence - 7.11.1 ✔
WordPress Importer: by wordpressdotorg - 0.8.1 ✔
WordPress MU Domain Mapping: by Donncha O Caoimh - 0.5.5.1 ✔
WP Mail SMTP Pro: by WP Mail SMTP - 3.10.1 ✔
Yoast SEO: by Team Yoast - 21.7 ✔
Yoast SEO Premium: by Team Yoast - 21.7 ✔

Network Active Plugins

WordPress MU Domain Mapping: by Donncha O Caoimh - 0.5.5.1
CSS3 Compare Pricing Tables: by QuanticaLabs - 11.5
Duplicate Page: by mndpsingh287 - 4.5.3
EWD Premium Helper: by Etoile Web Design - 0.0.31
Gravity Forms Geolocation Add-on: by Eyal Fitoussi - 3.1.4
Ultimate FAQ - WordPress FAQ and Accordion Plugin: by Etoile Web Design - 2.2.11
Upcoming Webinar: by Manoj Singh - 1.0
Wordfence Security: by Wordfence - 7.11.1
Classic Editor: by WordPress Contributors - 1.6.3
LiteSpeed Cache: by LiteSpeed Technologies - 6.0.0.1
Yoast SEO Premium: by Team Yoast - 21.7
Yoast SEO: by Team Yoast - 21.7

Web Server

Software: LiteSpeed
Port: 443
Document Root: /home/pdh/public_html

PHP

Version: 8.1.27 ✔
Memory Limit: 512M
Maximum Execution Time: 300
Maximum File Upload Size: 256M
Maximum File Uploads: 20
Maximum Post Size: 256M
Maximum Input Variables: 7460
cURL Enabled: Yes (version 8.5.0)
OpenSSL: OpenSSL 1.1.1w 11 Sep 2023 (269488511)
Mcrypt Enabled: No
Mbstring Enabled: Yes
Loaded Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, readline, Reflection, SPL, session, standard, litespeed, timezonedb, bcmath, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, iconv, imap, intl, exif, mysqlnd, PDO, Phar, posix, SimpleXML, soap, sockets, sodium, sqlite3, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, xmlreader, Zend OPcache

Database Server

Database Management System: MariaDB
Version: 10.6.16 ✔
Database Character Set: utf8mb4
Database Collation: utf8mb4_unicode_ci

Date and Time

WordPress (Local) Timezone: America/New_York
MySQL (UTC): 2024-01-25 17:07:33
MySQL (Local): January 25, 2024 at 12:07 pm
PHP (UTC): 2024-01-25 17:07:33
PHP (Local): January 25, 2024 at 12:07 pm

The short question is "How do we turn off all spam monitoring for specific forms?"

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.