Strict Standards: Resource ID#27 used as offset, casting to integer (27) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#29 used as offset, casting to integer (29) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#30 used as offset, casting to integer (30) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401
ТвойWeb :: Версия для печати :: Баг-фиксы к ExBB Full Mods 0.1.4 [2]
ТвойWeb » » ExBB Full Mods » Баг-фиксы к ExBB Full Mods 0.1.4

Страниц (2): « 1 [2]
 

11. TvoyWeb - 29 Апреля, 2006 - 11:27:11 - перейти к сообщению
Дополнение к предыдущему сообщению.

Откройте файл profile.php примерно на 92 строке и найдите строку кода:
CODE:
$lastpostdetails = $lang['Last_post'].': <a href="'.$inuser['lastpost']['link'].'">'.wordwrap($inuser['lastpost']['name'], 32, ' &shy; ', 1).'</a> - '.$postdate;

Замените ее на код:
CODE:
$topicName = $inuser['lastpost']['name'];
$topicTitle = (strlen($topicName) > 32) ? substr($topicName,0,32).' &shy; '.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, ' &shy; ', 1));
$t_desc = wordwrap($topic['desc'], 32, ' &shy; ', 1);

Замените на код:
CODE:
$topictitle = (strlen($topic['name']) > 32) ? substr($topic['name'],0,32).' &shy; '.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).' &shy; '.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, ' &shy; ', 1));
$t_desc = wordwrap($topic['desc'], 32, ' &shy; ', 1);

Замените на код:
CODE:
$topictitle = (strlen($list[$t]['name']) > 32) ? substr($list[$t]['name'],0,32).' &shy; '.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).' &shy; '.substr($list[$t]['desc'],32,strlen($list[$t]['desc'])):$list[$t]['desc'];


Архивы обновлю позже.

12. TvoyWeb - 11 Декабря, 2006 - 23:45:39 - перейти к сообщению
Обновляемся http://tvoyweb.ru/forums/topic.p...p;p=1#1143922532
описание там же.
13. studentka - 17 Января, 2007 - 18:32:46 - перейти к сообщению
У меня проблема такая - обновился. Вроде все работает, но не могу попасть в админцентр. Форум не принимает мой пароль, хотя на форуме отмечен я администратором, просто в форум войти могу.

Подскажите, что делать?
14. TvoyWeb - 18 Января, 2007 - 10:46:28 - перейти к сообщению
studentka
А что просиходит после ввода логина и пароля админа?

Форум на AlfaSpace.NET


Powered by ExBB
ExBB FM 1.0 RC1 by TvoyWeb.ru
InvisionExBB Style converted by Markus®

[Script Execution time: 0.0271]     [ Gzipped ]



Notice: ob_end_flush(): failed to send buffer of ob_gzhandler (1) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/page_tail.php on line 33