Forums
-
- Forum
- Posts
-
- Installation
- 28,504
- Troubleshooting
- 62,685
- Themes
- 10,431
- Plugins
- 15,361
- Requests & Feedback
- 14,972
- Showcase
- 3,256
-
If you’re trying to get the user for the current post in post.php, you might want to use:
$user=bb_get_user(get_post_author_id());
This should get the user for the current post author. Then you can loop through the roles.