Log in

View Full Version : How to disable ModCP access for super mods?


Chris 96 WS6
02-21-2009, 08:12 PM
Anybody know where in the PHP to do this? I've already hidden the link to ModCP in the template, but its still accessible by direct URL if you know the path.

I need ModCP access to deny login just like it does for regular mods. I'm looking at modcp/index.php but can't seem to find anything but the logout function call.

SauravG
02-21-2009, 09:31 PM
Just password protect the directory.

Chris 96 WS6
02-22-2009, 01:07 AM
That's a bandaid, and maybe it would otherwise be OK but I am wanting to retain access to modcp for admins in this instance.

Marco van Herwaarden
02-23-2009, 09:23 AM
Using a .htaccess password would be the best way to do this. You can limit the permissions of your moderators but you can not deny access to the ModCP.