PDA

View Full Version : secondary usergroups


sabret00the
06-07-2004, 01:10 PM
two questions, how do you create em :o

and how would i check if someone is a member of one?
i.e.

if ($bbuserinfo[usergroupid] == 1.5)
{
....
}?

Zachery
06-07-2004, 01:27 PM
two questions, how do you create em :o

and how would i check if someone is a member of one?
i.e.

if ($bbuserinfo[usergroupid] == 1.5)
{
....
}?
you create them by adding a usergroup and assiging users to it as not their primary usergroup.


and you check it by using the is_member_of function

is_member_of($var, X)

$var being $bbuserinfo , $post and X being the additional usergroup id

sabret00the
06-07-2004, 02:01 PM
thank you zachery :)