October 12, 2004

Onwards and upwards

I can’t seem to stop working on the WPBlacklist plugin :p Now that it seems to work so well in combating the spam on my site, I wanted to add a few more features to make it even better. So, I added the option to allow the plugin to harvest spammer details from comments it automatically deletes. Then, I thought, "hey, wouldn’t it be good to allow the plugin to delete other messages which have already been held for moderation by the WP core?" So I added an option for that too – though I’ve actually turned that option off on my own site because I kinda like seeing what item on the blacklist triggered the deletion of the comment and I can’t get an exact item when the comment has been held by the core :p Anyway, it all seems to work fairly well.

I was about to release the plugin when I was notified by a user of another problem – the fact that if they added a URL manually to the blacklist, that it sometimes results in problems. This turned out to be due to another one of those regular expression related errors and so I fixed that as well and in the process, created another file to the growing list of WPBlacklist files – this time, to hold common functions. Since now I had a lot of files all over the place and the install instructions were getting complicated by different locations for the files to go to, I decided to make things simple by including the directory structure in the ZIP file so that all a user had to do was extract the ZIP file contents and then upload things just as they were 🙂 So that’s all there is to the new release – which I’ve called WPBlacklist 2.6. Enjoy 🙂

Tags: Coding, WordPress
Posted by Fahim at 10:01 am   Comments (12)

12 Responses to Onwards and upwards

Subscribe to comments with RSS

#1
Gravatar Image
mesedilla studios 19 October 2004 at 9:01 am

WPBlacklist 2.6
I was testing out wordpress and also installed wpblacklist 1.22. However, it was causing “unknown modifier” errors. So I looked in here for an update.

I got the wpblacklist 2.6. I received new errors. “open_basedir” errors. I noticed that line…

[…] ments to detect spam then adds it to your blacklist database before deleting it. Download WPBlacklist 2.6 plugin if you want protection from spam. […]

#3
Gravatar Image
Webgazette.co.uk 20 October 2004 at 3:49 am

Help! Comment Spam
It seems that no sooner is WordPress installed then along comes the comment spam.

Fortunately help is at hand from Fahim Farook and his WPBlacklist Plugin 2.6.

After a bit of a false start and a few problems (due to my host I think) I got the pl…

#4
Gravatar Image
mini-d 15 October 2004 at 2:36 pm

I don’t know if, it could be possible, but i would like to apply those filters when to all my moderated comments. I don’t like to let free my weblogs for commenting, i like to moderate the discussion and apply WPBlacklist to those spammers. I have to delete like 80 comments a day from spammers :S.

#5
Gravatar Image
JHH 20 October 2004 at 5:29 am

Thanks for the great plug-in. Just installed it. Hope it cures my spam problems.

BTW: What’s the purpose of blacklist-install.php after you’ve installed the plug-in? I mean wouldn’t it involve some security risks leaving it in the open? For now I just changed the permissions on the file. 🙂

#6
Gravatar Image
Alexandar Tzanov 20 October 2004 at 9:46 am

When I tried installing this version (brand new installation, no previous installations) through the “Blacklist Installer“ link in the plug-ins section of wordpress I received this error:

Warning: main(/wp-includes/wpblfunctions.php): failed to open stream: No such file or directory in /home/*/wordpress/blacklist-install.php on line 3

Fatal error: main(): Failed opening required ‘/wp-includes/wpblfunctions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home//wordpress/blacklist-install.php on line 3

To fix that I opened “blacklist-install.php” and changed:

require_once(‘/wp-includes/wpblfunctions.php’);

to

require_once(‘wp-includes/wpblfunctions.php’);

After that worked like a charm.

*I edited out part of the path to the directory.

[…] u can download the new version here and read a detailed description of all the new changes here.  

Gravatar Image
Nik 13 October 2004 at 5:20 am

Do you have any reports on WPBlacklist and WP1.3 working well together?

#9
Gravatar Image
Chris' Corner 13 October 2004 at 5:43 am

WPBlacklist 2.6
A few days ago I installed WPBlacklist 2.5 in order to prevent comment spam from getting out of hand in the future. Well, there has already been an update to WPBlacklist, version 2.6, so that is all installed and it appears to be working so far.

#10
Gravatar Image
Fahim 13 October 2004 at 7:31 am

Haven’t heard anything to the contrary from anybody but then again, nobody might be using WPBlacklist with 1.3 :p I did get a few reports a while back from somebody about WPBlacklist 1.2 not working with WP 1.3 and so installed WP 1.3 to test the claim and found that it wasn’t so but as I mentioned that was WPBlacklist 1.2 and it has moved forward a bit since then. I guess I should get on it and try things with WP 1.3 but since its still in alpha, I really don’t know if there is a point to doing so.

#11
Gravatar Image
WordPress en español 14 October 2004 at 4:11 pm

WPBlacklist 2.6
La famosa Blacklist para WordPress ha sido mejorada en su versión 2.6. Esta blacklist es una de las mejores, entre…

#12
Gravatar Image
Shawn 04 December 2004 at 9:15 am

Hi, I have a quick question. I am using the latest Blacklist 2.6.1 with WP 1.2 and by mistake activated “Harvest information from deleted comments to add to blacklist”. The problem now is that basically ALL my comments are now going straight to the moderation queue. Before I activated that feature, Blacklist was doing an amazing job distinguishing between sincere posts and spam. Is there a way to reset the Blacklist? I have no idea what information was added to my Blacklist which now regards all comments as spam. I would just like to get things back to normal. Thanks for your work and help!

Leave a response

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