vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Turn off Who's Online for users who choose to go Invisible. (https://vborg.vbsupport.ru/showthread.php?t=130281)

buro9 10-28-2006 10:00 PM

Turn off Who's Online for users who choose to go Invisible.
 
No longer supported by the author.

buro9 10-29-2006 12:42 PM

Oh yeah, forgot to reserve first post for support announcements for those that collapse the hack area.

buro9 10-29-2006 01:01 PM

BTW, There is a big incentive to installing this hack. The reason is this:

Being invisible is something that most users like, the incentive to them is privacy. However this means that the number of actual people who appear to be online is lower than it really is.

New users to the forum use things like the Who's Online at the foot of the forumhome to judge whether they've found an active forum which lots of real people on. Active forums being better than dead forums.

You can't incentivise your users not to go invisible to help attract new members, because they don't care. But by installing this hack you have given users a clear incentive to not be invisible. And the result of that is that more users appear to be online, and that helps to convert new users as they see how active a forum really is.

I like this hack, it's one of my better small hacks, and is quite fun on the psychology side as you get to see who really values privacy, and who values openness :)

magnus 10-29-2006 01:14 PM

You couldn't hook this into init_startup rather than requiring a file edit?

buro9 10-29-2006 03:32 PM

Quote:

Originally Posted by magnus
You couldn't hook this into init_startup rather than requiring a file edit?

I'm afraid not.

That hook is called before the session has been created and we have the user who is currently logged on. Until we have a session we do not know whether the user who is logged on is set to be invisible.

Ideally there would be a init_completed hook and we could use that, but there isn't one so to avoid hooking the start of every single other script, I insert the 3 lines to the end of init.php.

hotwheels 10-29-2006 04:56 PM

lmao.........that is a great idea.

Hornstar 10-29-2006 06:21 PM

How many people here allow their reg users to appear invisible tho? I think that setting is best left for staff or special usergroups.

but none the less, it is a good idea if you are one of the users who do let reg users appear invisible, however I think it would be best to be able to define who this works for as well, because im sure admins dont want to be affected by this.

Thanks.

buro9 10-29-2006 06:25 PM

I've allowed all users to be invisible for years. They love it, and only about 20% max go invisible. This setting encourages some of them to come back from the dark side, or at least to evaluate the importance to them of privacy over functionality, which in itself is a great social question.

Just imagine how wonderful it would be if our politicians had to lose their privacy when they took ours, and how they too would gain privacy by granting ours. It's great fun!

basilrath 10-30-2006 01:17 PM

rather stop them being invisi!

Paul M 10-30-2006 02:03 PM

Quote:

Originally Posted by buro9
I'm afraid not.

That hook is called before the session has been created and we have the user who is currently logged on. Until we have a session we do not know whether the user who is logged on is set to be invisible.

Ideally there would be a init_completed hook and we could use that, but there isn't one so to avoid hooking the start of every single other script, I insert the 3 lines to the end of init.php.

So why can't you use global_start or one of the other hooks in global.php ?

buro9 10-30-2006 06:22 PM

Quote:

Originally Posted by Paul M
So why can't you use global_start or one of the other hooks in global.php ?

Now that would be possible :)

SnickersTK 10-30-2006 06:57 PM

GREAT idea! I have had a lot of trouple with this issue... It has created a lot of "shit" on my board. The less resources they have to create havoc the better. I really do believe this equals out the privacy for all members.

Though I think you should make an exception for administrators and mods? I think it is useful to be able to make yourself invisible while doing research.

Paul M 10-30-2006 07:10 PM

Quote:

Originally Posted by buro9
Now that would be possible :)

You have at least four to choose from, style_fetch, cache_templates, parse_templates and global_start.

Possibly more I've missed. :D

Stoebi 10-30-2006 08:53 PM

Hi

Hook online_complete
PHP Code:

if($vbulletin->userinfo['userid'] AND $vbulletin->userinfo['invisible'] == 1)
{
    eval(
standard_error(fetch_error('whosonlinedisabled')));


and Hook forumhome_start are your friends
PHP Code:

if($vbulletin->userinfo['userid'] AND $vbulletin->userinfo['invisible'] == 1)
{
     
$vbulletin->options['WOLenable'] = false;
     
$show['search_engine'] = true;



Regards, Stoebi

SCRIPT3R 10-30-2006 10:04 PM

thnx for the hook.

SCRIPT3R 10-31-2006 02:49 AM

did you forget about Currently Active Users within the WGO? ;)

buro9 10-31-2006 06:12 PM

What is WGO?

SnickersTK 11-01-2006 10:16 PM

I think it is online users on forumhome

SCRIPT3R 11-05-2006 05:45 PM

yes, would be beneficial to disable that view also... for those that choose to be invisible.

gonkowonko 11-18-2006 11:36 PM

Quote:

Originally Posted by Stoebi (Post 1107730)
Hi

Hook online_complete
PHP Code:

if($vbulletin->userinfo['userid'] AND $vbulletin->userinfo['invisible'] == 1)
{
    eval(
standard_error(fetch_error('whosonlinedisabled')));


and Hook forumhome_start are your friends
PHP Code:

if($vbulletin->userinfo['userid'] AND $vbulletin->userinfo['invisible'] == 1)
{
     
$vbulletin->options['WOLenable'] = false;
     
$show['search_engine'] = true;


Regards, Stoebi

Im a bit simple :alien: how would i add this to my forum? as i rather do that then a file edit

GSX-Racing 11-29-2006 10:46 PM

I did the file edit, but it doesn't hide for invisible users.

Could it be the fact I have the 'Who's online in last 24 hours' hack installed?

kungfujesus 12-04-2006 10:47 PM

Quote:

Originally Posted by SnickersTK (Post 1107656)
GREAT idea! I have had a lot of trouple with this issue... It has created a lot of "shit" on my board. The less resources they have to create havoc the better. I really do believe this equals out the privacy for all members.

Though I think you should make an exception for administrators and mods? I think it is useful to be able to make yourself invisible while doing research.

I'd like to use this but make admins/mods immune to it as well.

akanevsky 12-04-2006 11:52 PM

Nice idea, but there is a flaw: nothing prevents a user from turning on visibility for one moment just to look at who's online.


All times are GMT. The time now is 04:00 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.01288 seconds
  • Memory Usage 1,773KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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