
02-07-2004, 07:40 PM
|
 |
|
|
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Kentaurus
Here is the first one. For people that already installed the hack and want to add how many users have seen the thread:
In the showthread.php file, this:
Code:
$+++++ad = @implode(", ",$+++++adarray);
Replace it with:
Code:
$+++++ad = @implode(", ",$+++++adarray);
$total+++++ad = @count($+++++adarray);
In the SHOWTHREAD template, this:
Code:
Users that have seen this thread:
Replace it with:
Code:
$total+++++ad users have seen this thread:
Guests are a little more difficult because it means storing ip addreses as well instead of userid's. I'l check if there is an easy way to do it.
Those +++ are the word w h o r e that even if its a substring it is still being censored (/me makes a note on not using variable names that might be censored).
TXT file updated
|
On guests, maybe just do a guest count?
|