when you made the code what's the error are you getting back?
dead site or no effect?
thats ts_custom_bbcode
looked at it and not sure how to use to either but something to do with $text as variable if you try to use, see what hapenns
also it looks like you need to define a function e.g.
Code:
function code_tag ($code)
{
$code = str_replace (array ('<br>', '<br />', '\\"'), array ('', '', '"'), $code);
$code = strip_front_back_whitespace ($code, 1);
$blockheight = fetch_block_height ($code);
return '' . '<div style="margin:20px; margin-top:5px"><div class="codetop">CODE:</div><pre class="codemain" dir="ltr" style="margin: 0px;padding: 6px;border: 1px inset;width: 650px;height: ' . $blockheight . 'px;text-align: left;overflow: auto">' . $code . '</pre></div>';
}
but then how to relate to that function elsewhere I'm not sure