Jump to content

Recommended Posts

Posted

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

  • 1 month later...
Posted
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.

Posted
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

  • Recently Browsing   0 members

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