Quote:
Originally Posted by Chuck S Your talking about the forum photo block? That does not show album photos
As far as Photo blocks in the photo page only photos someone has permission to view will be shown to them |
Hey, sorry for not being clearer.
I have the PhotoPost Feature mod installed to display a photo block on my forum index.php.
I set it to show "latest" but want to restrict the result set to exclude photos in private albums.
The code in the inc_features.php file is here:
Code:
Content visible to verified customers only.
I would like to know how to modify the sql statement so that private albums are not included. I know the Categories table has the field "private" and it can be set to "yes" or "no" but am not sure how to set this parameter in the sql query.
I have tested this and uploaded to a private album and I can see the photo appear in the photo block on the index. I have logged out of the forums and can still see it there.
Thanks in advance. I really need to fix this. Hopefully someone can help.