I suspect there maybe a solution somewhere for this but after a day of searching and failed attempts I felt it was time to ask.
This is the code I'm using at the moment:
Code:
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($GLOBALS['vbulletin'], fetch_tag_list(),true);
}
$taskdesc = strip_tags($taskdesc);
$taskdesc = $bbcode_parser->parse($taskdesc,0,true);
Which works fine for the default BBcode but I can't get any custom code to work.
If someone could point out where I'm going wrong I'd really appreciate it as this is doing my head in!
Cheers