Forums

Announce: SpamWordBlock plugin (46 posts)

  1. awh
    Member
    Posted 8 years ago #

    Deactivate/activate didn't work.
    phpinfo says I have PHP Version 4.2.2. That must be why.
    My web host should upgrade at some point.
    Thanks!

  2. sophies
    Member
    Posted 8 years ago #

    this worked instantly! :) No more gambling and drug spams.
    Thanks so much.
    Sophie

  3. jburley
    Member
    Posted 8 years ago #

    presto: no, sorry, it will still catch entries like that.
    awh: I have updated the plugin with a check to see if html_entity_decode exists. So this version may work with your version of PHP. Want to give it a try? It's at the same place, I've updated the .zip
    pericat: thanks again for the post, I've added that line to the script as well as the above change for awh.
    sophies: glad that it's useful for ya!
    .josh

  4. pericat
    Member
    Posted 8 years ago #

    I'm just glad those lines were of some use, and could be folded into an existing spam-prevention plugin.

  5. awh
    Member
    Posted 8 years ago #

    jburley, I am now running with a version I just downloaded. It works great!
    Thank you very much.

  6. permutations
    Member
    Posted 8 years ago #

    Thanks for the script, Josh. Very helpful!
    If you have a moment, could you modify the page that says "spam words found" to include the original post - perhaps with the string(s) responsible for the block in boldface? Since there is such a high level of false positives due to embedded strings, this would be useful in tweaking the blocked-word list. If you're not able to get to it and I have time down the road, I'll post the tweak. Right now I'm too swamped.

  7. awh
    Member
    Posted 8 years ago #

    It suddenly stopped working on me. Now when the plugin is activated, all comments are blocked with "spam words found." I have to deactivate the plugin to enable comments.
    My web host did some maintenance recently. I don't know exactly what was done. The PHP version is still at 4.2.2, just what it was before.

  8. James
    Happiness Engineer
    Posted 8 years ago #

    Check and see if you have any blank lines or / characters in your blacklist.

  9. awh
    Member
    Posted 8 years ago #

    That was it. I deleted the blank lines and now it works.
    Thank you!

  10. jburley
    Member
    Posted 8 years ago #

    permutations, I just started to take a look at implementing your requested change.
    I first started on your first request... to print out the original post, but realized that that isn't very useful without your second request, to bold/highlight the offending sections.
    No time tonight, but I'll try to get to that this weekend.

  11. jburley
    Member
    Posted 8 years ago #

    Ok, strike that. It now displays the first field that had a "match", and highlights the word that matched (or part of a word that matched).
    I've posted an updated version (1.2) at:
    http://www.stationlabs.com/

  12. jburley
    Member
    Posted 8 years ago #

    Sorry podz, new URL:
    http://www.stationlabs.com/?q=node/2

    Or, just keep the root: http://www.stationlabs.com/

  13. mmdm
    Member
    Posted 8 years ago #

    I installed and activated this plugin last week, but instead of killing the spam comments, I still get an email where I have to approve or delete it. Using the newest version of WP.

  14. James
    Happiness Engineer
    Posted 8 years ago #

    This is obsolete in WordPress v1.5. To enable this feature in WP v1.5, go Options/Discussions and enter your chose spam words into the "Comment Blacklist" box. If a comment matches something here, it will be automatically deleted and there will be no notification. See: http://codex.wordpress.org/Combating_Comment_Spam#Comment_Blacklist

  15. James
    Happiness Engineer
    Posted 8 years ago #

    This is obsolete in WordPress v1.5. To enable this feature in WP v1.5, go Options/Discussions and enter your chose spam words into the "Comment Blacklist" box. If a comment matches something here, it will be automatically deleted and there will be no notification. See http://codex.wordpress.org/Combating_Comment_Spam#Comment_Blacklist for more info.

  16. joeytrimmer
    Member
    Posted 8 years ago #

    nice plugin! did a quick test and sent it to a friend. it worked nicely.

    One thing that would be nice (maybe it's already implemented?) is if somebody has posted before that it bypass the filter...for example. lets say my dad wants to get a poker game together, if he's posted before than it would go through. No big deal though, for now i'll just keep checkin my moderation queue.

    thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.