Forums
-
- Forum
- Posts
-
- Installation
- 28,436
- Troubleshooting
- 62,523
- Themes
- 10,431
- Plugins
- 15,342
- Requests & Feedback
- 14,964
- Showcase
- 3,256
-
Looks like the forum ate your code but to display the forum name when you only have the id, you can use the built in bbpress functions
echo get_forum_name($result->forum_id);
or
echo "Posted by $result->topic_poster_name in ".get_forum_name($result->forum_id);
or
echo "Posted by <a href='".bb_get_profile_link($result->topic_poster)."'>$result->topic_poster_name</a>
in <a href='".get_forum_link($result->forum_id);."'>".get_forum_name($result->forum_id)."</a>";