« Let The Frisking Of Small Children Begin | Main | Does This Friend Make My Ass Look Big? »

MT-Blacklist Slowdown Fix

UPDATE: This fix is outdated. Upgrade to Version 1.5 (or 1.6), which solves the rebuild problems in a much more elegant way.


Stepan Rhea came up with this code fix to solve the issue of slow rebuilds and comment post times with MT-Blacklist. Through a long process of elimination the alpha testing group identified situations where the comment and trackback scanning of existing comments impacts blog performance. If you are affected here is a fix to speed up your comment post times and rebuild times. See the Technical Detail section for information on what the hack does.

This fix applies to MT-Blacklist v1.0 BETA only!!! It will be removed once the next version comes out.

Do It Yourself

1) Edit the Blacklist.pl file and comment out (with a # sign) or delete the following three lines:

MT::Template::Context->add_container_tag('Comments' => \&Comments);
MT::Template::Context->add_container_tag('Pings' => \&Pings);
MT::Template::Context->add_tag('EntryCommentCount' => \&EntryCommentCount);

2) Copy the edited Blacklist.pl to your MT plugin directory (overwrite the current version). Verify the permissions are 755 (based on some reports 644 may not work).

3) Comment post times should return to normal after installation.

Technical Details

Filtering of content in existing comments and trackbacks is the functionality that causes slow downs in some circumstances. The hack turns off this functionality. The next version of MT-Blacklist will address this issue, perhaps by allowing you to turn the feature on or off.

You do not lose any of the blocking features on new comments or trackbacks provided by the MT-Blacklist plug-in by running this hack. The only functionality you lose is filtering of old comments. If you've been comment spammed already you've probably dealt with those already anyway.

Help Me!!! I Can't Edit A File

If you can't (or won't) edit the Blacklist.pl file here's a zip file with the edited version in it. This fix applies to MT-Blacklist v1.0 BETA only!!! It will be removed once the next version comes out.

1) Download the hacked Blacklist.pl (Zipped).

2) Extract the Blacklist.pl file, and copy it to the your MT plugin directory (overwrite the current version). Verify the permissions are 755 (based on some reports 644 may not work).

3) Comment post times should return to normal after installation.


TrackBack

Listed below are links to weblogs that reference MT-Blacklist Slowdown Fix:

» Winds of Change.NET linked with MT-Blacklist: Technical Difficulties

» PromoGuy dot Net linked with Blacklisted and Tweaked

» mike.whybark.com linked with Mt-Blacklist build slowdown temp fix

» ETC. Indulging my inner geek linked with Fix for MT-Blacklist Slowdown

» scriptygoddess.com linked with MT-Blacklist fix and Bayesian filter for MT

Comments (3)

That's great, thanks!... (Below threshold)

That's great, thanks!

I slowed down on posting be... (Below threshold)

I slowed down on posting because I was getting irritated with the slooowww rebuilds. Thought it was my phone company again.

It just uploaded the edited Blacklist.pl and test posted a comment. Seems fine now.

Thanks for the fix.

I tried the fix but it does... (Below threshold)

I tried the fix but it does not seem to help for some strange reason. Adding comments and/or rebuilds are still as slow as molasses (maybe even slower). Very aggravating.




Advertisements









rightads.gif

beltwaybloggers.gif

insiderslogo.jpg

mba_blue.gif

Follow Wizbang

Follow Wizbang on FacebookFollow Wizbang on TwitterSubscribe to Wizbang feedWizbang Mobile

Contact

Send e-mail tips to us:

[email protected]

Fresh Links

Credits

Section Editor: Maggie Whitton

Editors: Jay Tea, Lorie Byrd, Kim Priestap, DJ Drummond, Michael Laprarie, Baron Von Ottomatic, Shawn Mallow, Rick, Dan Karipides, Michael Avitablile, Charlie Quidnunc, Steve Schippert

Emeritus: Paul, Mary Katherine Ham, Jim Addison, Alexander K. McClure, Cassy Fiano, Bill Jempty, John Stansbury, Rob Port

In Memorium: HughS

All original content copyright © 2003-2010 by Wizbang®, LLC. All rights reserved. Wizbang® is a registered service mark.

Powered by Movable Type Pro 4.361

Hosting by ServInt

Ratings on this site are powered by the Ajax Ratings Pro plugin for Movable Type.

Search on this site is powered by the FastSearch plugin for Movable Type.

Blogrolls on this site are powered by the MT-Blogroll.

Temporary site design is based on Cutline and Cutline for MT. Graphics by Apothegm Designs.

Author Login



Terms Of Service

DCMA Compliance Notice

Privacy Policy