Topic: How to make url <dchub://...> clickable?
Sorry for my English. How can I make urls like <dchub://....> clickable? I didn't find any answer on forum. Thank's.
You are not logged in. Please login or register.
PunBB Forums → General discussion → How to make url <dchub://...> clickable?
Sorry for my English. How can I make urls like <dchub://....> clickable? I didn't find any answer on forum. Thank's.
Yes, I found how to do this, just in /include/parser.php edit one line like this
$text = preg_replace('#([\s\(\)])(https?|ftp|news|dchub|file){1}://([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^"\s\(\)<\[]*)?)#ie', '\'$1\'.handle_url_tag(\'$2://$3\')', $text);
May be it wiil be usefull for someboby.
Later just add possibility to make <file://...> urls clickable to.
PunBB makes the url's in posts automaticly clickable.
No, urls like <dchub://...> or <file://....> dosn't became clickable. But now it's ok.
PunBB Forums → General discussion → How to make url <dchub://...> clickable?
Powered by PunBB, supported by Informer Technologies, Inc.