Any ideas what I should change to only allow Administrators to view ANY part of the IP?
Thanks
Cody
Cody Guest
Posted:
Mon Jun 09, 2003 3:23 pm
Oops, that was supposed to be a reply to my earlier post. I am attempting to make it to where only Administrators can view part of the IP, regular users can not.
Sorry--
Cody
Cody Guest
Posted:
Mon Jun 09, 2003 3:40 pm
I have removed the following code:
Code:
while ($session = $db->sql_fetchrow($result)) {
if (isset($session["guest"]) and $session["guest"] == 1) {
if ($i < 10) {
$gwho_online_now .= "0$i:&".convertIP($session[uname])."<br>\n";
} else {
$gwho_online_now .= "$i:&".convertIP($session[uname])."<br>\n";
}
$gwho_online_now .= ($i != $gmember_online_num ? " " : "");
$i++;
}
}
This is had made to where NO ONE can see any IPs on the homepage; however, how can I make it to where the administrator still sees IPs?
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum