View Full Version : Wysiwyg
seams there is no functions_WYSIWYG.php on the includes folder and if the user have WYSIWYG editor it cant post bugs
HMBeaty
07-19-2011, 11:14 PM
If you are using 4.1.4 or higher, you are correct. The functions_wysiwyg.php file no longer exists due to the new CKEditor being implemented. There is currently no fix for this
PitchouneN64ngc
07-20-2011, 01:46 PM
This is already fixed for future releases, I'm posting the fix here.
Search:
require_once(DIR . '/includes/functions_wysiwyg.php');
$vbulletin->GPC['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $vbulletin->options['pt_allowhtml']);Replace by:
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$vbulletin->GPC['message'] = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $vbulletin->options['pt_allowhtml']);Project Tools 2.1.3 will have a compatible fix for every version and 2.2.0 is defined to be 4.1.4+ as minimum version.
HMBeaty
07-20-2011, 11:09 PM
This is already fixed for future releases, I'm posting the fix here.
Search:
require_once(DIR . '/includes/functions_wysiwyg.php');
$vbulletin->GPC['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $vbulletin->options['pt_allowhtml']);Replace by:
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$vbulletin->GPC['message'] = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $vbulletin->options['pt_allowhtml']);Project Tools 2.1.3 will have a compatible fix for every version and 2.2.0 is defined to be 4.1.4+ as minimum version.
Thanks. I was actually going to search through the files and see if I couldn't fix it and post the fix here this weekend when I had time, but you beat me to it :)
Roland155
07-22-2011, 07:31 PM
sry but which file is affected??
- - - - edit:
I found the file... its projectpost.php.
Fine, it works! Thx
dannycutts
09-14-2011, 11:42 PM
would this be why my WYSIWYG editor has vanished when I upgraded to 4.1.6?
Danny
PitchouneN64ngc
09-15-2011, 03:48 PM
This fix is for when you submitted the content, not the display of the editor.
onespot
09-01-2013, 11:34 PM
So you post a fix but don't say which file to edit?!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.