Forums
-
- Forum
- Posts
-
- Installation
- 27,753
- Troubleshooting
- 60,827
- Themes
- 10,202
- Plugins
- 15,009
- Requests & Feedback
- 14,660
- Showcase
- 3,238
-
Actually, I just realized there is a cheat way to do zero extra mysql queries and link to the profile.
<td class="num"><a href="/forums/profile.php?id=<? echo $topic->topic_last_poster; ?>"><?php topic_last_poster(); ?></a></td>
untested but should work in theory
This will just use the stored last posted id # instead of forcing bbpress to lookup all their meta data and profile link in the database.
If your forum uses permalinks, it will just rewrite the url on display.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS