Öffne includes/ucp/ucp_main.php
finde:
Code: Alles auswählen
$sql = "SELECT t.* $sql_select
FROM $sql_from
WHERE t.forum_id = 0
AND t.topic_type = " . POST_GLOBAL . '
ORDER BY t.topic_last_post_time DESC';
Code: Alles auswählen
$sql = "SELECT t.* $sql_select
FROM $sql_from
WHERE t.topic_type = " . POST_GLOBAL . '
OR t.topic_type = ' . POST_ANNOUNCE;
if (sizeof($forum_ary))
{
$sql .= ' AND ' . $db->sql_in_set('t.forum_id', $forum_ary, true);
}
$sql .=' ORDER BY t.topic_last_post_time DESC';