Jake Bunce
Well-known member

Edit this file:
library/XenForo/ControllerPublic/Online.php
Add the red code (don't forget the comma on the far right):
Rich (BB code):
$conditions = array(
'cutOff' => array('>', $sessionModel->getOnlineStatusTimeout()),
'getInvisible' => $bypassUserPrivacy,
'getUnconfirmed' => $bypassUserPrivacy,
// allow force including of self, even if invisible
'forceInclude' => ($bypassUserPrivacy ? false : XenForo_Visitor::getUserId()),
'userLimit' => 'registered'
);
$onlineUsers = $sessionModel->getSessionActivityRecords($conditions, array(
'perPage' => $userPerPage,
'page' => $page,
'join' => XenForo_Model_Session::FETCH_USER,
'order' => 'view_date'
));