
08-10-2011, 09:24 AM
|
 |
|
|
Join Date: Jan 2009
Location: Michigan
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by WarLion
fixed in the file vbyellowpages.php find in the line 881
PHP Code:
// convert WYSIWYG
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/functions_wysiwyg.php');
$message = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
}
else
{
$message =& $vbulletin->GPC['message'];
}
change for
PHP Code:
// convert WYSIWYG
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$message = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
}
else
{
$message =& $vbulletin->GPC['message'];
}
in the line 3202 find
PHP Code:
// convert WYSIWYG
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/functions_wysiwyg.php');
$vbulletin->GPC['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $vbulletin->options['allowhtml']);
}
change it for
PHP Code:
// convert WYSIWYG
if ($vbulletin->GPC['wysiwyg'])
{
require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$message = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
}
and thats all
|
Just tested this and it fixes the problem. Thanks!
|