I applied the quote hack I saw further down the list..but..I added a little bit of my own elements to it (and a few lines from a friend's hack of the hack). Just figure I'd share it incase anyone's interested.
Rather than using [ q u o t e ], I prefer to have ">" preceeding each line. Here's a simple regexp that will do it:
$BodyEd = preg_replace("/([^\n]{0,60})(\s|$)/","> $1\n",chop($BodyEd));
That will (intelligently) trim each line to 60 chars (the default box size I believe...I resize mine to 80x20). Signatures, edit notes, <b r>, quotes, etc are all previously handled (from other peoples' hacks).
I believe the old version of (Perl) Threads we had running did something similar to this. And note that this is
Preg_replace...NOT ereg_replace. While I personally hate Perl and regexp, it comes in handy every once in a while []/w3timages/icons/tongue.gif[/]
If you're curious as to how it works, guests can play on the "Testing..." board inside the "Zophar's Domain" category:
www.zophar.net/wwwthreads