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 ?


All times are GMT. The time now is 10:37 AM.

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.00961 seconds
  • Memory Usage 1,733KB
  • 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_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