/portal/modules/portal_ppkbb3cker_ltorrents.php заменить
Код: Выделить всё
global $phpbb_root_path, $template, $phpEx, $config, $db, $user, $auth, $cache;
Код: Выделить всё
global $phpbb_root_path, $template, $phpEx, $config, $db, $user, $auth, $cache, $phpbb_seo;
Код: Выделить всё
$postrow=array(
'TITLE' => $fetch_announcements[$i]['topic_title'],
Код: Выделить всё
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if (!empty($fetch_announcements[$i]['topic_url'])) {
$phpbb_seo->prepare_iurl($fetch_announcements[$i], 'topic', '');
} else {
if ($phpbb_seo->modrtype > 2) {
$fetch_announcements[$i]['topic_title'] = censor_text($fetch_announcements[$i]['topic_title']);
}
$parent_forum = $fetch_announcements[$i]['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : (!empty($phpbb_seo->seo_url['forum'][$a_fid]) ? $phpbb_seo->seo_url['forum'][$a_fid] : false);
if ($parent_forum) {
$phpbb_seo->prepare_iurl($fetch_announcements[$i], 'topic', $parent_forum);
}
}
// www.phpBB-SEO.com SEO TOOLKIT END
Код: Выделить всё
t.topic_poster,
Код: Выделить всё
t.topic_type,
Код: Выделить всё
$posts[$i]['topic_title'] = $row['topic_title'];
Код: Выделить всё
$posts[$i]['topic_type'] = $row['topic_type'];