Skip to content

Helps to limit spam submissions through native comment forms and popular add-ons such as "Solspace User", "Solspace Freeform" and "Expresso FreeMember" by testing against a field that should not be completed, a honeypot.

Notifications You must be signed in to change notification settings

nathanpitman/honeypot.ext.ee_addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Honeypot for ExpressionEngine

Originally developed by Aidann Bowley, later hacked by Nathan Pitman of Nine Four to work with User and then migrated to EE2.x.

The "HoneypotUser Freeform Honeypot" extension helps to limit spam submissions made through native comments forms and popular add-ons such as "Solspace User", "Solspace Freeform" and "Expresso FreeMember" by testing against a field that should not be completed, a honeypot.

Works with:

  • Native ExpressionEngine Comment Forms (as a replacement for CAPTCHA)
  • Solspace User
  • Solspace Freeform
  • Expresso/DevDemon FreeMember

Usage example:

Enable the extension and specify the name of the field in your form which you will use as the honeypot through the extension settings screen. This defaults to 'swine' but we suggest you change it to something which is less likely to reveal it's intent.

Manually add the corresponding field to your front end 'User' and/or 'Freeform' forms:

<input type="text" name="swine">

Hide the field in question using CSS:

input[name=swine] {
	display: none;
}

(Most) humans will never see the field, as such they will never complete it, the form will only accept a submission if the honeypot is empty. Most robots will add content to the honeypot and fail the form submission.

You can also optionally have an error message shown if a spammer/robot fills in the honeypot field. If left to default to 'no' then User and Freeform forms will simply redirect to the site index when they catch somethign in the honeypot.

About

Helps to limit spam submissions through native comment forms and popular add-ons such as "Solspace User", "Solspace Freeform" and "Expresso FreeMember" by testing against a field that should not be completed, a honeypot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages