Log in

View Full Version : is_member_of function help


lesliexo
10-06-2008, 02:18 AM
heyy
i wanna display certain stuff if the user is in a specific group in the users postbit

i tried this:
<if condition="is_member_of($vbulletin->userinfo, 6)">

but that variable is for the logged in user not the person who made the post. anyone know what it needs to be changed to? thx

calorie
10-06-2008, 02:23 AM
Try this...

<if condition="is_member_of($post, 6)">

</if>

lesliexo
10-06-2008, 02:26 AM
omg it worked thankyou so much :D