You are here: Big Brother Bot ForumAdd-OnsEchelonEchelon moderator able to change their B3 status to Senior Admin
Pages: [1]   Go Down
  Print  
Author Topic: Echelon moderator able to change their B3 status to Senior Admin  (Read 887 times) Bookmark and Share
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« on: November 22, 2011, 01:51:48 PM »

Hi,

I would like to give our Admins access to Echelon but the lowest level that I can create an account for them is as an Echelon moderator which gives them the ability to change their B3 ID Level to full or senior admin.  Can you tell me where I can alter Echelon to only allow moderators to be able to change a persons ID Level to Admin or lower.

Thanks
Logged

Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« Reply #1 on: November 23, 2011, 11:54:33 AM »

Resolved.  Changed the Select statement at line 195 in the clientdetails.php to

Code:
<SELECT name="level">
<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="2"<?=($row_rs_clientinfo['group_bits']=='2')?' selected':'';?>>regular</option>
<option value="8"<?=($row_rs_clientinfo['group_bits']=='8')?' selected':'';?>>moderator</option>
<option value="16"<?=($row_rs_clientinfo['group_bits']=='16')?' selected':'';?>>admin</option>
<?php if ($_SESSION['xlradminlevel'] = 1) { ?>
<option value="32"<?=($row_rs_clientinfo['group_bits']=='32')?' selected':'';?>>full admin</option>
<option value="64"<?=($row_rs_clientinfo['group_bits']=='64')?' selected':'';?>>senior admin</option>
<?php } ?>
</select>

Now you have to be an Echelon Super Admin to be able to change client ID Levels higher than Admin.
« Last Edit: November 23, 2011, 11:57:29 AM by Toffees » Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #2 on: November 23, 2011, 12:13:55 PM »

This is echelon v1 or v2?
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #3 on: November 23, 2011, 05:36:12 PM »

v1.... When will progress in echelon v2 ? nothing further moves ?? WickedShell ? I ask you? when Smiley Sorry for the Offtopic...
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« Reply #4 on: November 24, 2011, 10:40:19 AM »

This is echelon v1 or v2?

v1 Mordy.  I was told V2 was too buggy but I'm happy to try it if you think its ready for some hammering?
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #5 on: November 28, 2011, 09:01:37 AM »

v1 Mordy.  I was told V2 was too buggy but I'm happy to try it if you think its ready for some hammering?
I don't think it is too buggy, we use it as the primary Echelon at my old clan (rvoclan) have a slight issue with bans, but that is all...

Be cool if I could enforce the max level that you can change a person to in v2
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal