Thread: Project U-232
View Single Post
  #17  
Old 1st May 2011, 21:53
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Default
All you need to do is open config.php and find :

PHP Code:
//==Important security settings below
//==Add all your Staff ids
$INSTALLER09['allowed_staff']['id'] = array(1,2); 
Would become for example :

PHP Code:
//==Important security settings below
//==Add all your Staff ids
$INSTALLER09['allowed_staff']['id'] = array(1,2,3,4,50); 
Ensure that before you promote any staff that there userid is added to that array.

Then few lines below find :

PHP Code:
//== Add ALL staff names before promote them
$INSTALLER09['staff']['allowed'] = array( 'Admin'       => 1,
                                    
'System' => 1
                                    
); 
Would become for example :

PHP Code:
//== Add ALL staff names before promote them
$INSTALLER09['staff']['allowed'] = array( 'Bigjoos'  => 1,
                                          
'Admin'    => 1,
                                          
'Bob'      => 1,
                                          
'System'   => 1
                                    
); 
And edit that array by copying the top line and pasting it direct underneath then change the name, adding your staff names used on site so they can access staffpanel, You will also see pins on there as some tools are pin protected so check that out.

Last edited by Bigjoos; 1st May 2011 at 22:16.