Ed
09-Jun-2004, 05:54 AM
I have designed this to go along with the Special Admin mod.
What this does is this adds a block to the side of the ACP that when you set a group to a certain section, you can restrict them even more. So say you ahve someone set as a person to manage validation, ok. Well if you have the Special Admin mod installed, they can easily change their permissions to Access FULL ACP. And we certainly dont want that to happen, as they can do some stuff.
What you do is:
----------------------------------------
Open admin_pages.php
----------------------------------------
Find the code
----------------------------------------
?>
----------------------------------------
Add Above that
----------------------------------------
$PAGES[count($PAGES)+1] = array(
1 => array( 'Manage Validation' , 'LINK TO THE ACP PAGE' ),
);
$CATS[count($CATS)+1] = "Block Name";
$DESC[count($DESC)+1] = "Block Description";
You can add as many links as you would like, just add the following under
1 => array
2 =>array( 'LINK NAME/DESTINATION' , 'LINK TO THE ACP PAGE' ),
just keep adding to the array number like this 1 =>array, 2 =>array, 3 =>array, and so on..
Again This is basically for people who have the "Special Administration" Mod installed on their forums.
:nbsdesignz: :nbsdesignz: :nbsdesignz:
What this does is this adds a block to the side of the ACP that when you set a group to a certain section, you can restrict them even more. So say you ahve someone set as a person to manage validation, ok. Well if you have the Special Admin mod installed, they can easily change their permissions to Access FULL ACP. And we certainly dont want that to happen, as they can do some stuff.
What you do is:
----------------------------------------
Open admin_pages.php
----------------------------------------
Find the code
----------------------------------------
?>
----------------------------------------
Add Above that
----------------------------------------
$PAGES[count($PAGES)+1] = array(
1 => array( 'Manage Validation' , 'LINK TO THE ACP PAGE' ),
);
$CATS[count($CATS)+1] = "Block Name";
$DESC[count($DESC)+1] = "Block Description";
You can add as many links as you would like, just add the following under
1 => array
2 =>array( 'LINK NAME/DESTINATION' , 'LINK TO THE ACP PAGE' ),
just keep adding to the array number like this 1 =>array, 2 =>array, 3 =>array, and so on..
Again This is basically for people who have the "Special Administration" Mod installed on their forums.
:nbsdesignz: :nbsdesignz: :nbsdesignz: