1. December 2015
Administrator
Restrict Links in Messages
Use the following to enhance your default configuration to prevent links being added to your contact form:
$disallowed_text = (
"[Hh][Tt][Tt][Pp]|[Hh][Tt][Mm][Ll]|[Ww][Ww][Ww]","Please remove links from your message to continue.",
);
Add A Preview Step
Have you ever wondered why you might
review your message on a contact form? Simple adding an additional step
can prevent a spam because many spam bots are not able to complete it.
Add Anti-Spam Fields
What
is "2+2"? What color is the sky on a clear day? Have you ever answered a
simple question on a contact form? Spam bots often target many sights
and are unprepared to answer simple questions, therefore, they are
unable to send their spam.
Bot Trap
Add an invisible
contact form using via CSS style to have spam bots try to fill out it
out, which will prevent submission when they try to fill it in. This
field is created with a type "trap" in the contact form configuration.
Captchas
Sign up for an account on reCAPTCHA, then generate a public and private reCAPTCHA key for your domain, and put the keys in the contact form configuration
Special thanks to
Stephen Ostermiller for his helpful blog!