Quote:
Originally Posted by BWJ
Admin categories will be fine. I don't mind a manual edit. Optrex - thank you for looking into this... :up: It would really be great if you are able to do it.
|
Here is the edit to list by a category
in the variables add the line
$category = x; //where x is the category id number found in your AdminCP
in line 35, find:
Code:
$query = "SELECT {$prefix}blog.blogid,
and AFTER add:
Code:
{$prefix}blog.categories,
then in line 38 find
Code:
AND {$prefix}blog_text.state = 'visible'
and REPLACE with:
Code:
AND {$prefix}blog_text.state = 'visible' AND {$prefix}blog.categories = '{$category}'
This should result in only comments from the category selected being displayed. Please let me know how you get on.