View Single Post
  #88  
Old 03-29-2010, 03:58 PM
 
Bearsnum34 Bearsnum34 is offline
 

Senior Member
  
Join Date: Jan 2010
Posts: 134
 

Default Re: IP Addresses in Users Online for all users

I tried to apply the code and I can still see the User online from the customers end. I don't want people to be able to see who or how many are online, is there something I am missing?

Many Thanks,

Quote:
Originally Posted by Yalokin
I also did not find exact code in postauth.php but edit my with lines of code that are missing and added if statement.

And it work.
I do not see any errors so I assume it implement it right.

Thank you again.

So part for my postauth.php now look like this (lines 78 to 97):
if (!empty($active_modules['Users_online'])) {

x_session_register("session_ip");


x_session_register("current_url_page");
x_session_register("current_date");
x_session_register("session_create_date");
$current_url_page = $php_url['url'].($php_url['query_string']?"?".$php_url['query_string']:"");
if (empty($session_create_date))
$session_create_date = time();
$current_date = time();
$session_ip = getenv('REMOTE_ADDR');

}

#
# Display
#
__________________
4.3.1
x-configurator
x-specialoffers
Reply With Quote