Version: 1.0.4, by Boofo
Developer Last Online: Jun 2012
Category: Miscellaneous Hacks -
Version: 3.7.x
Rating:
Released: 02-23-2008
Last Update: 03-12-2008
Installs: 265
Uses Plugins Template Edits
No support by the author.
Spider Display
Version 1.0.4
(By Boofo)
What does this product do?
This Hack displays the Number of Spiders on Forumhome and Who is Online.
If you are using a previous version of this mod, make sure to replace the default vBulletin template lines back into the templates and they are now automatically edited.
Version Information:
Version 1.0.1 --Initial release for vBulletin 3.7
Version 1.0.2 --Fixed MySQL error.
Version 1.0.3 --Fixed the leading comma issue when there were no members online.
Version 1.0.4 --Template edits now done automatically. No more manual template edits.
Credits:
A big thank you goes out to Andreas for coming up with the original code for this for 3.5.4. It now works in 3.7.
Installation overview:
Products to install: (1)
File Edits: (See the NOTE below)
Installation Instructions:
1. Upload spiders_vbulletin.xml to the includes/xml directory on your site.
2. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-spiderdisplay.xml file on your computer
Done!
Enjoy!
NOTE: There is one file edit that I have not found a way to get around yet. It is a special template cache that must be used with this. The easiest way to do it is add the file edit to the includes/config.php. Since this file does not change as often, you should be fine on most upgrades. This is the ONLY file edit.
NOTE: If you do not click install, you do not need support.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Just make sure to stay up to date on the spiders xml from Dream on the com. He is adding spiders to the xml as they are reported.
@ Vinyljunky - Some Live Search Spiders do report the UA and some don't. If they report it in the UA, it will get added to the spiders xml, once it has been reported.
So there is no need to manually edit the File edits: 1
Code:
-------------------------------------------------------------
In the includes/config.php file add this at the bottom:
-------------------------------------------------------------
if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}
I said "no more template edits". Please re-read the first post. Until vb comes up with a way to do datastore special templates edits, there is no other way, I'm afraid. The config.php file doesn't change that often in upgrades so it ti a good spot for it.
I would put it right above that box at the bottom.