View Full Version : Ah-ah, no peeking, ??
mondaynightmike
02-13-2002, 02:53 PM
Hi i just clicked on the "online users" which takes you to online.php
This has probably been asked but i could not find it, when i scrolled down next to firefly it said this:
Ah-ah, no peeking, mondaynightmike! ;-)
Is this a hack and if so could someone please tell me how it is done.
thanks
TWTCommish
02-13-2002, 02:59 PM
Open your online.php file and find this:
// Let's show the admin the location but put something false up for everyone else..
if ($bbuserinfo[usergroupid] == 6) {
$userinfo[location] = htmlspecialchars(stripslashes(replacesession($user info[location])));
$userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>";
} else {
// We were unable to parse the location
$userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";;
}
Replace it with this:
$special_text = "Ah ah, no peeking, $bbuserinfo[username]!";
// Let's show the admin the location but put something false up for everyone else..
if ($bbuserinfo[usergroupid] == 6) {
$userinfo[location] = htmlspecialchars(stripslashes(replacesession($user info[location])));
$userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>";
} else {
// We were unable to parse the location
$userinfo[where] = $special_text;
}
I'm pretty sure that that should work. I haven't tested it, though. :) It's something similar, I'm sure.
Lesane
02-13-2002, 03:01 PM
If that dont works then u could look at the code that Firefly posted:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=31938 ;)
mondaynightmike
02-13-2002, 03:07 PM
Thanks for the help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.