Turn off Who's Online for users who choose to go Invisible.

Daz

New Member
This is a really simple hack, it simply evens the playing field amongst users applying to themselves the setting that they apply to others.

If a user sets themselves as being 'invisible', then other users cannot see what they are doing.

So... this hack makes that the same for them, if a user us 'invisible' they are denied access to Who's Online and thus cannot use their invisibility to stalk other users.

THIS HACK REQUIRES A FILE CHANGE!!!

Installation

Open the following file in your favourite editor:
includes/init.php

Go to the very end of the file, and just above this (which is on the last line):
Code:

PHP:
?>

Put this:


PHP:
// HACK : START : HIDE WHO'S ONLINE FOR INVISIBLES
if ($vbulletin->userinfo['userid'] > 0 && $vbulletin->userinfo['invisible']) {
  $vbulletin->options['WOLenable'] = 0;
}
// HACK : END : HIDE WHO'S ONLINE FOR INVISIBLES



You may wish to edit the phrase 'whosonlinedisabled' so that the invisible's know why they can't see Who's Online.
 
Top