Код: Выделить всё
INSERT INTO `phpbb_config` (`config_name`, `config_value`, `is_dynamic`) VALUES ('ppkbb_forum_lastpostsubject', '32', '0');
Код: Выделить всё
'legend2' => 'POSTING',
Код: Выделить всё
'ppkbb_forum_lastpostsubject' => array('lang' => 'FORUM_LASTPOST_SUBJECT', 'validate' => 'int:0', 'type' => 'text:3:3', 'explain' => true),
Код: Выделить всё
'LAST_POST_SUBJECT' => censor_text($last_post_subject),
Код: Выделить всё
'LAST_POST_SUBJECT' => $last_post_subject ? $config['ppkbb_forum_lastpostsubject'] && utf8_strlen($last_post_subject) > $config['ppkbb_forum_lastpostsubject'] ? utf8_substr(censor_text($last_post_subject), 0, $config['ppkbb_forum_lastpostsubject']).'...' : censor_text($last_post_subject) : '',
'FLAST_POST_SUBJECT' => $last_post_subject ? censor_text($last_post_subject) : '',
Код: Выделить всё
$u_viewforum = append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']);
}
else
{
// If the forum is a link and we count redirects we need to visit it
Код: Выделить всё
if(!$auth->acl_get('f_read', $row['forum_id']))
{
$last_post_subject='';
}
Код: Выделить всё
));
// Email Settings
Код: Выделить всё
'FORUM_LASTPOST_SUBJECT' => 'Длина названия темы',
'FORUM_LASTPOST_SUBJECT_EXPLAIN' => 'Длина названия темы на странице списка форумов (темы длиннее указанного числа будут обрезаться, 0 - без ограничений),'
Код: Выделить всё
<!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF -->
Код: Выделить всё
<!-- IF forumrow.LAST_POST_SUBJECT --><a href="{forumrow.U_LAST_POST}" title="{forumrow.FLAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT}</a><br /><!-- ENDIF -->
Код: Выделить всё
{L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
Код: Выделить всё
<!-- IF forumrow.LAST_POST_SUBJECT --> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}<!-- ENDIF -->
Код: Выделить всё
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
Код: Выделить всё
<!-- IF forumrow.LAST_POST_SUBJECT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF -->
Код: Выделить всё
<td class="row1" width="100%">
Код: Выделить всё
<td class="row1">
Код: Выделить всё
<td class="row2" align="center" nowrap="nowrap">
Код: Выделить всё
<td class="row2" align="center" width="20%"><!-- IF forumrow.LAST_POST_SUBJECT --><a href="{forumrow.U_LAST_POST}" title="{forumrow.FLAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT}</a><!-- ENDIF -->
Код: Выделить всё
{forumrow.LAST_POSTER_FULL}
<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
Код: Выделить всё
<!-- IF forumrow.LAST_POST_SUBJECT -->{forumrow.LAST_POSTER_FULL}<!-- ENDIF -->
<!-- IF not S_IS_BOT --><!-- IF forumrow.LAST_POST_SUBJECT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF --><!-- ENDIF -->
PPK
vulkan3
не нашел в админке как отрегулировать длину названия темы, PPK какой кусок кода нужно добавить?PPK писал(а):Для пользователей ppkBB3cker - НЕ нужно устанавливать данный мод в трекер, он уже там установлен.
stepan83
PPK
Код: Выделить всё
Общая ошибка
SQL ERROR [ mysqli ]
Unknown column 'forum_recent_topics' in 'field list' [1054]
SQL
INSERT INTO phpbb_forums (parent_id, forum_type, forum_status, forum_parents, forum_name, forum_link, forum_desc, forum_desc_uid, forum_desc_options, forum_desc_bitfield, forum_rules, forum_rules_uid, forum_rules_options, forum_rules_bitfield, forum_rules_link, forum_image, forum_style, display_subforum_list, display_on_index, forum_topics_per_page, forum_recent_topics, enable_indexing, enable_icons, enable_prune, prune_days, prune_viewed, prune_freq, forum_options, forum_flags, left_id, right_id) VALUES (0, 1, 0, '', 'тетс', '', '', '', 7, '', '', '', 7, '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 7, 7, 1, 0, 48, 63, 64)
BACKTRACE
FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()
FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 1068
CALL: dbal_mysqli->sql_query()
FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 215
CALL: acp_forums->update_forum_data()
FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_forums->main()
FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()
serj1988
PPK
serj1988
Soafftar
скачать мод http://www.flying-bits.org/download.php?mod_id=5, взять из него директории /install/, /umil/, загрузить в корень форума, запустить http://адрес_форума/install/index.phpserj1988 писал(а):У меня automod устанавливал. Я теперь их не могу удалить. Пишет ошибку при удалении.
перепроверять код, где-то ошиблись при установке.Soafftar писал(а):Если открыть категорию то панель последних сообщений выглядит так:
PPK
serj1988