kreativmonkey Posted May 25, 2015 Share Posted May 25, 2015 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? 2 Link to comment Share on other sites More sharing options...
ryan Posted June 7, 2015 Share Posted June 7, 2015 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. 2 Link to comment Share on other sites More sharing options...
qtguru Posted June 7, 2015 Share Posted June 7, 2015 Same here am interested in this too, if there's an API to call we can implement it in ProcessWire, am sure Nico would be interested in this too. Link to comment Share on other sites More sharing options...
LostKobrakai Posted June 7, 2015 Share Posted June 7, 2015 From a quick glance into the plugin it seems like antispam bee is build around wordpress, so it may be a bunch of work to separate the functionality from the wordpress specifics. Link to comment Share on other sites More sharing options...
kreativmonkey Posted March 22, 2016 Author Share Posted March 22, 2016 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 3 Link to comment Share on other sites More sharing options...
gRegor Posted March 22, 2016 Share Posted March 22, 2016 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 More sharing options...
kreativmonkey Posted March 22, 2016 Author Share Posted March 22, 2016 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 More sharing options...
kreativmonkey Posted March 24, 2016 Author Share Posted March 24, 2016 @ Ryan, now i have the first version of the upcoming module. How can i include it in to the Comment workflow? Link to comment Share on other sites More sharing options...
kreativmonkey Posted March 28, 2016 Author Share Posted March 28, 2016 I create a separate Thread for the Module, pleas post your question ore anything other on this thread: https://processwire.com/talk/topic/12872-module-comment-filter-antispam-guard/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now