Thanks for the idea of using wordwrap. It sort of worked by keeping the long URL's from breaking the design, but it didn't fix them not getting converted into a usable link. In my text format function, I have it convert the vbulleting [URL] tag into an html link. I think that the way my cropsentence function (seen in my first post) is working is preventing this conversion from working correctly.
Here's what I use to convert the [URL] into a link:
PHP Code:
$pagetext = ereg_replace(
"\[URL]([-_./a-zA-Z0-9 !&%#?,'=:~]+)\[/URL]",
"<a href=\"\\1\">\\1</a>", $pagetext);
Any ideas? You can see what's broken at
http://www.numbmonkey.com