PDA

View Full Version : Template Question (solved)


Mr Chad
12-22-2005, 10:36 PM
What is the proper If statement in Template HTML for

if usergroup 2

is there one?

like i see <if condition="$show['member']"> for all members

Abe1
12-23-2005, 12:28 AM
<if condition="$bbuserinfo['usergroupid'] == 2">

Mr Chad
12-23-2005, 12:35 AM
<if condition="$bbuserinfo['usergroupid'] == 2">

Thanks !

how would i do it for multiple usergroups instead of making diff statements?

<if condition="$bbuserinfo['usergroupid'] == 2,3,4">

or no?

Abe1
12-23-2005, 12:43 AM
Thanks !

how would i do it for multiple usergroups instead of making diff statements?

<if condition="$bbuserinfo['usergroupid'] == 2,3,4">

or no?

<if condition="$bbuserinfo['usergroupid'] == 2 OR $bbuserinfo['usergroupid'] == 3 OR $bbuserinfo['usergroupid'] == 4">

Mr Chad
12-23-2005, 12:44 AM
thanks again.

Abe1
12-23-2005, 12:50 AM
Your very welcome :)