View Full Version : User ID 1 can change undeletable / unalterable users??
Blam Forumz
07-15-2004, 01:44 PM
:dead: can anyone make a hack which allows the user with the id 1 be able to alter accounts which are undeletable / unalterable?
Need it.
Dont say anything unless its useful
Milorad
07-15-2004, 03:32 PM
Dont say anything unless its useful
heh... no a-hole ever told me what to say, or not to say.... you won't be the first.
Andreas
07-15-2004, 04:15 PM
Hmm, does this make sense?
If you are asking for such a hack I guess you have got access to the files, which means you can just edit config.php no have no uneditable users ...
Anyway, this is quite simple to achieve:
At the end of admincp/global.php, after
print_cp_login();
}
ADD
if ($bbuserinfo['userid'] == 1) {
unset ($undeletableusers);
}
Milorad
07-15-2004, 04:32 PM
I'm sorry for providing yet MORE noise :p
but, that would allow the undeletables to play with each other.... I think the point of this is that only the ID:1 should be able to play with the undeletable users...
in other words, a bypass for ID:1, rather than unsetting the list entirely.
Blam Forumz
07-16-2004, 08:23 AM
I'm sorry for providing yet MORE noise :p
but, that would allow the undeletables to play with each other.... I think the point of this is that only the ID:1 should be able to play with the undeletable users...
in other words, a bypass for ID:1, rather than unsetting the list entirely.
Doesnt the
if ($bbuserinfo['userid'] == 1) suggest otherwise?
Andreas
07-16-2004, 10:42 AM
I think the point of this is that only the ID:1 should be able to play with the undeletable users...
This is exactly what this hack will do ...
Milorad
07-17-2004, 09:43 AM
sorry, I jumped prematurely.
My apologies.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.