Author Topic: Who's Online - Setting Time length <?>  (Read 3418 times)

0 Members and 1 Guest are viewing this topic.

Offline danceScape

  • Pre-Newbie
  • Posts: 5
  • Shall we dance?
    • View Profile
    • danceScape.com
Who's Online - Setting Time length <?>
« on: September 07, 2009, 02:19:55 PM »
Hello,
Is there any documentation as to how we would go about modifyiing the timeframe for the "Who's Online" setting?

For example, we weren't sure what is the time frame it is defaulting at, and if we want to track people coming in over the past 30 minutes, where do we edit this?

Thanks for any tips.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Who's Online - Setting Time length <?>
« Reply #1 on: September 07, 2009, 10:45:40 PM »
in includes/sessions.php find:
  $time_out time() - 300;

replace with:
  $time_out time() - 1800;


30*60=1800
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline danceScape

  • Pre-Newbie
  • Posts: 5
  • Shall we dance?
    • View Profile
    • danceScape.com
Re: Who's Online - Setting Time length <?>
« Reply #2 on: September 08, 2009, 02:49:02 AM »
Thank you, it worked!   :D