Forums
-
- Forum
- Posts
-
- Installation
- 28,100
- Troubleshooting
- 61,382
- Themes
- 10,274
- Plugins
- 15,155
- Requests & Feedback
- 14,768
- Showcase
- 3,252
-
And you can just keep making it fancier and fancier.
Let’s say you want to also show how many posts each topic has.
echo "<li><a href='/forums/topic.php?id=".$result->topic_id."'>".$result->topic_title."</a> (".$result->topic_posts." posts)</li>";
or how old the last reply is
echo "<li><a href='/forums/topic.php?id=".$result->topic_id."'>".$result->topic_title."</a> (".human_time_diff(strtotime($result->topic_time." GMT"))." ago)</li>";
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS