vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Moderator of 1 forum with ModCP option. (https://vborg.vbsupport.ru/showthread.php?t=207565)

GotWalked 03-06-2009 11:32 PM

Moderator of 1 forum with ModCP option.
 
What I'm looking to do is add a user to a moderator of 1 particular forum, and give him access to the Mod CP. Think of it like this. You register to my forum, you must be approved first, then make a thread in my intro category, and then once that gets screened, you get your account bumped up to a regular account.

I have a moderator to do this for me instead of myself. If I make him a moderator as an additional user, he can moderate all forums but also has access to the Mod CP. If I add him as just a moderator to that particular forum, he can moderate it just fine, but cannot do the user registrations nor upgrade accounts because he doesn't have access to the Mod CP.

What can I do to resolve this?


P.S.: and yes, I have the Moderator New User Registrations Hack and the Nestaron's ModCP User Administration hacks installed so the mods can edit what they need to.

--------------- Added [DATE]1236412290[/DATE] at [TIME]1236412290[/TIME] ---------------

Bumped Please.

--------------- Added [DATE]1236456017[/DATE] at [TIME]1236456017[/TIME] ---------------

Anyone?

Marco van Herwaarden 03-09-2009 02:35 PM

Also a regular moderator has access to the ModCP, but he will need to know the link as no option is shown in the footer.

GotWalked 03-10-2009 04:02 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1764066)
Also a regular moderator has access to the ModCP, but he will need to know the link as no option is shown in the footer.

Maybe that's an idea for a feature version?

Marco van Herwaarden 03-10-2009 10:30 AM

No it is left out on purpose as it would add a number of queries to each page load.

popowich 03-10-2009 01:29 PM

Hello,

You can add/tweak the following to your navbar to create a convenient link:
PHP Code:

       <if condition="$bbuserinfo[usergroupid] == 6">
          <
td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>
        </if>
        <if 
condition="$bbuserinfo[usergroupid] == 5">
          <
td class="vbmenu_control"><a href="$modcpdir/index.php$session[sessionurl_q]">ModCP</a></td>
        </if> 

You'll want to add a block for usergroup 6 too.

-Raymond


All times are GMT. The time now is 11:58 PM.

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.01110 seconds
  • Memory Usage 1,725KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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