Recent content by Draex

  1. D

    Parsing Xenforo's BB Code on an External Page.

    Thanks, adding mysql_query("set names 'utf8'"); before query fixed it.
  2. D

    Parsing Xenforo's BB Code on an External Page.

    I have changed the charset to utf8 to no effect, and I am not modifying the content before parsing it, the whole block of code for that section is. <?php $query="SELECT xf_post.thread_id, xf_thread.title, xf_thread.reply_count, xf_thread.view_count, xf_post.username, xf_post.user_id...
  3. D

    Parsing Xenforo's BB Code on an External Page.

    I have managed to get it parsing using $formatter = XenForo_BbCode_Formatter_Base::create(); $parser = new XenForo_BbCode_Parser($formatter); $news = $parser->render($row['message']); But it appears to be leaving � symbols in place of of several different types of symbols. (can be...
  4. D

    Parsing Xenforo's BB Code on an External Page.

    I was just wondering if anyone knows of the simplest way to parse BB Code from Xenforo's post table in the correct fashion on an external page located on the same webserver. (Complete php novice here) Currently I am using the following code to query the relevant info. $query="SELECT...
Top Bottom