Quote:
There is no "user.username as loginname" in it !
Check installation instruction and your original files to fix !
|
You are right

my board was heavily hacked. I didnt look back at the original file to check. Sorry

the installation files are updated.
Quote:
Originally Posted by Acido
I'm getting this error in the online.php script
Can you help ?
|
In online.php, replace the old part by this one:
PHP Code:
// HN - ProxyIP UserOnline - BEGIN
$allusers = $DB_site->query("
SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.proxyip, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
". iif($vboptions['WOLguests'], "
LEFT JOIN " . TABLE_PREFIX . "user AS user USING (userid) ", ", " . TABLE_PREFIX . "user AS user") ."
WHERE session.lastactivity > $datecut
". iif(!$vboptions['WOLguests'], " AND session.userid = user.userid", "") ."
ORDER BY $sqlsort $sortorder
");
// HN - ProxyIP UserOnline - END
Or you just need to add
session.proxyip, after
session.host, in the original online.php file