Archive for the 'mt hacks' Category

A better remove_html?

Thursday, February 17th, 2005

If they can put a man on the moon, and turn a bunch of slashes, underscores, and asterisks into HTML, surely someone could turn HTML into readable plain text, couldn’t they?

Now I have two problems

Sunday, April 4th, 2004

I want to be able to allow HTML in comments, but also autolink naked URLs. I know, I’ll use a regex! Oh…

Fun with drafts

Saturday, February 21st, 2004

Bug. Patch. Can’t use patches? That’s a shame. Incomprehensible as it can be, there are a lot of things Unix got right, and diff and patch are two huge ones. If I need to tell you how to change two lines in a file to fix something, I can either save a copy before I […]

One ping’s enough, Jack

Wednesday, February 4th, 2004

Could someone who actually understands Perl and Movable Type tell me if this makes sense? Back in the early days of Trackback crapflooding, when the flood was all supposedly coming from one source URL, I got to wondering what it would take to only accept one ping from one URL to one Trackback URL. It’s […]

Throttling easterners

Wednesday, February 4th, 2004

If you run multiple blogs in more than one timezone with one installation of MT 2.66x, you (or, worse yet, your visitors) may have noticed that commenting on a blog that’s farther east will prevent you from commenting on a blog farther west from that same IP address until the local time catches up. Comment […]

Throttling down

Thursday, January 15th, 2004

A wee change to the MT 2.661 throttle, taking it from a simple throttle for simple spammers, to a harsher throttle that’s been burned by proxies before, and doesn’t want to be burned again.

URLs including zipcode are prohibited

Tuesday, July 29th, 2003

Putting an end to zipcode comment spam.

MT rebuild type mod

Tuesday, May 13th, 2003

Not for the faint of heart: hack MT to offer more flexibility than just “rebuild this template” or “don’t rebuild this template”.

Helping IE6 stumble through comment popups

Friday, February 21st, 2003

How to make IE6 show comments in the MT 2.6 popup template, possibly at the expense of IE5.5.

Me Want!

Wednesday, February 19th, 2003

The threaded comments I’ve always wanted, handed to me on a platter.