orryun
10-11-2008, 05:15 PM
Hey,
I'm working on a mini mod.
I'm trying to code this, with no success:
if the user's usergroupid is in $basic;
then, $show['modtools_basic'] = true;
-------
My variables:
$basic - an array that has some usergroupids (like 5|6|7)
$show['modtools_basic'] - this variable supposed to be "true" if the user is in the usergroupids that are in the $basic array.
Thanks
I'm working on a mini mod.
I'm trying to code this, with no success:
if the user's usergroupid is in $basic;
then, $show['modtools_basic'] = true;
-------
My variables:
$basic - an array that has some usergroupids (like 5|6|7)
$show['modtools_basic'] - this variable supposed to be "true" if the user is in the usergroupids that are in the $basic array.
Thanks