Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2016, 10:15 PM
c0der's Avatar
c0der c0der is offline
 
Join Date: Oct 2010
Location: Egypt
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default about wysiwyg

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

PHP Code:
    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

PHP Code:
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
Reply With Quote
  #2  
Old 05-21-2016, 07:56 AM
c0der's Avatar
c0der c0der is offline
 
Join Date: Oct 2010
Location: Egypt
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks guys please close this post

i have fix it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:56 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.