Phoca Gallery Slideshow Plugin does not take into account state of the element (category/image -> published/unpublished) and shows even unpublished images from unpublished categories. I think, that the query (lines 67-71) should be changed from:
Code: Select all
$query = ' SELECT a.filename'
. ' FROM #__phocagallery_categories AS cc'
. ' LEFT JOIN #__phocagallery AS a ON a.catid = cc.id'
.' WHERE a.catid = ' . (int)$id;
Code: Select all
$query = ' SELECT a.filename'
. ' FROM #__phocagallery_categories AS cc'
. ' LEFT JOIN #__phocagallery AS a ON a.catid = cc.id'
. ' WHERE cc.published = 1 AND a.published = 1 AND a.catid = ' . (int)$id;
Łukasz