Akismet + phpBB3 = Clean Forums

Update: deprecated by phpBB 3.1+

I’ve dealt with spam registrations and spam posts for years now in an online forum that I host. Its a burden on the users and a burden on (especially) the owner. No one wants to use a forum that can’t seem to control spam and no one wants to have a daily routine of manually purging hundreds of posts and users either! That’s where Akismet comes into play. πŸ˜‰

I’ve used it in combination with WordPress from the beginning and to-date it has blocked nearly 500k spam comments! I enjoy working with web stuff, but I enjoy hacking it together even more.. so I’ve put together a “mod” package that will harness the power of Akismet and its super easy to install! While it won’t take care of spam registrations (you’ll need something else for that), it should be able to dramatically curb spam posts!

What you need

  • A web server running at least PHP 5 with phpBB 3 installed (I do not support phpBB2 or lower).
  • An Akismet API Key (* Free for personal use, the donation bar DOESΒ drop to $0, though donate if you wish).
  • My phpBB + Akismet Installation package
  • FTP Access to your phpBB server
  • 15-20 minutes for setup time

Continue reading “Akismet + phpBB3 = Clean Forums”

[solved] Stop WordPress Spam Registrations

I’ll bet all of you out there have dealt with your fair share of spam. Everyone gets it, in their email, blog posts and lately even WordPress registrations! I have a tool for handling spam comments on my blog, but what do I do when I get 10’s to 100’s of spam user registrations on my blog with names and emails like BuyCheapMeds and FreeSoftwareDVDs@some-russian-website.ru?

Well, thank goodness the WordPress Extend site has so much to offer! After asking in the WordPress forums how to completely disable new user registrations…and getting little response…I decided that I would have to edit some of the WordPress files to ignore new user registrations in a fashion to fit my needs. I wanted to keep them open from the admin panel so I myself can add new users, but block outsiders from registering so I could control the spam registrations.

To my surprise I got a response in the forum thread that I started with an example plugin that could be used. I looked into the example plugin, but I found myself confused at the description and uncertain of how the plugin actually worked. Who wants to install something on their site when they have no clue how it works!

I dug a bit deeper and searched this time for only 5-10 minutes and came across two plugins that were capable of handling my needs and one that was just plain cool.

To control your spam registrations I would suggest the following three plugins which are ordered according to the order that I would choose them.

  1. Register Plus
    http://wordpress.org/extend/plugins/register-plus/
  2. Sabre
    http://wordpress.org/extend/plugins/sabre/
  3. Referrer Bouncer
    http://blog.taragana.com/index.php/archive/word-press-1-5-plugin-referer-bouncer/

If you’re wondering why I sorted them this way then I’ll try to explain quickly.

Referrer Bouncer was the one that was suggested to me in the forum thread, but I found that it was a bit more involved than the others and it required the user to create a file called “referer.txt” and add domains that should be blocked (at least I think it was for blocked domains…not a clear description or how to πŸ™ ) and it just made more sense to go with a different plugin rather than tracking down all of the referring sites that I needed to block.

Sabre does exactly what I wanted to do. It was like it knew what I wanted before I asked, haha, but I decided to go with Register Plus in the end because it allows me to create invitation codes so that I can easily leave the registration open to the public, but they will need to contact me and request an invitation.

Why did I chose this method? I figured that most people would prefer not to register in the first place. Nothing at kyleabaker.com is restricted to the general public that is open to the registered users…it’s all the same. So if you wanted to post then you can freely post comments here. The invitations are for friends and people that I know so they can register if they wish and I know they won’t be spamming me. πŸ™‚ Except maybe Dan…he’s done it before. πŸ˜›

The third plugin that I found (the Referrer Bouncer was found by someone else and posted in the WordPress forums for me) was one that allows users to login via OpenID! This is really cool because it doesn’t require a user to actually register at your site and waste space! They can register at any website that offers OpenID such as Yahoo, WordPress, Flickr (also Yahoo) and many more!

I didn’t go with WP-OpenID because spammers can still register via OpenID and login on your site. They wouldn’t be spamming the registrations, that’s one plus side, but they are still encouraged to test out my comment filtering system..and they always jump at chances to piss people off like that. πŸ˜›

So I suggest you look into my “research” if you’re having similar trouble! Enjoy!