Displaying forum posts on my website's frontpage

Started by Debbie2, March 09, 2006, 02:04:13 AM

Previous topic - Next topic

Debbie2

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.

    [/size][/list]
    [/

    RyanJones

    Try adding this:

    $modSettings['autoLinkUrls'] = 1;


    Cheers,

    Ryan Jones
    RyanJ (Ryan Jones)

    Support Web Standards!

    Currently working On: Additions to the Karma system.

    H

    Maybe the parsebb (or parsebbc cant remember the exact name) will work
    -H
    Former Support Team Lead
                                  I recommend:
    Namecheap (domains)
    Fastmail (e-mail)
    Linode (VPS)
                                 

    Advertisement: