not understand why you use
PHP Code:
define('GET_EDIT_TEMPLATES', true);
The php file
PHP Code:
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'name_of_your_script');
define('CSRF_PROTECTION', true);
$phrasegroups = array('posting');
$specialtemplates = array('smiliecache','bbcodecache',);
$globaltemplates = array(
'newpost_disablesmiliesoption',
'newpost_usernamecode',
'editor_toolbar_on',
'editor_clientscript',
'editor_jsoptions_font',
'editor_jsoptions_size',
'editor_smilie',
'editor_smiliebox',
'editor_smiliebox_row',
'editor_smiliebox_straggler',
'editor_css',
'editor_smilie_category',
'editor_smilie_row',
'editor_toolbar_colors',
'editor_toolbar_fontname',
'editor_toolbar_fontsize',
'bbcode_code_printable',
'bbcode_html_printable',
'bbcode_php_printable',
'bbcode_quote_printable',
'bbcode_code',
'bbcode_html',
'bbcode_php',
'bbcode_quote',
'bbcode_video',
);
require_once(DIR . '/includes/functions_editor.php');
$editorid = construct_edit_toolbar('', 0, 'signature', 1, 1, false);
$templater = vB_Template::create('MY_EDITOR_TEMPLATE');
$templater->register('editorid', $editorid);
$templater->register('messagearea', $messagearea);
$myeditortemplate = $templater->render();
I use the editor to about 10 hacks, I have no problem.