Project

General

Profile

Paste
Statistics
| Branch: | Revision:

root / drupal7 / sites / all / modules / honeypot @ 2c8c2b87

Name Size Revision Age Author Comment
LICENSE.txt 17.7 KB f7a2490e over 10 years Assos Assos git mv htmltest drupal7
README.txt 1.34 KB f7a2490e over 10 years Assos Assos git mv htmltest drupal7
honeypot.admin.inc 7.14 KB 2c8c2b87 about 9 years Assos Assos Weekly update of contrib modules
honeypot.api.php 3.21 KB f7a2490e over 10 years Assos Assos git mv htmltest drupal7
honeypot.info 341 Bytes 2c8c2b87 about 9 years Assos Assos Weekly update of contrib modules
honeypot.install 3.91 KB 2c8c2b87 about 9 years Assos Assos Weekly update of contrib modules
honeypot.module 12.7 KB 2c8c2b87 about 9 years Assos Assos Weekly update of contrib modules
honeypot.test 7.41 KB 55670b15 about 10 years Assos Assos Weekly update of contrib modules

Latest revisions

# Date Author Comment
2c8c2b87 06/17/2015 10:47 PM Assos Assos

Weekly update of contrib modules

55670b15 06/04/2014 10:39 PM Assos Assos

Weekly update of contrib modules

f7a2490e 02/13/2014 03:56 PM Assos Assos

git mv htmltest drupal7

View revisions

README


Honeypot Module Readme

Installation

To install this module, place it in your sites/all/modules folder and enable it
on the modules page.

Configuration

All settings for this module are on the Honeypot configuration page, under the
Configuration section, in the Content authoring settings. You can visit the
configuration page directly at admin/config/content/honeypot.

Note that, when testing Honeypot on your website, make sure you're not logged in
as an administrative user or user 1; Honeypot allows administrative users to
bypass Honeypot protection, so by default, Honeypot will not be added to forms
accessed by site administrators.

Use in Your Own Forms

If you want to add honeypot to your own forms, or to any form through your own
module's hook_form_alter's, you can simply place the following function call
inside your form builder function (or inside a hook_form_alter):

honeypot_add_form_protection($form, $form_state, array('honeypot', 'time_restriction'));

Note that you can enable or disable either the honeypot field, or the time
restriction on the form by including or not including the option in the array.

Credit

The Honeypot module was originally developed by Jeff Geerling of Midwestern Mac,
LLC (midwesternmac.com), and sponsored by flockNote (flocknote.com).

Also available in: Atom