PDA

View Full Version : Usergroup '<if condition="">'s?


toonysnn
04-21-2007, 12:08 AM
Would a usergroup <if condition=" "> be like this?
<if condition="$show['groupid']"> content <else /> no permission message</if>If not, can someone lead me in the right direction?

Dismounted
04-21-2007, 12:47 AM
is_member_of($vbulletin->userinfo, USERGROUPID)

HMBeaty
04-21-2007, 12:51 AM
To be a little more detailed and also checks the secondary usergroup, try this...
<if condition="is_member_of($bbuserinfo, 1) ">

toonysnn
04-21-2007, 01:01 AM
Ah. Thanks!