PDA

View Full Version : Whois


kvk007
10-22-2002, 01:06 PM
Normally members when they view "whois", they can see where the members, moderators, admins are doing. Surfing on different boards. Now, I wanna let that continue, but I want to JUST block people from seeing where I the adminstrator am surfing. Hope you got me?

EXample, when they see me online and wanna see whois, i don't wanna show where i am surfing, i wanna show something like "KEEP YOUR EYES AWAY FROM ME".

Dean C
10-22-2002, 01:09 PM
I asked this a while ago and Xenon linked me to a thread..

But i couldn't get the code to work :(..

- miSt

Chris M
10-22-2002, 01:35 PM
Open root/online.php
Find:
case 'spider':
$userinfo[where] = "Search Engine Spider";
break;
Add below:
case 'put your username here':
$userinfo[where] = "The message you want them to recieve";
break;
Now find:
if ($onlineloc!='' and $userinfo[activity]=='unknown') {
$onlinelocbits=explode("|||",$onlineloc);
while (list($key,$ourfilename)=each($onlinelocbits)) {
list($key,$text)=each($onlinelocbits);
if ($filename==$ourfilename)
$userinfo[activity] = $ourfilename;
}
}
And add below:
if ($userinfo[userid]==1) {
$userinfo[activity] = 'put your username here';
}

Done:)

Satan

Chris M
10-22-2002, 01:36 PM
^ Oh...Make sure you change the :

put your username here

to your username;)

Satan

Xenon
10-22-2002, 03:41 PM
mist, you would have found it in the thread i told ya, there was also a link to this:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=31938

there Chen posts his code ;)

Dean C
10-22-2002, 03:47 PM
^ Yes i did see but it didn't work ;)

I'll try satan's now :D

- miSt

Xenon
10-22-2002, 04:03 PM
satans is the same as chens ^^

look at the code instead of FireFly he has put in a "put you username here" ;)

Chris M
10-22-2002, 05:33 PM
Yep...

I thought Maybe that Mist was looking at the wrong one, so I posted it again;)

Satan

Dean C
10-22-2002, 05:45 PM
Geez im so stupid lol..

I finally got it to work :D

Thanks guys

- miSt

Chris M
10-22-2002, 05:53 PM
Lol...

We know;)j/k:p

Np:)

Satan

Dean C
10-22-2002, 06:51 PM
*shoves sock in mouth*

- miSt

Chris M
10-23-2002, 01:05 PM
Lol...

Did you get it working kvk007?

Satan