The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Restrict Admins to...
Ive seen Admins be restricted to things like styles. and that
But what im after is to restrict other admins.. IE other then userID1 to the email.php page.. To stop generating Email lists.. To stop downloading of my style.. but can modify. To stop the backing up of the database. Thats it! Thank You Crocket |
#2
|
||||
|
||||
where did you see to styles only? is there a link to the thread?
sorry i can't help you with your hack |
#3
|
|||
|
|||
|
#4
|
||||
|
||||
thats more of a protection, so other admins can't...
|
#5
|
||||
|
||||
crocet please change your sig image, you are way beyon the 300x75 pixels with max of 20k Byte
|
#6
|
||||
|
||||
@mx3 - What do you want to do? I can post the code in here for you
Satan |
#7
|
|||
|
|||
hellsatan can you help me your the "ultimate hacker"
I just want it so the email page style download/upload page database backup page.. Cannot be accessed by the other admins.. Only the admin ID 1 can access them! |
#8
|
||||
|
||||
Ok
Remember to backup ALL the files you are editing before changing anything in them Open admin/style.php Find: Code:
if ($action=="download") { Code:
if (($action=="download") and ($bbuserinfo[userid]!="1")) { echo"<p>You cannot perform this function</p>"; exit; } Open admin/email.php Find: Code:
require("./global.php"); Code:
if ($bbuserinfo[userid]!="1") { echo"<p>You cannot perform this function</p>"; exit; } Open admin/backup.php Find: Code:
require("./global.php"); Code:
if ($bbuserinfo[userid]!="1") { echo"<p>You cannot perform this function</p>"; exit; } Satan |
#9
|
|||
|
|||
~Thank You so much!
/me goes to impliment the code! |
#10
|
||||
|
||||
No problem
Satan |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|