vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Moderators Not Shown as Staff (https://vborg.vbsupport.ru/showthread.php?t=53301)

kaotic 05-23-2003 09:51 PM

Moderators Not Shown as Staff
 
This isn't a big deal, but it would be useful to my forum particularly.

I set up a subforum for each major clan @ my message board. I let the clan leader moderate his or her clan's subforum.. but that's usually the only forum that the leader moderates. Because of this, the staff list is getting kind of large. :p Would it be possible to specify certain forums that don't have their moderators show up on the staff list? Like I said, this isn't a big deal.. but I would appreciate it. :)

Gary King 05-23-2003 11:19 PM

What if ALL moderators (so excluding supermoderators) were not shown as staff? Are you alright with that? Or not? I can create a hack that can do either way, but the preceding method would take less time to create.

assassingod 05-23-2003 11:28 PM

This is for showing no moderators on showgroups.php

It's untested, but you could open up admin/usergroup.php

Find:
PHP Code:

  if (($usergroupid != and $usergroupid != and $usergroupid != and $usergroupid != and $usergroupid != 7) or $usergroup['showgroup'] == 1) { 

and replace that with:

PHP Code:

  if (($usergroupid != and $usergroupid != and $usergroupid != and $usergroupid != ) or $usergroup['showgroup'] == 1) { 

It should work though:)

Gary King 05-23-2003 11:32 PM

No, it will not work, because showgroups.php will still search for moderators. This is because it won't check to see if moderators are viewable on showgroups.php or not, since they're always supposed to be there.

assassingod 05-23-2003 11:37 PM

Tested on my localboard and it worked, but i'll take your word for it:)

kaotic 05-24-2003 01:02 AM

Well if assassingod's method doesn't work, I'm cool with your first idea.

Gary King 05-24-2003 02:38 AM

Working on it right now, give me a minute or two.

Gary King 05-24-2003 02:42 AM

Check this thread: https://vborg.vbsupport.ru/showthrea...threadid=53313


All times are GMT. The time now is 08:30 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.00994 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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