Raven’s antispam, a plugin
Description
Raven's antispam is a Wordpress plugin, powerful and invisible fighter
against comment spam. It works on a priciple (afaik) invented by Jakub Vrána: visitors
with enabled JavaScript see nothing – no annoying
questions, no captcha, nothing. Just (visually) untouched comment form.
Users with disabled JS see an additional text-field
and a word that must be rewritten into textfield. (If it's not, then an error
page is displayed.) Simply clever. (original
explanation in czech)
Efficiency
Low-traffic sites can live just with Raven's antispam, no other plugin is needed. At more popular websites it's sometimes necessary to use it in combination with (for example) Akismet. Since Raven's antispam can't check trackbacks (because of its spam recognizing method), it's also recommended to secure this door with Simple Trackback Validation or Bad Behaviour. But in many cases can the Raven's antispam alone mean a sufficient protection.
Current version: 2.0
Recent changes
- 1.5 → 2.0: Possibility of own template code added; Removed compatibility with WP < 2.0.3; Other not so visible changes
Download
Download newest Raven's antispam (10 KB, *.ZIP)
Installation (as usual)
- Unpack the archive and copy the entire folder into your
wp-content/pluginsdirectory - Activate Raven's antispam plugin (Administration → Plugins)
- Enjoy your blogging without spam
Other info
- Licence: GNU/GPL
- Compatible WordPress versions: 2.0.3–2.6
- Donations or other ways of support are very appreciated.
- Included translations: Czech, Russian (thanks Ptath)
FAQ
- I activated the plugin, but after sending a comment it shows „You
didn't answer the antispam question…“? → The problem is most
probably in your template file comments.php. Inside the
formelement there should be this code somewhere:<?php do_action('comment_form', $post->ID); ?>. If it's missing, add it. - Didn't the homepage of R.A. change recently? → Yes, it did. This place is in my opinion more adequate. Old comments archive.
Any problems?
Please, if you'll experience any kind of problems (caused by Raven's antispam), let me know about it, so I can possibly fix it.
Comments
1. Stargazer wrote: On October 24., 2008 comment number 1
Does it work with WP 2.7 (beta)?
2. Kahi [author] wrote: On October 24., 2008 comment number 2
@Stargazer: Yes
3. Leo wrote: On November 26., 2008 comment number 3
Thanks much for this plugin. So neat!
4. Kate Foy wrote: On December 19., 2008 comment number 4
thanks for the plug-in. You can never have too much protection against those pesky spammers … but hey, I wanted to say what a lovely theme design you have here on your blog. Thumbs up!
5. SE7EN wrote: On January 3., 2009 comment number 5
Is it possible to see how many times spam comments are blocked by this plugin?
6. Kahi [author] wrote: On January 3., 2009 comment number 6
SE7EN, you can compare total comments-count with the ID of the last one. Difference is the number of removed comments – can be silimar to number of blocked comments (that is not directly measured, like Akismet does).
7. SE7EN wrote: On January 5., 2009 comment number 7
So that means automated spam comments blocked by this plugin are atill record on the db, right?
I'm comparing this plugin to WP-Spamfree
WP-Spamfree don't allow automated comment to fill in the db from the first place, so the comment id don't run. It says „The beauty of this plugin is the methods of blocking spam. It takes a different approach than most and stops spam at the door“
but it forces visitors who want to comment to turn on their JS, while your plugin provide the alternative for non-JS visitors.
I use WP-Spam free at my old blog. Now I'm deciding which one to use, yours or WP-Spamfree, on my new blog, due to the non-JS visitors problem as state
8. Kahi [author] wrote: On January 5., 2009 comment number 8
Se7en, as far as I know, you can't write WP plugin that stops spam „at the door“. So Raven's AS lets comment to be saved to DB and only after that it can check the „spam status“. If RAS consider a comment to be spam, it's deleted. Spam is no longer in DB but the ID grows.
9. karel wrote: On January 28., 2009 comment number 9
Love the plugin – thank you for updating I’m having trouble with the new blog signup page, specifically the confirmation page. The wphc_value hidden input field is added on the signup_hidden_fields hook. There is no form on the confirmation page, so no hidden fields, and I’m seeing javascript errors on the confirmation page when it tries to assign a value to wphc_value.
That the plugin loads at all (at least the javascript in the header on wphc_posthead) seems to be driven by the fact that is_page() returns true on wp-signup.php. I am guessing that is a core bug or is that the way is_page() should function?
The fix might be adding the form/hidden input fields to the signup_finished hook?
10. Kahi [author] wrote: On January 28., 2009 comment number 10
@karel, thanks for notifying me. Now I hear about this issue for the first time. I will look at details later, hopefully this week. By the way, are you sure that these errors are shown after RAS' deactivation too? This public version should touch nothing else than the comment-processing, so bugging at signup sounds little bit weird…
11. Chris wrote: On February 24., 2009 comment number 11
I would like to change the answer. How do I do that?
12. Kahi [author] wrote: On February 24., 2009 comment number 12
@Chris – find
function GenerateAnswerand after{insertreturn 'asdf';13. MAn wrote: On April 11., 2009 comment number 13
Lo probaré a ver como me funciona.
14. Mr. I wrote: On April 28., 2009 comment number 14
Hi Kahi, The WordPress page of this plugin says it works only upto 2.6 while I have tested it successfult on 2.7.1 It has been running for a month and is wonderful. Great Job!
15. Kahi [author] wrote: On April 29., 2009 comment number 15
@Mr. I: Thank you, I'll update that information probably with publishing WP 2.8 (coming soon).
16. Mr. I wrote: On April 29., 2009 comment number 16
I wonder why it is not mainstream like many overhyped ones! Many other plugins are promoted heavily and are good for nothing. One such plugin that added extra fields blocked 90% of my commentators(Thanks to cFroms plugin which let them contact me). Another one did the most interesting thing! It blocked me from commenting on my own blog. Wheen I tried replying from dashboard, I got message: „Goodbye Spammer“ complete with a dancing smiley!
Yours was recommended by @doreo on Twitter and I must say that its the best solution against captcha for bloggers like me who do not want to add captchas for every reader(theya re very annoying!)
17. Kahi [author] wrote: On April 30., 2009 comment number 17
@Mr. I, I'm not sure. I think most of the people are satisfied with Akismet (packed with WP) and default strict hold-for-moderation settings (and they care about SEO and other „important“ thing at the first place). I could write more about this but your question was rather rhetorical, wasn't it.
18. Christopher wrote: On August 7., 2009 comment number 18
This plugin is not compatible with wordpress 2.8.2 version. When people put the correct code in it doesn't accept the comment. Needs to be updated.
Thanks.
19. Kahi [author] wrote: On August 7., 2009 comment number 19
@Christopher, thank you for letting me know. But – I can't simulate the problem – on my installation of WP 2.8.3 it works well. Possible problem might be in incompatible browser – do you know in which browser/version/platform the problem happens? Plus: are you absolutely sure the the code&field actually was displayed and the code was coppied correctly? Thanks.
20. Christopher wrote: On August 8., 2009 comment number 20
Hi Kahi,
I had the plugin set up so that it wouldn't reveal the code. In other words, I left the box unchecked. So I don't know why this happened. But it did happen to at least two people that I am aware of who tried to leave comments.
21. Kahi [author] wrote: On August 8., 2009 comment number 21
@Christopher, I have an idea – check the comments.php (the file with comment-form) whether the
do_action('comment_form', $post->ID);code is before the submit-input. If not, please try to move it up…22. Emily wrote: On December 21., 2009 comment number 22
This isn't working with WP2.9, just FYI- tells people they didn't answer the antispam question correctly, where there is no antispam question to answer!
23. Kahi [author] wrote: On December 22., 2009 comment number 23
@Emily, please see the FAQ above. According to my experience, this plugin works fine with 2.9.
Add a comment