Exo
02-11-2003, 05:04 PM
Hi,
i want to write the user.php file in the mod directory so that some special mods can change the usergroups, it works but the problem is all mods can now change the usergroup what do i wrong?
here it begin
$canedit[changegroups]=1;
if($bbuserinfo[usergroupid] == 6 OR 17) {
$canedit[usergroupids] = "2 8 20 25 43 12 33 13 18 29 24 44 5 15 17 26 42 19 11 16";
} else {
$canedit[usergroupids] = "";
}
*code removed by xenon*
plz help me! :)
i want to write the user.php file in the mod directory so that some special mods can change the usergroups, it works but the problem is all mods can now change the usergroup what do i wrong?
here it begin
$canedit[changegroups]=1;
if($bbuserinfo[usergroupid] == 6 OR 17) {
$canedit[usergroupids] = "2 8 20 25 43 12 33 13 18 29 24 44 5 15 17 26 42 19 11 16";
} else {
$canedit[usergroupids] = "";
}
*code removed by xenon*
plz help me! :)