When displaying forum posts on my website's frontpage, how can I make it so that http:// URLs get automatically hyperlinked? I have this:
define('SMF', 1);
$modSettings['enableBBC'] = 1;
include('forums/Sources/Subs.php');
...
$body = doUBBC($row['body']);
It handles bbcode tags properly, but it doesn't hyperlink http:// URLs.
Try adding this:
$modSettings['autoLinkUrls'] = 1;
Cheers,
Ryan Jones
Maybe the parsebb (or parsebbc cant remember the exact name) will work