@cclearhout thanks again.
Now i'm trying to render the new bbcode generated by tinymce quattro on my front website.
I was using this before I install this addon :
Do you have any idea how can I use your bbcode formater/parser ?
Thanks again.
Now i'm trying to render the new bbcode generated by tinymce quattro on my front website.
I was using this before I install this addon :
Code:
$start_time = microtime(true);
$file_dir = FORUM_PATH;
require($file_dir . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($file_dir . '/library');
XenForo_Application::initialize($file_dir . '/library', $file_dir);
XenForo_Application::set('page_start_time', $start_time);
$topic = XenForo_Model::create('XenForo_Model_Thread')->getThreadById($topic_id, array('join' => XenForo_Model_Thread::FETCH_FIRSTPOST));
$formatter = XenForo_BbCode_Formatter_Base::create();
$parser = new XenForo_BbCode_Parser($formatter);
$topic['message_html'] = $parser->render($topic['message']);
Do you have any idea how can I use your bbcode formater/parser ?
Thanks again.
Last edited: