PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 20th, 2007, 07:05 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2007
Location: Cairns, Qld, Austral
Posts: 85
Question How to hide private album photos from Featured Photo list

I have the PhotoPost Feature plugin and am displaying the latest photos on it instead of Featured.
How can I set it so it doesn't display photos posted into private albums?

Thanks heaps.
Belgrael is offline   Reply With Quote
Old July 26th, 2007, 02:53 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: May 2007
Location: Cairns, Qld, Austral
Posts: 85
Code:
Content visible to verified customers only.
Belgrael is offline   Reply With Quote
Old July 26th, 2007, 11:46 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 26th, 2007, 03:47 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: May 2007
Location: Cairns, Qld, Austral
Posts: 85
Quote:
Originally Posted by Chuck S View Post
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.
Belgrael is offline   Reply With Quote
Old July 26th, 2007, 04:26 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
That block inc_features.php in our download does not show album photos so I would suggest this is the block you have installed

http://www.photopost.com/forum/showp...06&postcount=1
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 26th, 2007, 04:36 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: May 2007
Location: Cairns, Qld, Austral
Posts: 85
That is correct. I installed the mod and it seems to be showing private album photos.

Is anyone able to help me modify the sql query to exclude these photos from the block on the forum index?

Thanks.
Belgrael is offline   Reply With Quote
Old July 26th, 2007, 04:53 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Your block is not correct. Our file has the query as this

You can see your file is not the default one released in our code maybe you have old files.
Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 26th, 2007, 07:16 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: May 2007
Location: Cairns, Qld, Austral
Posts: 85
Yes, you are correct. The code was modified using someone's suggestion in this forum so as to show photos in Personal Albums.
My issue now though, is that photos in "Private" albums are also showing. How can I turn this off but still allow Members Personal Album photos to show?
Belgrael is offline   Reply With Quote
Old July 26th, 2007, 08:56 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
My suggest would be to use the default code. If you would like to discuss code modification you could do so in the mod corner forums
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image from private album show up in random photos(NOT A BUG) dumoulin Photopost Pro Bug Reports 3 December 19th, 2005 08:33 PM
Featured photo box. No photos prat Photopost Pro Installation & Upgrades 12 September 30th, 2005 05:13 PM
Code to list Private Album - new problem pengrus Photopost Pro Installation & Upgrades 31 March 11th, 2005 01:55 PM


All times are GMT -5. The time now is 05:30 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0