Version: 1.00, by amykhar
Developer Last Online: Nov 2013
Version: 3.0.6
Rating:
Released: 02-07-2005
Last Update: 03-19-2005
Installs: 119
No support by the author.
This one is a pretty easy hack to install. It shows any spiders that are indexing your site in the what's going on box on the forum home page. Please note. It will only show spiders as spiders and not as guests if it also shows them as spiders and not as guests on online.php.
This hack has been tested on 3.0.6 and 3.0.7.
It's not hard to install, but it does have one drawback. If you have a portal page that shows online users, you will have to edit it yourself to incorporate the changes. Consider yourself warned.
At this point, any problems reported are installation errors. If things don't work for you, make sure you have completed all the steps as written.
As I have upgraded to 3.5, I am withdrawing support for this older version. All the bugs are gone and any issues are now installation errors.
FAQ 1. I get this: [ARG:3 UNDEFINED] spiders on my portal page.
As noted above, because of the large number of portals, you're on your own for integrating them into thie hack.
2. I get this: [ARG:3 UNDEFINED] spiders on other pages.
1. Make sure you have done all of the code changes correctly.
2. Make sure you have updated your style to use the modified templates. If not, that error will occor.
-------------
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Does this only work with 3.0.6? I'm running base 3.0.3 init.php patched to 0.5 as I've got a load of hacks installed and so am putting off upgrading. I've installed as per the instructions but no change, so have I answered my own question?
It works with 3.0.6, but I assume it would work with 3.0.3 as well. Try it and see. It's only one file to edit.
I'll be the third to concur, I'll install with the added features... Great Hack!
OK. Now that we have three requests I'll try to do the variation. But, I'm not promising that I can do it so that it shows Google(3) for example. I know I can get the total number of spiders, but I am trying to think of a clean efficient way to sum up the different ones online rather than just showing them as being there like the online.php page does.
I've got it installed - it shows in the Who's Online section that it's a bot, but on the Currently active users on the front page shows x users and x guests with only the member names. Must be a 3.0.3 thing.
Invalid SQL:
SELECT DISTINCT user.username, session.useragent,user.userid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM session AS session
LEFT JOIN user AS user USING (userid)
WHERE session.lastactivity >
ORDER BY session.userid
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY session.userid' at line 7
Invalid SQL:
SELECT DISTINCT user.username, session.useragent,user.userid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM session AS session
LEFT JOIN user AS user USING (userid)
WHERE session.lastactivity >
ORDER BY session.userid
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY session.userid' at line 7