Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
VlaDyslaV16

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

Recommended Posts

Здравствуйте, поставил [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 );

}

 

 

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

?!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...