View Full Version : inc_features shows hiden photos
September 10th, 2009, 03:44 PM
inc_features shows hiden photos how can that be stoped?
September 10th, 2009, 03:52 PM
Try to simply alter the queries in the inc_features.php file like so adding the code in bold where noted.
WHERE c.cattype = 'c' AND p.storecat = 0 AND p.approved = 1
September 10th, 2009, 04:06 PM
It works :)
But I see the same problem is with the Latest photos Block and Comshow.php
Forsíđa - Geirinn.is - Galleri (http://www.geirinn.is/galleri)
I have hiden the black and white drawings
September 10th, 2009, 04:15 PM
1. latest photo block where? Not on our index page for sure because that only shows photos where approved=1
2. well comshow is about comments it does not care on bit whether photos are hidden or not as it deals with comments. If a user hits a link to view the actual photo they are given the correct permission message
September 10th, 2009, 04:25 PM
I see that now My Recent Photos has ben updated or somthing was stuck in the cache.
Is it hard to change comshow to hide photos?
Maby just add it to the pmysql_query or?
September 10th, 2009, 04:39 PM
You can change whatever queries in comshow to suit your needs sure.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.