Register Members List Search Today's Posts Mark Forums Read

Thread Tools
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
Old 02 Feb 2007, 13:59
paul41598's Avatar
paul41598 paul41598 is offline
Join Date: Jun 2004
try $bbuserinfo instead
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 01:44.

Layout Options | Width: Wide Color: