I think that should work. You're using $bbuserinfo in the class attribute above - is that what you meant? You used $post in the if/else statements above that. Of course you could use either depending on whether you want the post author's choice to show for everyone or if each user gets to choose what they see.
Where are you putting your CSS? Did you look at the page source to see if the class name is showing up like you'd expect?
|