
11-02-2002, 05:08 AM
|
|
|
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
[QUOTE] Originally posted by fastforward
easypeasy 
In online.php : Change the 'default' block of the CASE statement on or around line 626 to look like this:
Code:
default:
if (preg_match ("/t([0-9]+)\.html/", $filename, $match)) {
$userinfo[threadid] = $match[1];
$userinfo[activity] = 'showthread';
$threadids .= ",$userinfo[threadid]";
} elseif (preg_match ("/f([0-9]+)/", $filename, $match)) {
$forumid = $match[1];
$forumids .= ",$forumid";
$userinfo[activity] = 'forumdisplay';
$userinfo[forumid] = $forumid;
} elseif (preg_match ("/robots\.txt/", $filename)) {
$userinfo[activity] = 'spider';
} else {
$userinfo[activity] = 'unknown';
}
}
|