![]() |
thumbnail of private albums get displayed in the featured gallery hi, i am running the latest 4.8.6 with vbulletin 3.0.6 integration. everything works fine except when i create a private albums, upload images into the album. everybody is still able to view these images from the Featured Categories. Thanks |
Featured categories!! You mean features images on VB main index? I would think this is quite impossible since the query has this WHERE c.cattype = 'c' AND p.cat != 500 AND p.storecat = 0 A personal album has a cattype of a so those images are not shown on the index or the featured photo blocks. I am am offbase on where your talking about let me know ;) |
hi there, yes, the featured categories on the vbulletin forum main index and also the random images section. if you look at my forum at http://www.akupercaya.com/forum the small girl picture is actually inside a private album ... but it is still get displayed on the featured category. thanks |
Well thats not a personal album though ;) Thats a password protected category and it is not displayed on your random images that I see. You can alter the inc_features.php line WHERE c.cattype = 'c' AND p.cat != 500 AND p.storecat = 0 to this WHERE c.cattype = 'c' AND c.password = '' AND p.cat != 500 AND p.storecat = 0 |
hi i found where the problem is. vbulletin integration will use inc_photopost.php inside inc_photopost.php the sql query will retrieve anything from photos tables without checking for private album. you may also want to correct on the case statement ... you have it as case lastest should it be latest? |
your using a hack if your photos are pulled from inc_photopost.php The supported file is inc_features.php which pulls the photos into a featured block on vb main index. |
| All times are GMT -5. The time now is 08:34 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0