Re: Alter Loop for Paged Forum Pages?
$forum_one_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id AND topic_status = 0 AND topic_sticky = 0 ORDER BY topic_id DESC LIMIT $limit OFFSET $offset");
updated to leave out sticky posts from the second loop (added AND topic_sticky = 0 to query).
If you leave out ‘$forum_id = 1;’ it will work on multiple forums.
I’ve done this so that my front page summary shows latest active posts, but my specific forum pages list by topic order.