I have what I hope is a fairly easy question to answer: On the WordPress side of my site (running 2.8.5), I have a custom script that loads a small icon showing the status of users who have donated to the site, as well as for staff members. As you’ll see below, it calls the user_id and then looks for and displays an image with the matching name.
I’d like to introduce this to the forum side as well. I’m running bbPress 1.0.2, and it’s fully integrated, and I’m trying to add this to the standard Kakumei template in the post.php file, above the post_author_avatar_link line. It doesn’t appear to break anything, but it also doesn’t load the image, or show a broken image link that would hint that there’s no appropriate image to be found.
It also appears to recognize the WP_User term, but not BB_User (it breaks with an error when changed).
Any ideas how I can get this working for at least the staff levels (keymasters, admins, moderators)?