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

Важное с Sysman.Ru: 2.x: Убиваются переносы строк при склейке постов

Recommended Posts

Guest RSS-Bot

Song:

Симптомы:

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

 

Исправление:

 

Найти:

Цитата (sources/classes/post/class_post_reply.php)
                    [color=#048284]$new_post[/color]  = [color=#048284]$last_post[/color]['post'].'<br /><br />'.[color=#048284]$this[/color]->post['post'];                                         [color=green]//-----------------------------------------[/color]                     [color=green]// Make sure we don't have too many images[/color]                     [color=green]//-----------------------------------------[/color]                                                             [color=#048284]$new_post[/color] = [color=#048284]$this[/color]->parser->pre_edit_parse( [color=#048284]$new_post[/color] );                     [color=#048284]$new_post[/color] = [color=#048284]$this[/color]->parser->pre_db_parse( [color=#048284]$new_post[/color] );

Заменить на:

                    [color=#048284]$new_post[/color]  = [color=#048284]$last_post[/color]['post'].'<br /><br />'.[color=#048284]$this[/color]->post['post'];                                        [color=green]//-----------------------------------------[/color]                    [color=green]// Make sure we don't have too many images[/color]                    [color=green]//-----------------------------------------[/color]                                                            [color=#048284]$test_post[/color] = [color=#048284]$this[/color]->parser->pre_edit_parse( [color=#048284]$new_post[/color] );                    [color=#048284]$test_post[/color] = [color=#048284]$this[/color]->parser->pre_db_parse( [color=#048284]$test_post[/color] );

Share this post


Link to post
Share on other sites
Guest RSS-Bot

Song: Источник: © IPS

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...