If you want colored spider names (and I'm NOT supporting this part) here's what you do:
Find:
Code:
while ($spidername = current($spiderlist))
{
if ($spidername > 1) {
$loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")";
}
else
{
$loggedin['musername'] = trim(key($spiderlist));
}
$loggedin['userid'] = 0;
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
next($spiderlist);
}
Replace it with (for example):
Code:
while ($spidername = current($spiderlist))
{
switch($spidername)
{
case "Google": $spidername = "<span style='color:blue;'>$spidername</span>";
break;
case "Yahoo": $spidername = "<span style='color:red;'>$spidername</span>";
break;
}
if ($spidername > 1) {
$loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")";
}
else
{
$loggedin['musername'] = trim(key($spiderlist));
}
$loggedin['userid'] = 0;
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
next($spiderlist);
}
Of course, you will have to look at the exact spider names and decide what colors you want the spider to be. The code I posted is just a general idea of how to go about it.