Topic: ed2k links

I'm trying to post ed2k links but it's not clickable...
Is there a way to make ed2k links clickable?

2

Re: ed2k links

just a quick ideea: search for 'http://' in functions (no time to check it out), and I think a simply copy paste + changing 'http://' to 'ed2k://' will do the job.

Re: ed2k links

In parser.php find

$text = preg_replace('#([\s\(\)])(https?|ftp|news){1}://([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^"\s\(\)<\[]*)?)#ie', '\'$1\'.handle_url_tag(\'$2://$3\')', $text);

and replace it with

$text = preg_replace('#([\s\(\)])(https?|ftp|news|ed2k){1}://([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^"\s\(\)<\[]*)?)#ie', '\'$1\'.handle_url_tag(\'$2://$3\')', $text);