Jock3r Posted April 4, 2020 Share Posted April 4, 2020 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 More sharing options...
Jock3r Posted May 9, 2020 Author Share Posted May 9, 2020 (edited) Bump Edited May 9, 2020 by Jock3r Link to comment Share on other sites More sharing options...
Miss_B Posted May 9, 2020 Share Posted May 9, 2020 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 More sharing options...
Jock3r Posted May 9, 2020 Author Share Posted May 9, 2020 That did not work unfortunately. @Miss_B Link to comment Share on other sites More sharing options...
Steve Bullman Posted May 10, 2020 Share Posted May 10, 2020 16 hours ago, Jock3r said: That did not work unfortunately. @Miss_B I did this ages ago, if I remmeber correct something had to be changed at server level Link to comment Share on other sites More sharing options...
Jock3r Posted May 10, 2020 Author Share Posted May 10, 2020 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 More sharing options...
Recommended Posts