I'm trying to get an index page (
www.ultimatemetal.com) to work with the same code I used to have. It worked fine in 3.0.7 . The only issue is the bbcode stuff (which is why I am in this thread

). I exchanged the code I had:
require_once('includes/functions_bbcodeparse.php');
with the code at the beginning of this post:
require_once('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);;
I get this same error message with both:
Quote:
Fatal error: Call to undefined function: parse_bbcode() in /home/mahke/public_html/index-test.php on line 32
|
Line 32 is: $articlelength1 = parse_bbcode($articles['pagetext']);
Am I brainfarting on something here?
Quote:
Originally Posted by chanzero
i should note that kirby helped me figure this out by pointing out that i did not definie $do_html, $do_smilies, $do_bbcode, $do_imgcode, etc
thanks kirby!
|
Maybe this is my issue? Chanzero or anyone else, can you elaborate on how to define this properly?