README.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Honeypot Module Readme
  2. ----------------------
  3. Installation
  4. ------------
  5. To install this module, place it in your sites/all/modules folder and enable it
  6. on the modules page.
  7. Configuration
  8. -------------
  9. All settings for this module are on the Honeypot configuration page, under the
  10. Configuration section, in the Content authoring settings. You can visit the
  11. configuration page directly at admin/config/content/honeypot.
  12. Note that, when testing Honeypot on your website, make sure you're not logged in
  13. as an administrative user or user 1; Honeypot allows administrative users to
  14. bypass Honeypot protection, so by default, Honeypot will not be added to forms
  15. accessed by site administrators.
  16. Use in Your Own Forms
  17. ---------------------
  18. If you want to add honeypot to your own forms, or to any form through your own
  19. module's hook_form_alter's, you can simply place the following function call
  20. inside your form builder function (or inside a hook_form_alter):
  21. honeypot_add_form_protection($form, $form_state, array('honeypot', 'time_restriction'));
  22. Note that you can enable or disable either the honeypot field, or the time
  23. restriction on the form by including or not including the option in the array.
  24. Credit
  25. ------
  26. The Honeypot module was originally developed by Jeff Geerling of Midwestern Mac,
  27. LLC (midwesternmac.com), and sponsored by flockNote (flocknote.com).