10
I hard coded a solution. I put this in the header file for my module (not the main XOOPS header)
$onlinehandler =& xoops_gethandler('online');
if ($onlinehandler)
{
if (is_object($xoopsUser)) {
$uid = $xoopsUser->getVar('uid');
$uname = $xoopsUser->getVar('uname');
$name = $xoopsUser->getVar('name');
} else {
$uid = 0;
$uname = '';
$name = '';
}
$onlinehandler->write($uid, $uname, time(), 12, $_SERVER['REMOTE_ADDR']);
}
visit my sites
http://www.cavsworld.com
http://www.cafeshopper.com
http://celebrity.cafeshopper.com
http://www.1sies.com