Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Daz's Avatar
Daz : To right I fecking bite
Daz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond repute
offline Joined: Sep 2007 Posts: 455 Thanked: 166
  #1  
Thread Starter Unread 09-30-07
Turn off Who's Online for users who choose to go Invisible.

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:

?> 
Put this:


// HACK : START : HIDE WHO'S ONLINE FOR INVISIBLES
if ($vbulletin->userinfo['userid'] > && $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.
Quote
The Following User Says Thank You to Daz For This Useful Post:
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
turn, choose, invisible, users, online
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021