No to spróbuj tak:
Otwórz plik: sources/d22mods/tbs.php
Znajdź:
if ($this->ipsclass->DB->get_num_rows())
{
$n = 0;
while ($r = $this->ipsclass->DB->fetch_row())
{
$text = str_replace("{name}" , $r['last_poster_name'], $this->ipsclass->lang['top_five_topics_text']);
$text = str_replace("{topic}", $r['title'], $text);
Zamień na:
if ($this->ipsclass->DB->get_num_rows())
{
//--------------------------------------
// BBcodes and smiles in topic titles
// Made by vadim88, modified by DawPi
//--------------------------------------
require_once( ROOT_PATH."sources/handlers/han_parse_bbcode.php" );
$parser = new parse_bbcode();
$parser->ipsclass =& $this->ipsclass;
$parser->allow_update_caches = 1;
$parser->parse_smilies = intval($this->ipsclass->member['g_smile_title_perm']);
$parser->parse_bbcode = intval($this->ipsclass->member['g_bbcode_title_perm']);
$n = 0;
while ($r = $this->ipsclass->DB->fetch_row())
{
$text = str_replace("{name}" , $r['last_poster_name'], $this->ipsclass->lang['top_five_topics_text']);
$r['title'] = $parser->pre_display_parse( $parser->pre_db_parse( $r['title'] ) );
$text = str_replace("{topic}", $r['title'], $text);
Zapisz i wyślij.
Zobaczymy. Pamiętaj o wykonaniu kopii..