Using Akismet Class with Spamwords for phpBB2

I followed the instructions here for installing an akismet-based spam filter on phpBB2, but I found that it didn’t play nicely enough with the current Akismet API.  So instead, I downloaded an Akismet class and used that instead.  Basically, you should use Akismet.class.php instead of functions_akismet.php in your spamwords.php file.

  1. Install the spamwords mod
  2. Download Akismet.class.php and put this under your phpBB2 includes/ directory
  3. Modify the spamwords.php file so that it looks like this (include your Akismet API at the top):

Leave a Reply