PDA

View Full Version : Conditionally display User Field in Postbits


azarl
02-02-2007, 10:06 AM
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?

paul41598
02-02-2007, 12:59 PM
try $bbuserinfo instead