+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Discarding Comments Under Set Amount Of Words

  1. #1
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,107

    Icon5 Discarding Comments Under Set Amount Of Words

    Does anyone know of a plugin that would allow me to automatically discard comments which are under a predetermined amount of words? Getting sick of being notified that a comment is in the spam queue and it's two or three words long. Typically, in this day in age, if your comment is to be taken seriously, it will generally be 5-10 words long. So I would not mind implementing a minimum word limit to get published or at least, get into the queue.

  2. #2
    Cais's Avatar
    Cais is offline Big Tipper
    Join Date
    Feb 2009
    Location
    Mississauga, ON, CANADA
    Posts
    347

    Default

    I think there is a great deal of potential in that plugin idea.

    I'm also thinking a bit of a theme modification to disable the comment form submit button unless the textarea content is x-characters long would work in the short term.

    Maybe one of the Tavern's PHP experts can work out the details?

  3. #3
    itsananderson's Avatar
    itsananderson is offline Big Tipper
    Join Date
    Jan 2009
    Location
    Terre Haute, IN
    Posts
    354

    Default

    It shouldn't be that hard to do and, hey, my spring break is next week, so maybe I can take a stab.

  4. #4
    andrea_r's Avatar
    andrea_r is offline WPTavern Forum Moderator
    Join Date
    Jan 2009
    Location
    Eastern Canada
    Posts
    1,279

    Default

    Well, this forum does the same. :D

  5. #5
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,107

    Default

    Cool beans Will. As I think about it, trying to determine what is a word and what is not a word probably adds a new level of complexity to the plugin. So instead, I think a way to enable a minimum character limit where the comment has to be above a certain number of characters would work. But, even the distinction between which it should be, words or characters could be debated.

  6. #6
    itsananderson's Avatar
    itsananderson is offline Big Tipper
    Join Date
    Jan 2009
    Location
    Terre Haute, IN
    Posts
    354

    Default

    I'm thinking that could be something that's specified in the settings. You can either filter comments by number of words, or character length.

    In addition, I plan to let you either spam or delete comments.

    I might even add support for excluding registered users, and doing what JellyBean suggested, where they can't submit unless they meet your comment requirements.

  7. #7
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,107

    Default

    Considering by default, you can already delete and spam comments so why would you need to add that? Also, if someone has a previously approved comment, the restrictions should not be in affect for those people.

    My initial goal with a plugin like this is to stop comments like this:

    Cool site
    I Agree
    Awesome blog, I have subscribed to stay updated


    From ever getting into my spam queue, I'd rather just have them discarded without thinking twice.

  8. #8
    itsananderson's Avatar
    itsananderson is offline Big Tipper
    Join Date
    Jan 2009
    Location
    Terre Haute, IN
    Posts
    354

    Default

    Yes, so what I'm saying is that you can choose in the settings to have them automatically deleted, or if you're afraid of accidentally deleting a legitimate comment, you can have them automatically spammed, but not deleted. It'd be your choice.

  9. #9
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,107

    Default

    Well that sounds good. Sign me up to your plugin beta test team if you decide to go through with it.

  10. #10
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,107

    Default

    Someone mentioned on Twitter about automatically discarding comments which have more than a predetermined amount of misspellings. Again, seems like something like that would add a good bit of unnecessary overhead.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts