Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by SWFans.net SWFans.net is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-12-2001 Last Update: Never Installs: 109
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-13-2001, 09:06 PM
dirgotronix dirgotronix is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #3  
Old 11-13-2001, 09:38 PM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 11-14-2001, 01:00 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 11-14-2001, 02:23 AM
dirgotronix dirgotronix is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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) {
Reply With Quote
  #6  
Old 11-14-2001, 02:47 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 11-14-2001, 04:12 AM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol can someone speel out what this hack does I'm not getting it. Where can the mods etc etc see the invisible users?
Reply With Quote
  #8  
Old 11-14-2001, 04:25 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 11-14-2001, 04:31 AM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol thanks, great hack... I just won't tell my members about it!
Reply With Quote
  #10  
Old 11-14-2001, 04:59 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:44 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.04442 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete