Перейти к содержимому
Русский язык для Invision Community 5

Ставлю SE23-Full Editor in Fast Reply 1.1

Здравствуйте, поставил [unsupported]SE23-Full Editor in Fast Reply 1.1, и потом когда изменяю topics.php не может распознать тему, думает что еёё нету плз помогите, вот что на что изменяю

 

$this->output = str_replace( "<!--IBF.QUICK_REPLY_CLOSED-->", $this->ipsclass->compiled_templates['skin_topic']->quick_reply_box_closed(), $this->output );

$this->output = str_replace( "<!--IBF.QUICK_REPLY_OPEN-->" , $this->ipsclass->compiled_templates['skin_topic']->quick_reply_box_open($this->topic['forum_id'], $this->topic['tid'], $show, $this->md5_check), $this->output );

 

 

на

 

$se_fefr_on = 1;

 

if( $se_fefr_on )

{

require_once ROOT_PATH . 'sources/handlers/han_editor.php';

$this->han_editor = new han_editor();

$this->han_editor->ipsclass =& $this->ipsclass;

$this->han_editor->method = 'std';

$this->ipsclass->force_editor_change = 1;

$this->han_editor->init();

 

$this->ipsclass->vars['posting_allow_rte'] = 0;

 

$editor = $this->han_editor->show_editor( "", "Post" );

 

$this->output = str_replace( "<!--IBF.QUICK_REPLY_OPEN-->",

$this->ipsclass->compiled_templates['skin_topic']->se_qr_open( $this->topic['forum_id'],

$this->topic['tid'],

$show,

$this->md5_check,

$editor ),

$this->output );

 

$this->output = str_replace( "<!--IBF.QUICK_REPLY_CLOSED-->", $this->ipsclass->compiled_templates['skin_topic']->quick_reply_box_closed(), $this->output );

}

else

{

$this->output = str_replace( "<!--IBF.QUICK_REPLY_CLOSED-->", $this->ipsclass->compiled_templates['skin_topic']->quick_reply_box_closed(), $this->output );

$this->output = str_replace( "<!--IBF.QUICK_REPLY_OPEN-->" , $this->ipsclass->compiled_templates['skin_topic']->quick_reply_box_open($this->topic['forum_id'], $this->topic['tid'], $show, $this->md5_check), $this->output );

}

 

 

Пожалуйста профи, посмотрите на код как его изменить чтоб нормально читало и была расширенная форма быстрго ответа

?!

Рекомендованные сообщения

Что значит пхп не может распознать тему? Вы правильно выражаться можете?

Создайте аккаунт или войдите в него для комментирования

Аккаунт

Навигация

Поиск

Поиск

Настроить push-уведомления браузера

Chrome (Android)
  1. Нажмите на иконку замка рядом с адресной строкой.
  2. Нажмите Права доступа -> Уведомления.
  3. Измените свои настройки.
Chrome (компьютер)
  1. Нажмите на иконку замка в адресной строке.
  2. Выберите Настройки сайта.
  3. Найдите Уведомления и измените свои настройки.