PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   thumbnail of private albums get displayed in the featured gallery (http://www.photopost.com/forum/photopost-pro-installation-upgrades/112150-thumbnail-private-albums-get-displayed-featured-gallery.html)

swijaya0101 February 12th, 2005 05:21 AM

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

Chuck S February 12th, 2005 06:29 PM

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 ;)

swijaya0101 February 13th, 2005 02:59 AM

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

Chuck S February 13th, 2005 09:56 AM

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

swijaya0101 February 13th, 2005 12:42 PM

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?

Chuck S February 13th, 2005 03:31 PM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97