** UNTESTED **
In global.php
FIND
PHP Code:
define('VB_AREA', 'Forum');
BELOW that ADD
PHP Code:
if (!is_array($specialtemplates))
{
$specialtemplates = array('wol_spiders');
}
else
{
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}
FIND
PHP Code:
$styleid = intval($styleid);
BELOW that ADD
PHP Code:
$spiderstring = $datastore['wol_spiders']['spiderstring'];
if (preg_match("#($spiderstring)#si", strtolower($session['useragent'])))
{
$styleid = X;
}
To test if this does work you must change your useragent.
Please note that X must be replaced with the style ID you want to assign.