I require help parsing bbcode ...
require_once(DIR . '/includes/class_bbcode.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$parsed_text = $parser->do_parse($text, $do_html, $do_smilies, $do_bbcode, $do_imgcode, $do_nl2br, $cachable);
When I do this nothing is parsed and the code shows up.
example ->
$text = '[ url ] www.tehskeen.com [ /url ]';
(spaces in the URL due to the fact it automatically parses it here ....
output after parsing = [ url ] www.tehskeen.com [ /url ]
I also tried including ./forums/global.php , but then vbulletin crashes.
Please help
require_once(DIR . '/includes/class_bbcode.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$parsed_text = $parser->do_parse($text, $do_html, $do_smilies, $do_bbcode, $do_imgcode, $do_nl2br, $cachable);
When I do this nothing is parsed and the code shows up.
example ->
$text = '[ url ] www.tehskeen.com [ /url ]';
(spaces in the URL due to the fact it automatically parses it here ....
output after parsing = [ url ] www.tehskeen.com [ /url ]
I also tried including ./forums/global.php , but then vbulletin crashes.
Please help
Comment