vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=138230

Conditionally display User Field in Postbits
by azarl
02 Feb 2007 11:06

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 Feb 2007 13:59

try $bbuserinfo instead


All times are GMT. The time now is 20:22.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.