Jump to content

Who's Online Widget


Jock3r

Recommended Posts

Hello,

Is there any way to make the Who's Online Widget display users for a longer time? I have checked out the ones on marketplace but they lack the guests and anonymous counts which I would like those to be shown as well

Link to comment
Share on other sites

  • 1 month later...
6 hours ago, Jock3r said:

Bump

Are you ok with editing files? Navigate to yourforum/System/Session/Store folder and open the Database.php file. There find this code:

array( 's.running_time>?', \IPS\DateTime::create()->sub( new \DateInterval( 'PT30M' ) )->getTimeStamp() ),

array( 'core_sessions.running_time>' . \IPS\DateTime::create()->sub( new \DateInterval( 'PT30M' ) )->getTimeStamp() ),

And change 30, which is the number of minutes for the online session time. I have not tested this, but I think that it shoud work. Hope it helps.

Link to comment
Share on other sites

5 hours ago, Steve Bullman said:

I did this ages ago, if I remmeber correct something had to be changed at server level

As far as I know online list depends on php's session time, which I changed to 60 minutes as well, but not entirely sure regarding the timing on whos Online widget

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...