Thanx for this mod. But I have a problem wich you have talked about before. When I insert
Code:
" . ($killspiders ? " AND " . TABLE_PREFIX . "session.spider = -1 " : null) . "
in the onlineusers.php I get this fault:
Quote:
Database error in vBulletin 3.6.5:
Invalid SQL:
SELECT session.userid, username, usergroupid, (user.options & 512) AS invisible, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM vb_session AS session
LEFT JOIN vb_user AS user USING (userid)
WHERE session.lastactivity > 1185130825
AND vb_session.spider = -1
ORDER BY invisible ASC, username ASC;
MySQL Error : Unknown table 'vb_session' in where clause
Error Number : 1109
Date : Sunday, July 22nd 2007 @ 09:30:25 PM
Script : http://www.nettkafeen.no/forums/portal.php
Referrer : http://www.nettkafeen.no/forums/index.php
IP Address : 81.167.190.76
Username : Mr.Man
Classname : vb_database
|
and the
vb_session table exist.