PDA

View Full Version : Show message on profile if the usergroup i "x"


MarceloS
08-05-2013, 01:37 PM
Hello.

I want to show a message on the profile of users that are from a certain usergoup.

I am using this:
<vb:if condition="is_member_of($bbuserinfo, 3)">

It only works for the user that is browsing the profile.

So I believe it would be something like this
<vb:if condition="$something->is_member_of($bbuserinfo, 3)">

Can someone help? Thanks.

kh99
08-05-2013, 01:48 PM
If I remember correctly, it should be:
<vb:if condition="is_member_of($userinfo, 3)">


But it probably depends on which template you're putting it in.

MarceloS
08-05-2013, 03:57 PM
If I remember correctly, it should be:
<vb:if condition="is_member_of($userinfo, 3)">


But it probably depends on which template you're putting it in.

Thanks!!!