vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Showing forums a moderator mods (https://vborg.vbsupport.ru/showthread.php?t=146005)

tehQspm 04-29-2007 07:53 AM

Showing forums a moderator mods
 
I want the Leaders Page to show just one list of all staff members (rather than separated into usergroups). Can that be done easily? I removed $usergroups from SHOWGROUPS template but the moderator listing only shows moderators who have been specifically assigned as moderators to any forums. Admins, Supermods etc do not show.

I then re-enabled $usergroups and played around with showgroups_usergroupbit but $user[forumbits] only displays the list of forums for anyone listed in the moderator list and not in any of the usergroup lists.

Is this something where I'd need to edit showgroups.php? Or am I approaching this from a different angle?

Lucky Seven 05-02-2007 08:02 PM

You can show all staff members in one list but without forums by:

Edit showgroups_usergroup and leave just the following in the template:
Code:

$usergroupbits
Then, in SHOWGROUPS, replace:
Code:

$usergroups
with:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat" colspan="3">$user[title]</td>
</tr>
<tr>
        <td class="thead">&nbsp;</td>
        <td class="thead" width="100%">$vbphrase[user_name]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
        <td class="thead">$vbphrase[contact]</td>
</tr>
$usergroups
</table>
<br />

That gets all your usergroup staff into one listing (although it doesn't display them alphabetically, still in group order). I haven't yet figured out how to get the moderated forums to be listed with the usergroups but I'm definitely trying as I want to do that myself - I think it is something that would have to be done through the PHP files unfortunately.

tehQspm 05-02-2007 08:05 PM

Yes we've managed to put them all as one list and for now have had to contend with not showing the forums they moderate.

Thanks for your help.


All times are GMT. The time now is 08:13 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.01551 seconds
  • Memory Usage 1,715KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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