vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   invisible for real (https://vborg.vbsupport.ru/showthread.php?t=100470)

VaaKo 11-09-2005 06:02 PM

invisible for real
 
let's say I have set myself to be invisible, no one in the forum can see me online, however, when the users look at:

Code:

Currently Active Users: 16 (13 members, 3 guests and 0 spiders)
they can see 15 members visible, but yet it's saying 16, they will know that there is a user setting himself to be invisible.

is there a way not to count the invisible users within the online users count?

This is the reply I got at vb.com :)
Quote:

Originally Posted by Jake Bunce
There is no option to exclude invisible users from that count. However, this should be possible with a small plugin for the forumhome page. For help with this I recommend you post on www.vbulletin.org.


Boofo 11-09-2005 06:16 PM

You would also need to do it for the Who's Online, too, I think. ;)

VaaKo 11-09-2005 06:57 PM

Quote:

Originally Posted by Boofo
You would also need to do it for the Who's Online, too, I think. ;)

yea, I guess so, but is it possible? (of course it is :P)
anyone has done it yet or maybe willing to do it?

Chris M 11-09-2005 08:18 PM

1 Attachment(s)
This will hide the number of invisible users to those who can't see invisible users... :)

Chris

Boofo 11-09-2005 08:20 PM

What about for the Who's online, too? ;)

EDIT: NM, I just looked at the plug-in. ;)

VaaKo 11-09-2005 08:22 PM

thx chris!

has it been tested before?

Chris M 11-09-2005 08:26 PM

I tested it on my forum and it appeared to work as long as you can't see invisible users - It makes sense that you can't lie about the number of invisible users if you can see them :p

Chris

Boofo 11-09-2005 08:31 PM

Chris, how could I do the same thing for certain member IDs (like mine) from everyone, whether they can see invisible users or not?

Chris M 11-09-2005 11:17 PM

Quote:

Originally Posted by Boofo
Chris, how could I do the same thing for certain member IDs (like mine) from everyone, whether they can see invisible users or not?

You would have to (most likely) alter functions_online.php to remove referencing to the usergroup permissions when your userid is online :)

Upon investigation I have narrowed it to:

PHP Code:

// ###################### Start userlocation #######################
function fetch_user_location_array($userinfo)


This function - There are no hooks inside the function so a file-edit is probable if not manditory :)

Chris

aciurczak 12-01-2005 12:47 AM

Quote:

Originally Posted by Chris M
This will hide the number of invisible users to those who can't see invisible users... :)

Chris

Works perfectly! Thx!


All times are GMT. The time now is 11:35 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.01017 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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