hi guys,
I like to make a url clickable inside of a [code] tags.
Can someone help me?
Thank you
This is my includes/bbcode.php file:
http://amadoras1.do.sapo.pt/bbcode.txt
I tried this:
Find:
PHP Code:
// [code] and [/code] for posting code (HTML, PHP, C etc etc) in your posts. $text = bbencode_first_pass_pda($text, $uid, '[code]', '[/code]', '', true, '');
Replace:
PHP Code:
// [code] and [/code] for posting code (HTML, PHP, C etc etc) in your posts. //$text = bbencode_first_pass_pda($text, $uid, '[code]', '[/code]', '', true, '');
But appears like that:
http://i38.tinypic.com/v33io8.jpg
Now only need to make the url clickable... If I put the url without the tags appears fine, but with tags and with the modification above, appears like I show in the link above.
Can you make only the url clickable inside the code tag? Please?
|