Quote:
Originally Posted by ExplosiveGFX
I don't understand this:
PHP Code:
/ This query needs to be customized on a per site basis
$ac_sql = "SELECT * FROM ". TABLE_PREFIX ."thread where threadid between ".$startat." AND ".$endat." AND (views > 1000 OR replycount > 1000) AND visible = '1' ORDER by views DESC";
the
PHP Code:
"thread where threadid between"
Do I change this, or leave it like that? Hopefully I can get a response, you've replied to me in the past..
|
See the number 1000?
This number means VIEWS/REPLIES need to be MORE THAN 1000 to get into the list. This works for BIG forums, but may not work on a small forum. If you have a small board you can change the 1000 to 100, and scale it even smaller to include all threads.