Check out the SMF Function DB!
Started by LunyMarcus, July 29, 2007, 11:30:43 PM
Quote from: groundup on July 30, 2007, 11:51:09 PMThere is no login history. It stores the last time you were logged in and it isn't really accurate.
// If it was *at least* five hours ago...
if (SMF != 'SSI' && !isset($_REQUEST['xml']) && (!isset($_REQUEST['action']) || $_REQUEST['action'] != '.xml') && empty($_SESSION['ID_MSG_LAST_VISIT']) && (empty($modSettings['cache_enable']) || ($_SESSION['ID_MSG_LAST_VISIT'] = cache_get_data('user_last_visit-' . $ID_MEMBER, 5 * 3600)) === null))