PDA

View Full Version : about wysiwyg


c0der
05-12-2016, 10:15 PM
hey

i have big problem with wysiwyg in 4.2.x

actually its problem with product was for 4.0.0 beta

but the developer is gone and not answer anymore

so i try with heis product

https://vborg.vbsupport.ru/showthread.php?t=231407

so i fix same problems and not start yet with templates to replace old templates with new names of templates

so let go

my problem now i fix all problem only this problem when i add topic

local_links.php?action=addlink&catid=1

after add topic and submit show error with functions_wysiwyg.php not found

but after i add it show same error

but i found same fix

and i change file local_links_actions.php

if ($vbulletin->GPC['wysiwyg']) {
require_once(DIR . '/includes/functions_wysiwyg.php');
$message = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], false);
}
else {
$message =& $vbulletin->GPC['message'];
}

to

if (version_compare(@$vbulletin->versionnumber, '4.1.4', '>='))
{
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$vbulletin->GPC['message'] = $html_parser->parse_wysiwyg_html_to_bbcode($_POST['message'], false);
} else {
require_once(DIR . '/includes/functions_wysiwyg.php');
$vbulletin->GPC['message'] = convert_wysiwyg_html_to_bbcode($_POST['message'], false);
}

but after that when i submit

Fatal error: Call to undefined function log_vbulletin_error() in /home/a4gsmnmb/public_html/vb422/includes/functions_log_error.php on line 279

c0der
05-21-2016, 07:56 AM
thanks guys please close this post

i have fix it