PDA

View Full Version : if conditional for secondary usergroup?


pootsey
10-05-2008, 08:17 AM
I know you can do this for the primary usergroup as its id is stored on its own in the db field but can you use one if the <if condition="$bbuserinfo[usergroupid] == '6'">Hello</if> to do a secondary usergroup check?

Thanks! :D

Dismounted
10-05-2008, 09:32 AM
You can combine both...
<if condition="is_member_of($bbuserinfo, 6)">
To just use secondary groups requires more work.

pootsey
10-05-2008, 10:41 AM
Awesome, thanks alot! :)