2011-11-28, 09:00 AM
$parser = new postParser;
$parser_options = array(
"allow_html" => "0",
"allow_mycode" => "1",
"allow_smilies" => "1",
"allow_imgcode" => "1",
"filter_badwords" => "1"
);
$message = $parser->parse_message($post['message'],$parser_options);
//$message = $post['message'];
eval("\$threadhead = \"".$message."\";");
This code only outputs the post when it is not parsed. Why?
Note I am using the MyBB 1.4 parser
Edit: This was reposted, yes, for this section would be more appropriate.