A bundle of features for the Spiders access. Hits tracking, complete listing for info, Specific usergroup for Spiders, etc
It's globally a merge with some small addons i wrote in the past, and as i did not want to release a ton of minimal tools that just fit together, i make a real bundle, 4 or 5 tools together, with activation and permissions settings when needed.
Settings:
Spiders List: a little spiders tracker for your forum. It's not tracking each page the engine is viewing, because this is pointless. Instead, It is listing the name of the spiders that visit your sites, the last date of a visit, the number of unique visits and the number of pages viewed. That information is not very important for the indexation of your site, but it helps to see why your site may be occupied or not. You can then take action if a crawler is visiting and still giving no result on search engines.
You can see it in action here: vbEnhancer.com - Crawlers List
Specific Usergroup for Spiders: i released this addon on vb.org long time ago, and it was copied in source, but this version is updated and have more flexibility. You simply have to choose the proper usergroup in the settings so when a spider/crawler visit your site, it is considered having some permissions... It's useful if you do not want to fill your robots.txt file with strange access blocks. This let you give access to crawlers for profiles but not visitors messages, etc...
Also remember to follow the TOS of the search engines you are registered to. Google until lately was blocking sites that were ghosting their content.
Display Spiders in WOL: and in any page showing "Currently Active Users" (showthread, forumdisplay, etc) ... That way, you see where these beasts are visiting
some other tools are to be decided to join in the bundle, i'll see later!
CRON JOB:
to make it easier on the server, there is a cronjob storing the hourly stats about the crawlers... Once the cronjob is done once (it's the cron named Hourly #1), the stats appear in the right place
update: may 1st, 10:50, a small change, the Crawlers listing will now update the spiders list in cache if the file changed, so you can update it when needed.
Revert $vbphrase[x_members_and_y_guests]
to
{1} members and {2} guests
go into template edits
go to template FORUMHOME
Find:
PHP Code:
$vbphrase[currently_active_users]: <a href="online.php">$totalonline</a> (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
Replace With:
PHP Code:
$vbphrase[currently_active_users]: <a href="online.php">$totalonline</a> (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests] and $nspiders Web Crawlers</phrase>)
Нагло позаимствовано у буржуев