The last one he posted should work in the postbit:
HTML Code:
<if condition="is_member_of($post, 9)">
But, it's hard to tell why it isn't since you haven't told us anything about where you are using it or exactly what your code is. $post is not the variable you would use on the member page though. I think $userinfo is what you use (or $prepared, depending).