what is the fuss ..... only takes 1 line of code and a couple of requires ....
i use
PHP Code:
construct_edit_toolbar('', 0, 'calendar');
in the code that evaluates the form template
in the template use
HTML Code:
<!-- WYSIWYG / non WYSIWYG posting box -->
$messagearea
<!-- end WYSIWYG / non WYSIWYG posting box -->
and after submit
globalise
'message' => STR,
and use
PHP Code:
if (isset($_POST['WYSIWYG_HTML']))
{
require_once('./includes/functions_wysiwyg.php');
$newpost['message'] = convert_wysiwyg_html_to_bbcode($_POST['WYSIWYG_HTML'], $vboptions['allowhtml']);
}
else
{
$newpost['message'] = &$_POST['message'];
}
and enter it in the database with
PHP Code:
'" . addslashes($newpost[message]) . "'