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!

Ascor 08-21-2006 10:57 PM

works good in version 3.6, big thx Chris :)

Pamela 03-18-2007 02:51 AM

Quote:

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

Chris

Does anyone know how to get this to work in vB 3.5.4?

Thank you!!! :)

Masiello 04-27-2007 05:48 PM

Quote:

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

Chris

I've installed but it can't hide the Admins number from "Whois online" module, how I can do that please?
After installed this, I show myself (Admin) are 2 users online but in real is only one (me)

girlspeedo 05-12-2007 06:26 PM

Quote:

Originally Posted by Masiello (Post 1236580)
I've installed but it can't hide the Admins number from "Whois online" module, how I can do that please?
After installed this, I show myself (Admin) are 2 users online but in real is only one (me)

Did it work for you with vb 3.6? It doesn't work for me either in FroumHome or Who's Online. Can anyone help?

Thanks!

illkeyone 04-24-2008 11:27 PM

It doesn't work for me :( can anyone please help me with this?

Thanks a lot :)

(Note that I use vb.3.6.7, thanks :))

illkeyone 05-23-2008 05:53 AM

Isnt there anybody here? :(

gutelaune 01-01-2009 09:50 PM

*** installed ***

thanks

Iguana Goddess 08-19-2010 05:19 PM

Quote:

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

Chris

Just plugged this in on my site running 3.8.6 so far I haven't noticed any conflicts with my other modifications.


All times are GMT. The time now is 05:32 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.01866 seconds
  • Memory Usage 1,752KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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