well in stead of userid how about usergroupid to block whole groups from seeing it. Also please double check me, is it usergroupid or just usergroups? Also I want to include more than 1 usergroupid in the list of people not being able to see the stats. I try and put numbers like
if ($bbuserinfo[usergroupid]==1,3,4,11,12)
{
show_nopermission();
}
but that gives me an error.
What am i doing wrong.
I know if i use the code below it works fine to block guests.
if ($bbuserinfo[usergroupid]==1)
{
show_nopermission();
}
|