WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Comments For Cookies] Change default from moderate to Delete (8 posts)

  1. TheSpoter
    Member
    Posted 6 years ago #

    First of all I have to say - I'm very impressed with plugin. I have been running it for last 3 days with an average of 200-300 spams a day and Not A Single false Positive!'

    Which brings me right back to the problem :-) or rather enhancement suggestion. It seems that CFC currently catches many spam pingbacks etc, before the Akismet does. Before they would simply disappear and now I get whole bunch of spam crap in my moderate queue. I guess Akismet was doing the job before automatically and now that functionality removed by CFC.

    Can we have an option to Delete spam comments directly, without requiring moderation? As I have mentioned - I haven't seen a single false positive and going through and deleting spam queue is simply annoying.

    Thanks.

  2. nv1962
    Member
    Posted 6 years ago #

    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. :-)

  3. Donncha O Caoimh
    Member
    Posted 6 years ago #

    Just checked in a change to do that. Upgrade to the latest version soon.

  4. Ovidiu
    Member
    Posted 6 years ago #

    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 !?

  5. Donncha O Caoimh
    Member
    Posted 6 years ago #

    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.

  6. Ovidiu
    Member
    Posted 6 years ago #

    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?

  7. Donncha O Caoimh
    Member
    Posted 6 years ago #

    Ovidiu - only if your install isn't in the root, otherwise no.

  8. Ovidiu
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic