hi - thanks for your post.
still an error:
Quote:
Warnung: require_once([path]/includes/functions_wysiwygparser.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forms.php (Zeile 368)
Fatal error: require_once() [function.require]: Failed opening required 'XXX/includes/functions_wysiwygparser.php' (include_path='.:/usr/share/php:..') in XXX/forms.php on line 368
|
maybe the problem is, that "/includes/functions_wysiwygparser.php" doesn't exist.
use vb 4.1.X an other function with the ck-editor?
EDIT:
Found a solution:
Quote:
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$q[$formbit[id]] = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC["message"], 0);
|
then the form is submit correct. but problems with formatting the text, or the bbcode - texts like:
"<br>&am p " and so on...
EDIT2
following:
$q[$formbit[id]] = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC["message"], $vbulletin->options['pt_allowhtml']);
now the submited texts seems OK!!!
with correct formating etc.
for next release it must be a query for the vb version, that this mod can work with older and newer versions (with ck oder without)
something like this:
http://svn.vbulletin.org/trac/changeset/533/branches
now testing again...
edit3:
my forms.php -> see attachments