Blocks comment spam without captchas, hidden fields, etc. Removes excess URLs from comment area. Set text values for all areas of the comment form.
FormSpammerTrap For Comments adds form spam bot blocking to your comment form, and the comment processing code. We catch comment spam before it gets to your database. It senses human interaction with the comment form. It does not require those irritating captchas, hidden fields, silly questions, CSS tricks, or other annoying things others use to try to (but fail to) block spam-bots.
The FormSpammerTrap for Comments plugin provides several options to change the text of various parts of the comment form, such as the title of the comment form, the submit button, and more. You can also set the text used for the Reply link, and even include the name of the commenter in that Reply link.
If a spam-bot tries to submit a comment, even when they bypass your comment form with non-browser tricks (think CURL), they will be sent to our FormSpammerTrap page, and you will not see the spam-bot comment on your system. (Although that makes it harder to know that FormSpammerTrap is working.)
The plugin catches comment spam before it gets into your database, so other plugins (like Akismet) don’t have to spend time checking each comment. And you don’t have to keep on cleaning out spam comments from your database on the administrative Comment screen.
You will find more information at our FormSpammerTrap web site. We also have solutions for WordPress contact forms and custom-built sites. You can contact us with any questions or issues on that site.
Screenshots
FAQ
How do you block spam bots?
We use a technique that looks for human interaction with the comment form. The name, email, and comment text area plus other required fields are all checked for this human interaction.
What happens to a spam bot filling out the form, or submitting form data via an automated process?
The spam bot is redirected to our FormSpammerTrap page at www.FormSpammerTrap.com . The comment is essentially ‘thrown away’; it isn’t added to your posts’ comment. Your site doesn’t even see the submission, which might reduce the load on a busy site.
ChangeLog
4.0 (released xx FEB 2022)
- Changed all function calls to have prefix of ‘fst4c’ to reduce chance of collision with other plugins
- Changed PHP requirements to be at least 7.4 .
- Changed WP requirement to be at least 5.0 (but latest version is better).
- Changed the order of the settings fields so they are more ‘top to bottom’.
- Changed size of input fields from 30 to 45.
- Added a description to each setting (to the right of the setting field.
- Fixed the way that the form action is changed to https://www.formspammertrap.com if the ‘set bogus action’ option enabled. The form action is changed back to normal on a onclick/onfocus of a required field.
- Added a little spacing between the “Required” text in front of a field, if the field is required.
- Fixed the ‘reply to’ text if the ‘Add the comment author’s name to the Reply link text’ setting is enabled; now shows ‘Reply to’ plus the comment author name (in quotes).
- Recaptcha script added just befor close body tag, instead of in head tag.
- Improved session starting – new session only if session does not exist.
- Re-wrote the informational text at the top of the Settings page.
- Correction to how the form ‘action’ parameter is set and changed.
- Added more screenshots to show settings and the results of those settings on the comment area.
- Changes to the visual look of the Settings page to match our other plugins.
- Additional information about our other plugins added to the sidebar.
- Updated logo and other Asset images to current CellarWeb branding.
- Minor changes to the “Donate” button.
- Minor CSS changes to the settings page.
- Minor spelling corrections.
- Added link to the CellarWeb contact page at the bottom of the settings screen.
3.01 (released 4 Mar 2020)
- minor changes; correction to fix repository issues
3.00 (released 2 Mar 2020)
- changes to how array elements are specified to prevent future errors, in preparation for additional features.
2.20 (released 6 July 2018)
- added an optional reCaptcha box – the ‘I am not a robot’ box – that will display as needed. You will need your own reCaptcha key; the link is on the settings screen.
- added CSS file for Settings page CSS.
- removed deprecated screen_icon function
- some minor text changes on the Settings screen
- added an info box on the Settings screens about our other plugins
- re-coded the Settings input area to reduce the use of tables by not using the WP do_settings() function.
2.11 (released 21 Feb 2017)
- added an empty H2 tag above the Settings header for any WP messages
- minor code efficiencies
2.10 (released 29 Dec 2016)
- changed the text fields allowed length from 30 to 50 characters.
- changed the header graphic/information.
- updated the icons used on the WordPress plugin pages.
- changes to text/info on the Settings screen.
- added additional screenshots to show all of the current settings
- tested with WP 4.7.2
2.00 / 2.01
- released 25 Jan 2015
- added these new customization text areas; see details about each item on the Settings screen
** text to display after the closing form tag
** text to display if comments are closed
** text just before the closing form tag (after the submit button)
** text above the entire comment form
** text just under the ‘Leave a Reply’ comment area heading
** text just after the ‘must login in’ text but above all the form fields
** text just above the comment message box only if you are logged in (does not display if not logged in)
- code efficiencies to reduce number of calls to options database and others
- minor style and text changes to Settings screen
- Settings screen logo change
- Tested with WP 4.4.1
1.08
- released 25 Aug 2015
- enhancement of the WP ‘nonce’ value to make it more effective, and compatible with other plugins
- testing to ensure compability with WP version 4.3
- minor changes to readme.txt file
- better removal of the ‘URL’ field on comments
1.07
- released 30 Jul 2015
- testing to ensure compatability with WP version 4.2.3; should work just fine with 4.3
1.06a
- released 25 Jul 2015
- Don’t you hate it when you think you fixed everything, and another bug sneaks in, even after you did lots of testing? Me to. Which is why there is a 1.06a right after the 1.06. Sigh.
1.06
- released 25 Jul 2015
- fixed bug where the name/email fields would be truncated into the ‘label’ area if you selected the ‘wrap required’ function
- added option to add commenter’s name to the Reply link text
- added option to show (or not) the ‘allowed HTML code’ text under the comment text box
- added option to remove all HTML tags from all fields
- added option to change the Reply To text
- added option to change the Cancel Reply text
- more code efficiencies
1.05
- released 6 Mar 2015
- fixed an obscure problem that caused improper redirecting on some versions of Internet Explorer.
- more code efficiencies; only loads comment-related code on pages that have comments enabled and not closed. This makes non-comment pages load faster.
- other code efficiencies for faster page loads (all pages).
- added a random string to the function that helps recognize humans so that a hacker can’t analyze the code to get around that important function – it always changes!
1.04
- released 22 Feb 2015 =
- added additional checking for spambot submissions when the form is bypassed; if found, off they go to the www.FormSpammerTrap site (with a ‘die’ for good measure).
- added some ‘nonce’ checking to the comment form; if the correct ‘nonce’ is not found, off they go to the www.FormSpammerTrap site (with a ‘die’ for good measure).
- the above two enhancements help keep comments out of your database, catching them before other plugins like Akismet analyze them. The result is that you don’t have to keep cleaning out your spam comments.
- removed the URL field from the comment form (the URL field causes more problems than needed – spammers like that field, so we take it away).
- added a link on the All Plugins list page to get to the plugin’s Settings page, plus changed the name of the Settings page.
- some additional information on the description area of the Settings page.
- some minor code optimization and cleanup.
- fixed typos and added clarification and additional to some items in the Readme file.
- more code optimization and cleanup
- save the settings once after upgrading versions
1.03 (20 Feb 2015)
- added an option to change the text inside the Submit button
- added an option to change the “Reply to” link text
- added and option to change the “Cancel Reply” link text.
- added an option to chang the “Leave a Reply” text above the comment form area.
- added additional information about each setting on the Settings screen
1.02 (17 Feb 2015)
- Sometimes code cleanup introduces a new problem (sigh). Fixed that new problem.
1.01 (16 Feb 2015)
-
Fixed bug causing submit button to be misplaced away from the comment area with threaded comments due to an errant closing div.
-
added additional explanatory text to all fields on the settings page.
-
added a new checkbox to put the ‘required’ text on a separate line in the label area next to the input fields. Some themes have a narrow label area which would not display the full ‘required’ text in the field label, so you would enable this new checkbox. Note that not all themes put a label next to the comment form input fields.
-
added a new checkbox to change the ‘Reply’ link text to ‘Reply to ‘, where is the name associated with the comment. So a comment from ‘Rick H.’ will have a reply link of ‘Reply to Rick H.’ (it uses the full name from the author field of the logged in user). Leave blank to use the standard ‘Reply’ link text. Note that some themes many not support this option.
-
some code cleanup and efficiencies.
-
format tweaking for the readme.txt file to make it a bit more readable (and to comply with best practices).
1.0
- Initial release (1 Feb 2015)