theIggs
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору LexxRus Хак кривоватый слегка был, правильный вариант (насколько помню) в той части, что касается sources/lib/post_parser.php - Найти: Код: if ($ibforums->vars['allow_images']) { $txt = preg_replace( "#\[img\](.+?)\[/img\]#ie" , "\$this->regex_check_image('\\1')" , $txt ); $txt = preg_replace( "#(\[flash=)(\S+?)(\,)(\S+?)(\])(\S+?)(\[\/flash\])#ie", "\$this->regex_check_flash('\\2','\\4','\\6')", $txt ); } | Заменить на: Код: if ($ibforums->vars['allow_images']) { if($in['SIGNATURE'] == 1) { if($ibforums->vars['sig_allow_img']) { $txt = preg_replace( "#\[img\](.+?)\[/img\]#ie" , "\$this->regex_check_image('\\1')" , $txt ); } } else { $txt = preg_replace( "#\[img\](.+?)\[/img\]#ie" , "\$this->regex_check_image('\\1')" , $txt ); $txt = preg_replace( "#(\[flash=)(\S+?)(\,)(\S+?)(\])(\S+?)(\[\/flash\])#ie", "\$this->regex_check_flash('\\2','\\4','\\6')", $txt ); } } | Report bugs.
|