Quote:
Originally posted by Buddha
"Total reviews: XX"
where XX is the total of all of the forums within that category.
|
Add near the top where the posts info is:
PHP Code:
$reviews = $DB_site->query_first("SELECT COUNT(*) AS totalreviews FROM thread WHERE forumid=X");
and add $reviews[totalreviews] in your template where you want it to appear, remember to chane X to the forumid that the reviews are in. If they are in multiple forums add AND forumid=X to the end for each extra forum.