MyBB Community Forums

Full Version: portal help needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do i change it so that new treads that appear on the portal go under the 1st thread
Open ./portal.php and find;
$query = $db->query("
	SELECT p.pid, p.message, p.tid, p.smilieoff
	FROM ".TABLE_PREFIX."posts p
	LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid=p.tid)
	WHERE t.fid IN (".$announcementsfids.") AND t.visible='1' AND t.closed NOT LIKE 'moved|%' AND t.firstpost=p.pid
	ORDER BY t.dateline DESC 
	LIMIT 0, {$numannouncements}"
);
and Change DESC to ASC.
new threads still go to the top after doin that m8