Hi,
I am trying hard as well to include custom BB tags I have created myself but no go. The do_parse function will not include it as hard as I try. Same with Quotes, they are not being parsed at all. Did I miss a command somewhere?
I have this initially:
PHP Code:
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list(), true);
while($News = $db->fetch_array($NewestNews)){
$Data .= ParseTemplate($Template,
array(
'threadid' => $News['threadid'],
'threadname' => $News['title'],
'postuserid' => $News['postuserid'],
'postusername' => $News['postusername'],
'post' => $bbcode_parser->do_parse($News['pagetext'], false, true, true, true, true, false),
'comments' => vb_number_format($News['replycount']),
'date' => vbdate($vbulletin->options['dateformat'], $News['dateline']),
'time' => vbdate($vbulletin->options['timeformat'], $News['dateline']),
'views' => vb_number_format($News['views']),
)
);
}
IMG does get parsed but so far Quotes and any custom BB codes do not.
Thanks for any help in advance