I’m simply dropping my double agreement here… I echo TheSpoter’s rating as excellent. I really love how CFC simplifies Akismet’s job. And it’s working great for me, also. Especially when used in combination with the htaccess modification. Speaking of which, I had to add the root prefix to make it work, thusly:
RewriteCond %{HTTP_COOKIE} !^.*put_cookie_value_here.*$
RewriteRule ^(.*)/wp-comments-post.php - [F,L]
The only difference is the “(.*)/” bit.
However, I also agree with the suggestion to add an option, perhaps in a plugin setting, to switch a nabbed comment’s status from moderation to direct deletion.
Admittedly, that’s more of a luxury thing, as with Akismet comments held in the queue are deleted automatically after 15 days. Still, a clean comment queue is a thing of beauty to behold. 🙂
Just checked in a change to do that. Upgrade to the latest version soon.
sorry for my unqualified question, but is the change by nv1962 still needed with your new plugin version? I would guess so, as its actual code in the .htaccess !?
It’s code you put in the .htaccess that blocks comments that don’t have the cookie set. Read my post he linked to because you need to replace “put_cookie_value_here” with the actual value of the cookie.
I understood that and already replaced the put_cookie_value_here wit the actual cookie value, but nv1062 was talking about having to change the .htaccess code to `RewriteCond %{HTTP_COOKIE} !^.*put_cookie_value_here.*$
RewriteRule ^(.*)/wp-comments-post.php – [F,L]` by putting the “(.*)/” bit in – so my question is, do I need to change that too?
Ovidiu – only if your install isn’t in the root, otherwise no.
its not in the root, I followed the how to from wordpress.org explaining how to install into a subfolder and still have the wp install reachable from the root folder 🙁 according to the codex: http://codex.wordpress.org/Installing_WordPress#In_a_Subdirectory
maybe you coudl point that out in your article? few people think about this when writing their plugins. I really had trouble with a lot of plugins that broke with my install.