NB : this module is experimental, and should not be used for production purposes. Use Akismet instead.
What it does
This module was created to fight waves of spam that can occur on Yakforms installation. As a separate module, you can enable and disable it to fit your needs.
As to what this module actually does : it spots new forms that look suspicious, based on their title and content. It allows to you to manually and easily check which ones are actually spams and which are not, and automatically deletes the one you chose were spams.
- Automatic detection of suspicious forms : forms that contain keywords in their title or that are empty (no form field) are automatically marked as spam on creation.
- Quarantine system : Forms marked as spam are put into a quarantine, meaning they won't be visible (the forms are unpublished) and the original authors won't be able to change them until their form is out. After a week of time, the forms will be definitely deleted, along with their attached files.
Views : You can visualize suspicious forms and forms in quarantine in two separate views that are shipped along with the module :
example.org/quarantinerespectively. These views contain custom Views Bulk Operations (VBO) that allow you to quickly block and unblock a great number of forms.
Configuration : You can add your own keywords to detect the suspicious forms in your website inside the configuration pannel of the module (
How it does it
The module created two new tables :
This contains forms that are put into a quarantine. Inserting a form inside this table will also set its
0 (unpublished and anonymous author).
This contains forms that are allowlisted from quarantine : for example, a form containg a suspicious title like "live" but was legitimate and manually unblocked will be allowlisted, forbidding its insertion to quarantine.
Automatic checks on form titles and content is done inside a
hook_presave, triggered each time a form is edited by its author.
A cron task running every day by default triggers deletion of forms that are over a week old (also by default). This is aimed to avoid spam forms lying forever on your website.
Other ways to fight spam
Close user registration : You can manually check each user registration to avoid spam bots registering inside you website, by going to this page :
example.org/admin/config/people/accounts(_NOTE : doing this easily could become a part of this module).
- CAPTCHA, BOTCHA, Riddler : These three modules are shipped with Yakforms and allow you to configure CAPTCHAS for user registration forms, login, etc. A stronger CAPTCHA on registration (by adding many different Riddler questions) can temporarily or permanently solve some spam problems.