Forums
-
- Forum
- Posts
-
- Installation
- 28,513
- Troubleshooting
- 62,714
- Themes
- 10,438
- Plugins
- 15,372
- Requests & Feedback
- 14,976
- 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.