vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Make invisible users visible to Super Moderators and Moderators. (https://vborg.vbsupport.ru/showthread.php?t=32386)

SWFans.net 11-12-2001 10:00 PM

Very simple, but seeing there was a request for it, I figured I would go ahead and release how I was able to accomplish this in vB 2.0.3. Not sure if it is the same in 2.2 or not, but it probably isn't too much different regardless.

EDIT: Updated instruction attachment for inclusion of complete 2.2.0 modifications.

EDIT2: See Post #29 For the fix for fourmdisplay.php for versions 2.2.2 and 2.2.3. :)

EDIT3: see Post #48 For the new install file for vB version 2.2.6

dirgotronix 11-13-2001 09:06 PM

Awesome, just what I needed.

Might make a few adjustments though:

dunno what usergroupid 7 is, but it's not anything on mine.

On my forum, admin is 6, supermod is 5, and mod is 9. I chose not to allow mods to see, so all I had to add was 'or $bbuserinfo[usergroupid] == 5' 'and $bbuserinfo[usergroupid] != 5' etc.

Worked like a charm though, on 2.2.0.

Thanks!

SWFans.net 11-13-2001 09:38 PM

My group ID designations as per the instructions.

Super Mods - 5
Admins - 6
Mods - 7

I wasn't aware that they would be different from board to board. I'll modify the instructions to reflect the group number designations and how to find your own for those who don't know. Great news hearing that it works in 2.2 as well. :)

SWFans.net 11-14-2001 01:00 AM

A little time to think about it, makes me wonder if making this hack complete for vB version 2.2 wouldn't require a change to forumdisplay.php, so that the "Currently browsing this forum" display would show invisibles to Mods and super Admins as well. I'm not sure since I don't use 2.2. The modification would probably be very similar to the one in index.php though I'm guessing.

dirgotronix 11-14-2001 02:23 AM

Hey, you're right. Here's the code for 2.2.0:

Around line 647:

find
Code:

                if (!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) {
Replace with:
Code:

                if (!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6 or $bbuserinfo['usergroupid'] == 5) {

SWFans.net 11-14-2001 02:47 AM

Quote:

Originally posted by dirgotronix
Hey, you're right. Here's the code for 2.2.0:

Thanks. I'll add the code to the attachment. :)

LuBi 11-14-2001 04:12 AM

lol can someone speel out what this hack does I'm not getting it. Where can the mods etc etc see the invisible users?

SWFans.net 11-14-2001 04:25 AM

It is only effective if "Who's Online" is turned on. If it is, they will be able to see the invisible users within both the display on the index and within the display in the Who's Online Activity window. And also in the "Users Browsing this Forum" display in version 2.2.0, normally located at the top of the forums.

LuBi 11-14-2001 04:31 AM

lol thanks, great hack... I just won't tell my members about it!

SWFans.net 11-14-2001 04:59 AM

Mine don't know either. >=) Its good for keeping an eye on trolls and spammers though. :)


All times are GMT. The time now is 06:03 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.01108 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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