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

Важное с Sysman.Ru: Некликабельные ссылки

Recommended Posts

Guest RSS-Bot

Song:

Следующий патч позволит Вам прекратить парсинг ссылок на страницах вашего форума.

Ниже отображены версии патча для версий 1.х и 2.1.х

Share this post


Link to post
Guest RSS-Bot

Song:

Следующий патч позволит Вам прекратить парсинг ссылок на страницах вашего форума.

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

 

Ниже отображены версии патча для версий 1.х и 2.1.х:

Share this post


Link to post
Guest RSS-Bot

Song: 2.1.x:

 

Найти:

Цитата (sources/classes/bbcode/class_bbcode_legacy.php)
            [color=green]//-----------------------------------------[/color]            [color=green]// Auto parse URLs[/color]            [color=green]//-----------------------------------------[/color]                        [color=#048284]$txt[/color] = preg_replace( "#(^|\s)((http|https|news|ftp)://\w+[^\s\[\]]+)#ie"  , "\$this->regex_build_url(array('html' => '\\2', 'show' => '\\2', 'st' => '\\1'))", [color=#048284]$txt[/color] );

удалить этот кусок.

 

Найти:

Цитата (sources/classes/bbcode/class_bbcode.php)
            [color=green]//-----------------------------------------[/color]            [color=green]// Auto parse URLs[/color]            [color=green]//-----------------------------------------[/color]                        [color=#048284]$txt[/color] = preg_replace( "#(^|\s|>)((http|https|news|ftp)://\w+[^\s\[\]\<]+)#ie"  , "\$this->regex_build_url(array('html' => '\\2', 'show' => '\\2', 'st' => '\\1'))", [color=#048284]$txt[/color] );

удалить этот кусок.

Share this post


Link to post
Guest RSS-Bot

Song: 1.х:

Найти:

Цитата (post_parser.php)
            [color=green]//--------------------------------------[/color]            [color=green]// Auto parse URLs[/color]            [color=green]//--------------------------------------[/color]                        [color=#048284]$txt[/color] = preg_replace( "#(^|\s)((http|https|news|ftp)://\w+[^\s\[\]]+)#ie"  , "\$this->regex_build_url(array('html' => '\\2', 'show' => '\\2', 'st' => '\\1'))", [color=#048284]$txt[/color] );

Удалить этот кусок.

Share this post


Link to post
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...