Quote:
Originally Posted by Qwest
Everyone I found out how to make the posts not count towards your total board post counts.
Note: this hack is totally the work of Wayne Luke. I'm just copy/pasting
Quote:
Quote:
Originally Posted by Wayne Luke
Should be easy...
Add a smallint field on the database record such as "is_usenet" and set it to '1' for the forums that are.
Then in index.php find the following code (it is near the bottom):
PHP Code:
if (is_array($forumcache))
{
foreach ($forumcache AS $forum)
{
$totalthreads += $forum['threadcount'];
$totalposts += $forum['replycount'];
}
}
And change it to:
PHP Code:
if (is_array($forumcache))
{
foreach ($forumcache AS $forum)
{
if (!$forum['is_usenet']) {
$totalthreads += $forum['threadcount'];
$totalposts += $forum['replycount'];
}
}
}
|
My only addition is that you have to go into your AdminCP and update post counts for the changes to take affect. Try running gateway.php as well.
|
i found the solution in this HUGE thread finally
But now, need to know a little more details on implemeting the same ?
How do i proceed, what field needs to be added into db which table ? how to add forums id there etc. etc
Looking for help
Regards,