Been digging thru the smf code and cant find it. Where is the code for login history? I'd like to add it to my website for users that dont goto the forum. And yes for ppl that have login forever set, it recognizes them on the website thru ssi.
There is no login history. It stores the last time you were logged in and it isn't really accurate.
Quote from: groundup on July 30, 2007, 11:51:09 PM
There is no login history. It stores the last time you were logged in and it isn't really accurate.
Yeah, but where is that code? So I can add it to my website. Cause alot ppl just goto the website and see no new post or new messages, so they never go into the actual forum.
I think it is Load.php
// If it was *at least* five hours ago...
I c y it isnt working from the website.
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))
Would it hurt to remove this condition --> SMF != 'SSI' ???