Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - too much power... | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Uzumaki285

Level: 6

Posts: 11/16
EXP: 576
For next: 331

Since: 08-13-05
From: sairutoshrine.fiftypounds.com

Since last post: 15 days
Last activity: 6 days
Posted on 10-08-05 10:43 AM Link | Quote
I have the power level to where there's a regular admin and then a system admin, me. I logged into my admin's name and tried to edit a user and I noticed that I could use his name to put anybody to a system admin. Is there a way to make it to where an admin can't put anybody higher then he is? I find it kind of annoying and I don't want him to be able to have the power I do. that's the reason I made a higher admin power.
TheGreatWhiteDope

Koopa
Banned
Level: 16

Posts: 90/108
EXP: 19462
For next: 794

Since: 01-05-05

Since last post: 8 days
Last activity: 4 days
Posted on 10-08-05 11:34 AM Link | Quote
Add:
if($loguser[powerlevel]==3 && $user[powerlevel==4) die(No);

In admin/edituser.php under the line:
if(!$isadmin) die(No);

Should work, if it doesn't maybe try:
elseif($loguser[powerlevel]==3 && $user[powerlevel==4) die(No);

Or somthing like that.
Book Keeper
♫♫♫ n00blet ♫♫♫

Level: 21

Posts: 154/160
EXP: 49435
For next: 508

Since: 03-15-04
From: Wired

Bookworm eat fresh!

Since last post: 20 hours
Last activity: 8 hours
Posted on 10-08-05 10:45 PM Link | Quote
rather try something like

if(!$istech){
$levellist="
<select name=powerlevel>





";
}else{
$levellist="
<select name=powerlevel>








";
}

Personaly I'd set $isowner in function.php, in this case I use tech staff.


(edited by Bookworm on 10-08-05 01:46 PM)
Uzumaki285

Level: 6

Posts: 13/16
EXP: 576
For next: 331

Since: 08-13-05
From: sairutoshrine.fiftypounds.com

Since last post: 15 days
Last activity: 6 days
Posted on 10-12-05 03:35 AM Link | Quote
I don't have a need for that many power levels. I only have 1 system admin, 1 admin, and 2 full mods...maybe 1 full mod. Where am I supposed to put the codes in, GreatWhiteDope?
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 649/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 10-12-05 10:33 AM Link | Quote
Originally posted by Uzumaki285
Where am I supposed to put the codes in, GreatWhiteDope?
He told you where:

Originally posted by TheGreatWhiteDope
Add:
if($loguser[powerlevel]==3 && $user[powerlevel]==4) die(No);

In admin/edituser.php under the line:
if(!$isadmin) die(No);

He also left a ] off the end of $user[powerlevel]... I added it to the quote there...
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - too much power... | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.018 seconds.