September 21, 2004

Blacklists and other bits

I talked about this particular bug in the WPBlacklist plugin that I wrote a few days ago as well. I mean the one where a comment which had been held for moderation by the internal WordPress moderation system could be approved by the WPBlacklist plugin because it doesn’t check the status of the comment before running the comment through the blacklisted item list. I got bitten by this bug just yesterday when a spam comment which was held for moderation because it had multiple URL’s in it, was approved by the blacklist plugin because those URLs were not in the blacklist. I immediately added the necessary changes to the code, tested it out and uploaded the new script to my server. Since this is a bug which will affect others as well, I decided to release WPBlacklist 1.22.

However, I didn’t stop at changing just the plugin code. I also attacked another problem which had been bugging me – the fact that I don’t get a "held for moderation" e-mail when the WPBlacklist plugin holds an e-mail for moderation. This was due to the way the internal WP code worked and so I decided to change the code a little bit so that it worked the way I wanted. I’ve included the changes in the readme.txt file in the WPBlacklist distribution but in case somebody is interested, here is a excerpt direct from the readme.txt file … Umm, I tried posting that bit but it really messes up the paragraphs for entries here on SM :p So I guess you’ll just have to read the readme.txt file to find out what you need to do …

Tags: Coding, Technology, WordPress
Posted by Fahim at 9:23 am   Comments (6)

6 Responses to Blacklists and other bits

Subscribe to comments with RSS

[…] nts-post.php. Don’t process vars that aren’t used elsewhere in the script. WP Blacklist The MT version of this seems to be the 800 pound gorrila of spam prevention. The WP version is […]

#2
Gravatar Image
Ryan Grier.com 25 September 2004 at 3:47 am

WPBlacklist 1.22
On a recommendation from Fahim [farook.org], I upgraded my recently installed WPBlacklist to version 1.22. Thanks Fahim for doing a good job on the plugin.

[…] >> Blacklists and other bits Categories – WordPress Hack LinkyLoo — Mark Solipsistic Meanderings >> Blacklists and other bits: AN upgrade to the WordPress Blacklist hack/plugin. THe […]

#4
Gravatar Image
Brett 18 November 2004 at 10:41 am

I just instlled Blacklist on my site that uses WP 1.2-alpha-4 and everything was fine until I clicked on the configuration link. I recieved this error once I clicked it:

Fatal error: Cannot redeclare add_magic_quotes() (previously declared in /home//www/wordpress/wp-admin/wpblacklist.php:4) in /home//www/wordpress/wp-admin/admin.php on line 29

My host uses the latest versions of PHP and MYSQL. Are there any suggestions for how this might be fixed? Thanks. 🙂

[…] -Spammer for WordPress Blogs Blacklist for WordPress From what I read, the amount of time wasted deal […]

[…] -Spammer for WordPress Blogs Blacklist for WordPress From what I read, the amount of time wasted deal […]

Leave a response

:mrgreen: :neutral: :twisted: :shock: :smile: :???: :cool: :evil: :grin: :oops: :razz: :roll: :wink: :cry: :eek: :lol: :mad: :sad: