![]() |
Well I can guarantee that it does work...
I know myself - If there was ever a time I was grateful for it, was when someone hacked into The Lyceum, and tried to delete my account 10 times... Satan |
Hmmm...
Search for : Code:
if ($userid==X) Satan |
Here is my code:
PHP Code:
PHP Code:
Thank you for your time. Sorry I am being such a pain. I am feeling the pressure back at my board. :lol |
In this hack Satan you state towards the beginning of the instructions (step 6) to modify global.php. Are you referring to admin2/global.php or the original admin/global.php?
|
The /admin2 global.php...
That is to set permissions for the co-admin, or lesser admin or whoever you want to call him/her/it/them... @Night Owl - yes... Satan |
I dont unterstand what for files i must change. The original files or the admin2 files. What is right?:
Step5 = admin/usergroup.php Step6 = ?/global.php (admin or admin2) Step7 = admin2/user.php Step8 = ?/user.php (admin or admin2) Step9 = ?/index.php (admin or admin2) thx you P.S. Where i can see the usergroupid at the cp? |
All the files you must change are in the new /admin2 directory, unless stated otherwise...
I guess I did not state that clearly enough... For the usergroupid - Goto your Control Panel, and click "Modify" in the "User Groups" subsection... Hover over the edit button of the usergroup you want, and look at the link in the bottom left of the screen...The last digit, i.e. 6 = Admins, will be your usergroupid... So it will appear as something like: Code:
/usergroup.php?action=edit&usergroupid=6 |
thx
by Step 8 : // ###################### Start do update ####################### if ($HTTP_POST_VARS['action']=="doupdate") { -------DO NOT COPY THIS LINE------- And add below : -------DO NOT COPY THIS LINE------- if ($userid==X) and ($bbuserinfo[userid]!=X) { echo "<p>You cannot delete this Admin.</p>"; cpfooter(); exit; } What id i must change for X ? My Admin id or the admin2 id? |
Your id...
Hmmm... I think you copied 2 lines, but from different areas... Lol... The first part is updating...The second part mentions deleting lol... Always replace X with your Userid unless stated otherwise... Satan |
Quote:
|
All times are GMT. The time now is 07:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|