Forums
-
- Forum
- Posts
-
- Installation
- 28,502
- Troubleshooting
- 62,683
- Themes
- 10,431
- Plugins
- 15,360
- Requests & Feedback
- 14,972
- Showcase
- 3,256
-
you can use this
$topics = get_latest_topics( $forum_id);
but this will give you number of topics/page that you set in your config
to get just 10 topics from the forum
$topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,10")