Somewhere back in the midsts of time we created some non-vbulletin pages that utilised the vb login system by adding this to the pages.
Code:
require ("global.php");
(We then use the info from $vbulletin->userinfo; ourselves).
Later we found we need to add
Code:
$vbulletin->session->save();
in order to get the time and location of the user's activity on the non-vb pages into the session table so that we can show it in the who's online page.
However we've now noticed that though session.useractivity is set correctly, user.useractivity is never updated by the non-vb pages so the user profile pages don't show activity correctly. Could someone let us know if there is a function we can call to update this too? (Obviously we can update the database variable directly but I'd prefer to stay as close to the vb code as possible.)
thanks
kirsty