Jump to content

Comment Spamprotection without Akismat


Recommended Posts

Hi Ryan,

i would like an alternative Spamprotection for the Commentfield. Akismat is expensive and criticle for german users. I use the Plugin Antispambee on my WordPress Blogs, which protects the comments very well! On my projekt i get more than 300 spam comments per day and not one gets published but the real comments are published without any effort on my part. Thats a great work and i found it is one of the best way to protect the comments from spam.

All of this works without an external service like Akismet and without JavaScript.

The Functions:

  • trust authorized comments
  • can trust comments with gravatar
  • classify BBcode as spam
  • validate the IP-Adress
  • use regular expression
  • use a locale spam database
  • optional: can use a public spam database
  • block or allow certain countries
  • Allow comments only in one language
  • Delete existing spam after X days
  • delete immediately according to defined spam reasons

all this is optional and can be activated by the user manually.

Is there a API for the Comment Module to implement this functions?

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

Antispambee sounds like a good one! Does it use some external library that is separate from the Wordpress Plugin? We actually do have a means of integrating more types of spam filters into comments, and it's via extending an abstract module class called CommentFilter. This is what CommentFilterAkismet extends, and we could add additional modules that also extend CommentFilter and implement the abstract methods. What's missing right now is for FieldtypeComments to check for additional CommentFilter modules. However, that was always the intention to expand it, and I'd be happy to add this capability, and maybe someone else can implement a new CommentFilterAntispambee or other(s) so that we've got more options here. 

  • Like 2
Link to comment
Share on other sites

  • 9 months later...

After i learned a few things about php, i believe that i can port the plugin. But for that I need some help with the integration of functions. For the Plugin i need to save the IP (in shorted form) within the Comment. For this reason I have to expand to an IP field the comment database.

All the filters are Optional:

  • Check the comment IP with approved comments in the database
  • Match the comment IP with external spam Database
  • trust comments with gravatar
  • classify BBCode as spam
  • use regular expression
  • create and use a local spam database

At the moment i create the functions for doing the stuff in the list above. The next step is to integreat the Plugin to the processwire System and at least i will add support to limit comments to defined language.

For all who interested at this plugin can follow on the Github project: https://github.com/kreativmonkey/antispam-guard

  • Like 3
Link to comment
Share on other sites

As you develop this, you might consider adding a honeypot field as a first test. I've just set up a custom commenting system on my site and included an extra text input that's hidden with CSS. Most spambots will just fill in all fields and submit the form, so if the extra form field has any text in it, I log it as spam and don't add the comment. The extra text input has a placeholder of "You probably should not fill this in" just in case a human has CSS disabled and sees the field. This is only a first spam test, but it will block quite a few attempts before you need to test IP addresses, blocklists, Akismet, etc.

Link to comment
Share on other sites

Hi gRegor,

thanks for your input. I forgot to maintain that i will include a honeypot field ;-). This is a really good spam protection. But not enough to give up the rest. The most important in the creation of this plugin is privacy. That is why i will make all filters optional.

I welcome further suggestions

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...