PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Configure specific categories for Featured Photos? (http://www.photopost.com/forum/photopost-pro-how-do-i/115475-configure-specific-categories-featured-photos.html)

thephonemall August 31st, 2005 11:06 AM

Configure specific categories for Featured Photos?
 
There are a bunch of images in lame categories displaying on featured photos I rather not have displayed. How can I change featured photos to display images in only certain categories.
I am sure I have to edit inc_features.php but I can not see where.
Thank you

Chuck S August 31st, 2005 11:35 AM

well your talking inc_features right you need to modify your query to something like this

AND p.cat != 500

to something like this

AND p.cat NOT IN (500,501,503,510,512)

replacing the numeric variables with the cats your not wanting to show

thephonemall August 31st, 2005 12:07 PM

worked thanks!

TL408 November 3rd, 2005 10:30 AM

Sorry for such a newbie questions, but which sections/lines do I need to change? Is it in (case "most_view"), (case "latest"), or (default)

Thanks
-Tuan

Code:

Content visible to verified customers only.

Chuck S November 3rd, 2005 06:02 PM

You would alter the query lines for everyone if you want or just the one you want to alter

Taner January 22nd, 2009 11:09 AM

How does that work for Photopost 6.2?

There is no line > AND p.cat != 500 <

Chuck S January 22nd, 2009 11:11 AM

AND p.cat NOT IN (500,501,503,510,512)

You can still add the and clause in the query yes this is an older thread but the basis is still the same.

Taner January 22nd, 2009 12:29 PM

worked perfect and chuck your help is always appreciated

cheers

Chuck S January 22nd, 2009 12:31 PM

Have a good day let us know if you need anything else.


All times are GMT -5. The time now is 11:35 PM.

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