vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to disable ModCP access for super mods? (https://vborg.vbsupport.ru/showthread.php?t=206160)

Chris 96 WS6 02-21-2009 08:12 PM

How to disable ModCP access for super mods?
 
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.


All times are GMT. The time now is 10:31 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01033 seconds
  • Memory Usage 1,705KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete