Spider Display
Version 1.0.1
(By Boofo & Andreas)

What does this product do?
This Hack displays the Number of Spiders on Forumhome and Who is Online.

Version Information:
Version 1.0.1 --Initial release for vBulletin 3.7.0 beta 5

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.0 beta 5.

Installation overview:
----------------------------
Products to install: (1)
Template edits: (2)
File Edits: (See the NOTE below)

Installation Instructions:
----------------------------
Go to your AdminCP
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: This 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.

----------------------------
File edits: 1
-------------------------------------------------------------
In the includes/config.php file add this at the bottom:
-------------------------------------------------------------

if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}

----------------------------
Template edits: 2
----------------------------
FORUMHOME

FIND:
----------------------------

<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]

----------------------------
REPLACE it with:
----------------------------

<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_y_guests_and_z_spiders]

----------------------------
WHOSONLINE

FIND:
----------------------------

<phrase 1="$numbervisible" 2="$numberguests">$vbphrase[x_members_and_y_guests]

----------------------------
REPLACE it with:
----------------------------

<phrase 1="$numbervisible" 2="$numberguests" 3="$numberspiders">$vbphrase[x_members_y_guests_and_z_spiders]

----------------------------
Done!
Enjoy!
