Forums

Comment Time Repost Limit? (7 posts)

  1. pubwvj
    Member
    Posted 5 years ago #

    Is there a way to limit commentors from making rapid multiple posts in a short period of time? Perhaps a plugin that would check how long it has been since the person last made a comment. When I look at comment spam it often comes in bursts over a very short time. SlashDot does something like this.

  2. Kafkaesqui
    Moderator
    Posted 5 years ago #

    WordPress by default should be throttling this to 15 seconds between comments. This is handled through the wp_allow_comment() function.

  3. pubwvj
    Member
    Posted 5 years ago #

    Could this time limit be added to the options? That would be helpful.

  4. theirishthug
    Member
    Posted 5 years ago #

    wp_allow_comment() is giving me a "too quickly" error every time I try to post a comment on my blog. It doesn't matter how long I wait or which user I am logged in as.

  5. Chris_K
    Member
    Posted 5 years ago #

    Check the date/time on your local PC. How's it compare to the server's date/time?

  6. theirishthug
    Member
    Posted 5 years ago #

    Ok, well it's apparently not 'every time' but it needs much more than 15 seconds.

    My server and my local PC are both EST.

    I had run into the the error before, but it seemed like it followed the 15 second delay. The only thing I could think that changed between when I saw it before is I just upgraded to WordPress 2.1.

  7. theirishthug
    Member
    Posted 5 years ago #

    Found it. Like the person in this thread, I had accidentally set a comment's timestamp to be Dec 07 instead of Dec 06. Since any post I make now (Feb 07) is not 15 seconds latter than Dec 07, the spam blocker would always be tripped.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags