[]Coy,
Try this it works as I am using this on my site
if ($forcats) {
$forcats = "AND cat = '$forcats'";
}
Then as far as the most version of this hack. You forgot the first step!

Your right though Michael's hack has this left out. I had to tweak a few things. There is a query you have to add to ubbthreads.php Check the hack and install the part in that file for the stats to show.
[/]
Omegatron.... my fix doesn't work if you want to list more than one category like this:
$forcats = "511,507,522";
Modify the code like this:
if ($forcats) {
$forcats = "AND cat in ($forcats)";
}
That will allow for multiple categories to be included.

Coy's problem was that she was listing the main categories... which had no photos.... you have to list the category number of the subcategory which actually has the photos.
