View Full Version : Will this usergroup code work?
SVTCobraLTD
10-13-2008, 05:13 PM
<if condition="$post[usergroupid] == 5,6,7 and is_member_of($post, 28)"><img src="images/misc/supporter.gif"></if>
Can I have listed more than one user group where it is bold?? Otherwise I have to have a bunch of these codes in my post bit in order to show custom banners i have for each group.
veenuisthebest
10-13-2008, 05:16 PM
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)"><img src="images/misc/supporter.gif"></if>
SVTCobraLTD
10-13-2008, 05:21 PM
That will not work because at times there will need to be two banners showing. My code is showing one primary group and then if the user is a member of a secondary group.
--------------- Added 1223992637 at 1223992637 ---------------
<if condition="$post[usergroupid] == 5,6,7 and is_member_of($post, 28)"><img src="images/misc/supporter.gif"></if>
Can I have listed more than one user group where it is bold?? Otherwise I have to have a bunch of these codes in my post bit in order to show custom banners i have for each group.
Anyone?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.