You are here:  » Multiple and Unique logins

Multiple and Unique logins

Submitted by Convergence on Wed, 2013-10-16 21:56 in


Any chance of having multi-user logins with different permissions (specifically for employees)?

Just a thought...

Submitted by support on Thu, 2013-10-17 09:04

Hi Convergence,

One easy way to achieve this is to create a second admin folder, say /admin2/ starting with a copy of the /admin/ folder but then deleting any scripts associated with the tools that you don't want to have access to from the secondary login.

Further, edit the new admin_menu.php and remove any links to the tools that you have deleted and then edit login.php and look for the following code at line 23:

  header("Location: ".$config_baseHREF."admin/");

...and REPLACE with:

  header("Location: ".$config_baseHREF."admin2/");

If you don't want the secondary admin area to have feed administration, you can replace index.php with just:

$admin_checkPassword TRUE;

Finally, to enable separate passwords for each admin area, in config.advanced.php where you have the normal admin password set, for example at line 2 using "password1" as the password:

  $config_adminPassword = "password1";

...REPLACE with:

   if (strpos($_SERVER["REQUEST_URI"],"admin2/")!==FALSE)
     // password for secondary admin area /admin2/
     $config_adminPassword = "password2";
     // password for original admin area /admin/
     $config_adminPassword = "password1";


Submitted by Convergence on Thu, 2013-10-17 15:39

Hi David,

Sounds simple enough.