← Back to Archives

How to turn off the display of b2evolution's massive antispam table

blogging

So, a while back I complained over in the b2evo Feature Request forum about how the antispam tab in the backend was not optimal. As the size of our self-reported blacklists grow so does the time it takes to render and download the antispam tab. (That particular topic has been locked by a moderator, so I'll have to announce my fix here.)

[More:]

I've implemented a quick hack that turns off the displaying of the large table in b2antispam.php by default. It does still allow the user to click on a link if they do in fact desire to work with the whole table.

If you'd like to test this hack out, back-up your admin/b2antispam.php file and apply the following patch or download my b2antispam.php file.

Downloading the file: If applying a patch is not your style, download this b2antispam.php file which includes the modifications I've made. Rename the file to b2antispam.php and place it in your blog/admin/ directory.

Applying the patch: Download this patch file and apply the patch to the stock b2antispam.php file by typinig:

patch < b2antispam.php.20050712.patch.txt

in your blog/admin/ directory.

(Of course, these contributions are licensed under the GPL.)