Откройте файл profile.php примерно на 92 строке и найдите строку кода:
CODE:
$lastpostdetails = $lang['Last_post'].': <a href="'.$inuser['lastpost']['link'].'">'.wordwrap($inuser['lastpost']['name'], 32, ' ­ ', 1).'</a> - '.$postdate;
Замените ее на код:
CODE:
$topicName = $inuser['lastpost']['name'];
$topicTitle = (strlen($topicName) > 32) ? substr($topicName,0,32).' ­ '.substr($topicName,32,strlen($topicName)):$topicName;
$lastpostdetails = $lang['Last_post'].': <a href="'.$inuser['lastpost']['link'].'">'.$topicTitle.'</a> - '.$postdate;
$topicTitle = (strlen($topicName) > 32) ? substr($topicName,0,32).' ­ '.substr($topicName,32,strlen($topicName)):$topicName;
$lastpostdetails = $lang['Last_post'].': <a href="'.$inuser['lastpost']['link'].'">'.$topicTitle.'</a> - '.$postdate;
Далее открываем файл search.php и примернона 85 строке найдите код:
CODE:
$t_name = sprintf('<a href="topic.php?forum=%d&topic=%d&v=l#%d">%s</a>',$topic['f_id'],$topic['t_id'],$date,wordwrap($topic['name'], 32, ' ­ ', 1));
$t_desc = wordwrap($topic['desc'], 32, ' ­ ', 1);
$t_desc = wordwrap($topic['desc'], 32, ' ­ ', 1);
Замените на код:
CODE:
$topictitle = (strlen($topic['name']) > 32) ? substr($topic['name'],0,32).' ­ '.substr($topic['name'],32,strlen($topic['name'])):$topic['name'];
$t_name = sprintf('<a href="topic.php?forum=%d&topic=%d&v=l#%d">%s</a>',$topic['f_id'],$topic['t_id'],$date,$topictitle);
$t_desc = (strlen($topic['desc']) > 32) ? substr($topic['desc'],0,32).' ­ '.substr($topic['desc'],32,strlen($topic['desc'])):$topic['desc'];
$t_name = sprintf('<a href="topic.php?forum=%d&topic=%d&v=l#%d">%s</a>',$topic['f_id'],$topic['t_id'],$date,$topictitle);
$t_desc = (strlen($topic['desc']) > 32) ? substr($topic['desc'],0,32).' ­ '.substr($topic['desc'],32,strlen($topic['desc'])):$topic['desc'];
Далее примерно на 344 строке найдите код:
CODE:
$t_name = sprintf('<a href="topic.php?forum=%d&topic=%d">%s</a>',$f,$t,wordwrap($list[$t]['name'], 32, ' ­ ', 1));
$t_desc = wordwrap($topic['desc'], 32, ' ­ ', 1);
$t_desc = wordwrap($topic['desc'], 32, ' ­ ', 1);
Замените на код:
CODE:
$topictitle = (strlen($list[$t]['name']) > 32) ? substr($list[$t]['name'],0,32).' ­ '.substr($list[$t]['name'],32,strlen($list[$t]['name'])):$list[$t]['name'];
$t_name = sprintf('<a href="topic.php?forum=%d&topic=%d">%s</a>',$f,$t,$topictitle);
$t_desc = (strlen($list[$t]['desc']) > 32) ? substr($list[$t]['desc'],0,32).' ­ '.substr($list[$t]['desc'],32,strlen($list[$t]['desc'])):$list[$t]['desc'];
$t_name = sprintf('<a href="topic.php?forum=%d&topic=%d">%s</a>',$f,$t,$topictitle);
$t_desc = (strlen($list[$t]['desc']) > 32) ? substr($list[$t]['desc'],0,32).' ­ '.substr($list[$t]['desc'],32,strlen($list[$t]['desc'])):$list[$t]['desc'];
Архивы обновлю позже.