Sorry, I can't figure it out just by looking at the code. It does seem like if you have it working in the normal thread display then you should be able to get it to work. Maybe you should try calling $bbcode_parser->parse(unhtmlspecialchars($News['pagetext'])) and see what happens. Also the second parameter is a forumid that is used to apply the forum settings, if you have the thread's forumid maybe you could pass that as well (or at least make it some valid forumid). Without a forumid it might apply options for a "non forum" area.
|