thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Echelon v2 is not yet officially released! If you cannot get this dev-version installed, revert to version 1 as available in our download section.

Author Topic: Echelon moderator able to change their B3 status to Senior Admin  (Read 4476 times)

Offline 40-1 Toffees

  • Sr. Member
  • ****
  • Posts: 171
Echelon moderator able to change their B3 status to Senior Admin
« on: November 22, 2011, 10: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

Offline 40-1 Toffees

  • Sr. Member
  • ****
  • Posts: 171
Re: Echelon moderator able to change their B3 status to Senior Admin
« Reply #1 on: November 23, 2011, 08:54:33 PM »
Resolved.  Changed the Select statement at line 195 in the clientdetails.php to

Code: [Select]
<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, 08:57:29 PM by Toffees »

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Echelon moderator able to change their B3 status to Senior Admin
« Reply #2 on: November 23, 2011, 09:13:55 PM »
This is echelon v1 or v2?
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline SanKen

  • Sr. Member
  • ****
  • Posts: 212
    • ProGaming - Only Multigaming is the most important
Re: Echelon moderator able to change their B3 status to Senior Admin
« Reply #3 on: November 24, 2011, 02:36:12 AM »
v1.... When will progress in echelon v2 ? nothing further moves ?? WickedShell ? I ask you? when :) Sorry for the Offtopic...
Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.

Offline 40-1 Toffees

  • Sr. Member
  • ****
  • Posts: 171
Re: Echelon moderator able to change their B3 status to Senior Admin
« Reply #4 on: November 24, 2011, 07:40:19 PM »
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?

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Echelon moderator able to change their B3 status to Senior Admin
« Reply #5 on: November 28, 2011, 06:01:37 PM »
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
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Glock

  • Sr. Member
  • ****
  • Posts: 172
  • Running B3 on 4 busy BF3 servers myself! B3 FTW!
Re: Echelon moderator able to change their B3 status to Senior Admin
« Reply #6 on: June 10, 2013, 02:34:09 PM »
Sorry to bump an old post but I have a question regarding this..

I need to be able to prevent 'Mod's from adjusting user levels in game.
I've experimented with this and can prevent mods from seeing the page - as it's the page that's restricted, but is it possible to adjust it so the mods cannot adjust user levels in the server through Echelon?

Admins and Super Admins should ideally still have access and ability to change user levels but not mods..
I've played with some settings and a few bits using data from this thread, my own knowledge and another thread but I can't get it to work.

Ideally when we click change permissions it would be nice to see the same page as we do if you're an Echelon mod and you try adding an account..'Admin you are logged in etc'

I hope someone can help with this
Thanks in advance
Need B3 Bot Hosting for your gameservers in the UK & Europe?
Take a look at Rcon-Admin.com
Cheap + reliable B3 Bot hosting in the UK and Europe

Offline Glock

  • Sr. Member
  • ****
  • Posts: 172
  • Running B3 on 4 busy BF3 servers myself! B3 FTW!
Re: Echelon moderator able to change their B3 status to Senior Admin
« Reply #7 on: June 14, 2013, 08:59:33 PM »
Fixed.
Need B3 Bot Hosting for your gameservers in the UK & Europe?
Take a look at Rcon-Admin.com
Cheap + reliable B3 Bot hosting in the UK and Europe

 


Rate this page +1 at Google Search