Hello , this is a tutorial for make more group on your b3 .
Step 1 :Download this filesStep 2 :As you can see you have 21 groups , You can remove some if need
INSERT INTO `groups` VALUES(256, 'Admin', 'Admin', 40, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(16, 'Moderator', 'mod', 20, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(4096, 'Full Admin', 'fulladmin', 60, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(65536, 'Senior Admin', 'senioradmin', 80, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(524288, 'Super Admin *', '95', 95, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(2097152, 'Super Admin ***', 'superadmin', 100, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(1048576, 'Super Admin **', '99', 99, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(2, 'Member', 'reg', 2, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(1, 'User', 'user', 1, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(8, 'Moderator *', '15', 15, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(32, 'Moderator+', '25', 25, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(512, 'Admin+', '45', 45, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(64, 'Moderator+1', '30', 30, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(128, 'Moderator+2', '35', 35, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(2048, 'Admin+2', '55', 55, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(1024, 'Admin+1', '50', 50, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(8192, 'Full Admin+', '65', 65, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(16384, 'Full Admin+1', '70', 70, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(32768, 'Full Admin+2', '75', 75, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(131072, 'Senior Admin+', '85', 85, 1185973704, 1185973704);
INSERT INTO `groups` VALUES(262144, 'Senior Admin+1', '90', 90, 1185973704, 1185973704);
So , you can rename all groups like you want but you have to have : SuperAdmin group or your B3 wont work .
Don't change the Values ( 256 / 16 / 4096 ... ) , you can change the name but you need to keep superadmin .. and you can change the level by editing the second numbers : INSERT INTO `groups` VALUES(1024, 'Admin+1', '50',
50, 1185973704, 1185973704);
and dont change those numbers : INSERT INTO `groups` VALUES(1024, 'Admin+1', '50', 50,
1185973704, 1185973704);
Remove the line you don't need if you have enough groups .
When you are done with edit , save it and import your sql on your DB .
Step 3 :Only if you are using echelon :
Go in your echelon folder , and select Clientdetails.PHP , edit it and find the lines :
<SELECT name="level">Under it you should have something like that :
<option value="0"<?=($row_rs_clientinfo['group_bits']=='0')?' selected':'';?>>Unregistered</option>
<option value="1"<?=($row_rs_clientinfo['group_bits']=='1')?' selected':'';?>>User</option>
<option value="8"<?=($row_rs_clientinfo['group_bits']=='8')?' selected':'';?>>Simple Moderator</option>
<option value="16"<?=($row_rs_clientinfo['group_bits']=='16')?' selected':'';?>>Moderator</option>
<option value="256"<?=($row_rs_clientinfo['group_bits']=='256')?' selected':'';?>>Admin</option>
<option value="4096"<?=($row_rs_clientinfo['group_bits']=='4096')?' selected':'';?>>Full admin</option>
<option value="65536"<?=($row_rs_clientinfo['group_bits']=='65536')?' selected':'';?>>Senior Admin</option>
Just edit group_bits ( if you added level , you should have new group bits ) and edit the name if you want to rename groups.
Also you can make new lines if you haven't enough in your file clientdetails.php , you copy/paste one of the line , exemple :
<option value="1"<?=($row_rs_clientinfo['group_bits']=='1')?' selected':'';?>>User</option>
then you copy it and you will have that :
<option value="0"<?=($row_rs_clientinfo['group_bits']=='0')?' selected':'';?>>Unregistered</option>
<option value="1"<?=($row_rs_clientinfo['group_bits']=='1')?' selected':'';?>>User</option>
<option value="8"<?=($row_rs_clientinfo['group_bits']=='8')?' selected':'';?>>Simple Moderator</option>
<option value="16"<?=($row_rs_clientinfo['group_bits']=='16')?' selected':'';?>>Moderator</option>
<option value="256"<?=($row_rs_clientinfo['group_bits']=='256')?' selected':'';?>>Admin</option>
<option value="4096"<?=($row_rs_clientinfo['group_bits']=='4096')?' selected':'';?>>Full admin</option>
<option value="65536"<?=($row_rs_clientinfo['group_bits']=='65536')?' selected':'';?>>Senior Admin</option>
<option value="1"<?=($row_rs_clientinfo['group_bits']=='1')?' selected':'';?>>User</option>
So , check your group_bits from your sql files that you imported on your DB , and change it :
<option value="1"<?=($row_rs_clientinfo['group_bits']=='1')?' selected':'';?>>User</option>
<option value="8"<?=($row_rs_clientinfo['group_bits']=='8')?' selected':'';?>>Simple Moderator</option>
<option value="16"<?=($row_rs_clientinfo['group_bits']=='16')?' selected':'';?>>Moderator</option>
<option value="256"<?=($row_rs_clientinfo['group_bits']=='256')?' selected':'';?>>Admin</option>
<option value="4096"<?=($row_rs_clientinfo['group_bits']=='4096')?' selected':'';?>>Full admin</option>
<option value="65536"<?=($row_rs_clientinfo['group_bits']=='65536')?' selected':'';?>>Senior Admin</option>
<option value="524288"<?=($row_rs_clientinfo['group_bits']=='524288')?' selected':'';?>>Super Admin</option>
Do it for every line / level you added .. Be sure to have the same group_bit as your sql files!
Then close clientdetails.php & save it .
Step 4 :Go in your folder echelon\Connections
open : inc_config
and at 4th line
$hide_admin_level = "128"; // 1, 2, 8, 16, 32, 64, 128 -> Hides clientdetails
edit the numbers 128 with 2097153
$hide_admin_level = "2097153"; // 1, 2, 8, 16, 32, 64, 128 -> Hides clientdetails
Then you will be able to change level on every user .
Guide made by *Evil* Community , for B3 Community .