Location: PHPKode > scripts > WH Board > wh_board/functions/makeurl.php
<?php

    function makeurl($msg) {
        $search = array(
        '#(^|\s)(http|https|ftp)(://[^\s\[]+)#i',
        '#(^|\s)([a-z0-9-_.]+@[a-z0-9-.]+\.[a-z0-9-_.]+)#i');

        $replace = array(
        '\\1[url]\\2\\3[/url]',
        '\\1[email]\\2[/email]');

    return preg_replace($search, $replace, $msg);
    } 

?>
Return current item: WH Board