The Arcive of vBulletin Modifications Site. |
|
need plz help for a mod can change usergroup hack Details »»
|
|||||||||||||||||||||||||
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 Code:
$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] = "";
}
plz help me! ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
please next time don't post my code here freely!!!
what you want is this: PHP Code:
if (... OR 17) is always true... |
![]() |
|
|