vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Not everyone who mods a forum should show up on the "forum leaders" page (https://vborg.vbsupport.ru/showthread.php?t=105803)

zappsan 01-20-2006 12:16 PM

Not everyone who mods a forum should show up on the "forum leaders" page
 
Well, since the search didn't give me any results, I'll just request this.

I've got a few members who are allowed to mod a forum, but they aren't real mods, so I don't want them to show up on the "forum leaders" page.

Sure, I could just turn off the display of mods on that page, but that's not the point of it.
I still want the real mods and the forums they mod to be displayed there, so is there any way to do so?
Is there a way to exclude certain members from that list?

I'm quite sure there is a way to do so, since it seems to be working here, at vb.org.

Any tips would be greatly appreciated^^

Marco van Herwaarden 01-20-2006 12:35 PM

Just don't add them to the Moderators Usergroup, only add them as moderator to their forum.

zappsan 01-20-2006 12:44 PM

That's what I did, but they still show up.

rootnik 01-27-2006 11:08 PM

This is needed badly.

I like to keep my moderators anonymous, but want to have the showgroups available so members can contact admins if needed.

zappsan 01-28-2006 09:39 PM

Well, any other ideas?
I know there is a way to, it's working here o.o


Quote:

Originally Posted by rootnik
This is needed badly.

I like to keep my moderators anonymous, but want to have the showgroups available so members can contact admins if needed.

You can already do that.
Just turn the mods off in the general settings.

zappsan 02-13-2006 09:06 PM

Bump.

Any ideas?

Lineman28645 02-13-2006 10:10 PM

All I do if I don't want them to show up, is add the moderator group as there second group and not there primary. This keeps them for showing up for me atleast. Only other thing I can suggest if that doesn't work is creating another group "Mod 2" same privelages as a mod however don't show them on the forumleaders.

simsimt 02-13-2006 10:39 PM

Logician has modified showgroups.php & few templates for more functioning. The Sand Man published it over at The Admin Zone. You may want to check it & see if it does what you're asking for.

zappsan 02-13-2006 10:59 PM

1 Attachment(s)
Quote:

Originally Posted by simsimt
Logician has modified showgroups.php & few templates for more functioning. The Sand Man published it over at The Admin Zone. You may want to check it & see if it does what you're asking for.

Thanks, but that isn't what I was looking for.

I'll explain it better:
Take a look at the attachment.
The people with the blues usernames are mods, the others aren't.
They just mod a forum, but don't belong to the moderator usergroup.
I don't want them to show up.

Seems like it's working here on vb.org...

thalamus 02-26-2006 06:02 PM

Can I bump this as well, since I feel it could be a critical requirement. I can remove the entire section in showgroups.php that follows:

Code:

//get moderators ****
but that removes the whole mod listing. I too have a board where I'd like the Moderators (primary and/or secondary) to be shown but individual forum mods not to, to preserve a certain anonymity.

Thanks :)

thalamus 03-04-2006 07:52 AM

OK, it seems that a very simple addition to showgroups.php will do the trick...

In showgroups.php, insert the line in BOLD where you find:
Code:

        // get moderators **********************************************************
        $moderators = $db->query_read("
                SELECT $locationfieldselect user.*,moderator.*
                FROM " . TABLE_PREFIX . "moderator AS moderator
                INNER JOIN " . TABLE_PREFIX . "user AS user USING(userid)
                INNER JOIN " . TABLE_PREFIX . "userfield AS userfield USING(userid)
                WHERE user.usergroupid = XX
                #ORDER BY user.username
        ");

Replace XX with the usergroup ID of the Moderators group. Works for me on 3.5.2, but I don't think there's any changes between the latest versions of this file.

zappsan 03-04-2006 07:19 PM

I just figured ut out by myself a few minutes ago, now I see your post
lol^^
Working on 3.5.4 as well...


All times are GMT. The time now is 07:16 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.01022 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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