View Single Post
Old 02 Feb 2007, 11:06
azarl azarl is offline
Join Date: Aug 2005
Conditionally display User Field in Postbits

I'm trying to display a userfield (field 6) in the postbits, but only when the viewer is a member of usergroup 169 either as a primary or additional. Not yet into PHP but this is my attempt:

<if condition="is_member_of($vbulletin->userinfo, 169)"><div class="smallfont">$post[field6]</div></if>

However doesn't work. Any suggestions please?
Reply With Quote