vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Editing ModCP? (https://vborg.vbsupport.ru/showthread.php?t=95376)

Urges 08-31-2005 01:19 PM

Editing ModCP?
 
I have a few things I would like to be able to do here, so I was wondering if anyone could help.
  • I would like to remove certain tools from modcp, and limit the time mods can ban users (3 weeks, or any time period below). This would be modcp1.
  • I would like to create another mod cp with all the tools removed from modcp1 enabled at another location, e.g. "domain.com/modcp2" (for super mods).
  • How do I prevent normal mods from accessing modcp2? Password it? How do I do this? (lol...).

Thanks for any help.

Biker_GA 08-31-2005 01:25 PM

I think it would be easier to just use Kirby's permission plugin and allow/disallow your mods from using certain functions on the site.

Urges 08-31-2005 01:32 PM

Quote:

Originally Posted by Biker_GA
I think it would be easier to just use Kirby's permission plugin and allow/disallow your mods from using certain functions on the site.

Link please?

I'll check it out, although what I said above is what I want to do really...

I know it can be done, because I was a moderator on a board that did that once...

Biker_GA 08-31-2005 01:33 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=91121" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=91121</a>

Urges 08-31-2005 01:45 PM

I would still prefer to do it the way posted above I think, so if anyone can help please do.

I will have a look at that hack later.

Biker_GA 08-31-2005 01:48 PM

Keep in mind, with that hack, only those items the moderators have permission for will show in the ModCP.

Urges 08-31-2005 06:36 PM

Anyone else got any ideas on how to do what I asked?

Andreas 08-31-2005 06:42 PM

1.) Only Links where Moderators have Permission will show up.
So it doesn't make sense to remove certain entries?
2.) This can be done with a Plugin, and IIRC I already posted the Code somewhere ...
3.) You could simply check if the User accessing it is a Supermod. If he isn't, issue an Error.
This can be done with a Plugin as well.

Urges 08-31-2005 06:48 PM

Heh, could you possible link me to those plugins? I've done some searching but can't find what I want...

Thanks a lot :).

Andreas 08-31-2005 06:50 PM

Erm ... I said it can be done with Plugins.
I didn't say that those Plugins do exist already ;)


All times are GMT. The time now is 11:19 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.01074 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete