WordPress.org

Ready to get started?Download WordPress

Forums

WP Blacklist Comment Spam Filter Update (12 posts)

  1. Laughinglizard
    Member
    Posted 10 years ago #

    This update has a more inclusive (read updated, more entries) list of spammer domains and is compeltely integerated into the wp-admin interface.
    The updated script allow a user to import new blacklists both from exported WP blacklists as well as MT Blacklists without fear of having multiple entries.
    There is also a new export feature that exports your blacklist to a text file which can be shared with other users.
    Another new feature allows you to add single domains and regular expressions from new spam comments that the blacklist did not catch.
    Download the updated zip file containing the whole WP Blacklist application from:
    http://dinki.mine.nu/word/b2-img/wpblacklist.zip

  2. philor
    Member
    Posted 10 years ago #

    Sweet!
    But... (yeah, I know, bloody bug reports)
    Export is including admin-footer.php - how about instead of break; at the end of the export section of the switch, you just die? Works for me.
    Don't have a solution just yet, but: it would be nice if there was some way to force a download of a text file, but still get line-ending conversion: with a *nix server and a Windows client, the exported file looks evil. Maybe that's unavoidable, I've never tried (switch whether you put \n or \r\n in the file based on the client OS?).
    addomain's leaving an open <div> - just need to say echo $answer."<br/></div>";
    But, sweet! I like it.

  3. Laughinglizard
    Member
    Posted 10 years ago #

    If you have the earlier version and would like to use the import/export functions from your admin page, you would need to copy all the files to your wp-admin folder and change the menu.txt as in the readme. The blacklist.txt only contains the list of new domains and does not perform as a script. Your best bet is to follow the instructions in the readme and ignore the part of the instructions that you already have incorporated.

  4. Nick Momrik
    Member
    Posted 10 years ago #

    Maybe also add that those two files can be deleted afterwards.

  5. Laughinglizard
    Member
    Posted 10 years ago #

    Wonderful suggestions MtDewVirus!
    Updated the instructions on the hack.

  6. presto
    Member
    Posted 10 years ago #

    thanks LaughingLizard
    I uploaded and re-installed the new spam filter. This works and should be a feature added to the next release of WordPRess

  7. mtanner
    Member
    Posted 10 years ago #

    LL,
    I installed the black list and now I have to moderate all of my comments even though I have the option set not to, not sure if this is how the BL works. Any suggestions?

  8. Laughinglizard
    Member
    Posted 10 years ago #

    If you have the hack installed correctly, only those comments that match the words/phrases/domains in the blacklist will be tagged for moderation. In your case, either you have an error, or the comments are somehow matching something in the list.

  9. Nick Momrik
    Member
    Posted 10 years ago #

    I just posted a comment to your site without a problem mtanner. :-?

  10. mtanner
    Member
    Posted 10 years ago #

    Thanks MtDewVirus for helping out

  11. davidchait
    Member
    Posted 10 years ago #

    I'll definitely have to look at integrating this in with my referrer blacklist stuff... I temporarily hacked my referrer blacklist into the comments-post code to use it for both places, but the comments-post blacklisting can be much more, well, 'intensive' as it only happens at that moment... the referrer stuff needs to be small and fast, as it runs on EVERY pageload. Thus I use hand-coded arrays in php, rather than a nice (but slow) remote SQL lookup.
    Also a good 'sample' for how to build and integrate a new 'admin module'. Great work there Mark! ;)
    -d
    http://www.chait.net

  12. Laughinglizard
    Member
    Posted 10 years ago #

    Thanks david. Appreciate it!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.