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 September 13th, 2011, 07:52 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Location: South Africa
Posts: 73
Private Albums

I have created a private album but the members can still see the photos in the album preview strip at the top of the forum and only when they click on the image will it ask them for the password

So where am I going wrong with this setup
Attached Images
File Type: jpg Gallery01.jpg (50.8 KB, 6 views)
File Type: jpg Gallery02.jpg (23.7 KB, 4 views)
File Type: jpg Gallery03.jpg (39.9 KB, 5 views)

Last edited by DirtRider; September 13th, 2011 at 08:46 AM.
DirtRider is offline   Reply With Quote
Old September 13th, 2011, 08:52 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Okay I beleive your referring to the modification for vbulletin which is not part of the supported software you purchased from our company.

We can not provide support for code mods only the photopost software.

I would suppose you have altered your code mods because I am familiar with the code mod your talking about since I wrote it. The query for the forumhome photos block most definately has the proper formatting to not show password protected photos.

Code:
Content visible to verified customers only.
notice where it says if you look at your plugin code the part where it says that category password field must be empty.
__________________
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 September 13th, 2011, 09:32 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Location: South Africa
Posts: 73
Glad you wrote it lol. I never installed it you did as I paid for the install option when I purchased the software from you guys. I don't think I would have modified that code mod as I am not sure where to find it. So let me have a go at trying to fix it so what file should I be looking for to change it so it does not show the photo then
DirtRider is offline   Reply With Quote
Old September 13th, 2011, 10:05 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Make sure you look in your vb plugins under any photopost plugin you have that is on the forumhome location. Make sure the queries have after the ismature and clause you add the following so your query lines look like the line I posted

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 September 13th, 2011, 11:38 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Location: South Africa
Posts: 73
Chuck I am looking at this in my plugins Photopost Featured Photos on Forumhome and when I edit it I get this code but cannot find what you are talking about

Code:
Content visible to verified customers only.
DirtRider is offline   Reply With Quote
Old September 13th, 2011, 11:44 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
yes you could enter random on the qswitch line

As far as the query look at the WHERE clause simple replace your where clause with the one I have posted. Your using a very early version of that code mod.
__________________
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 September 13th, 2011, 01:31 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Location: South Africa
Posts: 73
No I am not really with you as I find a few WHERE in that code. Can I just not get the new code and replace this that I have. This was the mod that you installed so I have no idea how old it was at the time
DirtRider is offline   Reply With Quote
Old September 13th, 2011, 01:52 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
There are 3 where clauses in the $q_switch function which holds the 3 query cases. The where clause on every last case needs to be what I posted or alternatively modify the where clause and after the AND p.approved = 1 you would add AND c.password = ''
__________________
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 September 13th, 2011, 02:02 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Location: South Africa
Posts: 73
Chuck I am not a programer and this stuff is greek to me. I don't even know where the WHERE string starts or finishes. So I may as well just move on and leave it as it is. Thanks anyway for looking at it for me.
DirtRider is offline   Reply With Quote
Old September 13th, 2011, 02:43 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
well you can send me an admin login if you want me to take a peek through the contact us link.
__________________
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 September 13th, 2011, 10:09 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Location: South Africa
Posts: 73
Thanks I have sent the details off to you via that link
DirtRider is offline   Reply With Quote
Old September 14th, 2011, 08:36 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Not a problem
__________________
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 September 14th, 2011, 08:52 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Apr 2011
Location: South Africa
Posts: 73
Thanks Chuck all sorted out now
DirtRider is offline   Reply With Quote
Old September 14th, 2011, 08:54 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
enjoy your day
__________________
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 January 2nd, 2012, 06:14 PM   #15 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2011
Posts: 6
Hi Chuck. I am having the same issue with Private Galleries being seen on the VB4 Forum home page "Members Featured Photos" plugin.

I also paid to have you install and have not modified any templates since you installed it last Friday (December 30th)

Can you use the login info from that install to fix my issue? I stay out of modifying anything and cannot find the place the line is supposed to be placed.
titan90 is offline   Reply With Quote
Old January 2nd, 2012, 06:45 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
check your site out
__________________
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 January 2nd, 2012, 07:47 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2011
Posts: 6
Cool. Thanks Chuck. You rock!
titan90 is offline   Reply With Quote
Old January 2nd, 2012, 08:36 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2011
Posts: 6
I actually was able to follow the instructions above and add the 3 needed line to my "Photopost Featured Photos on Forumhome" vb plugin. The problem is pictures from my hidden gallery (sample_test) continue to appear on my gallery home "Most Recent · Most Popular · Random" sections.

I added the following as described above:
Quote:
switch ($q_switch)
{
case "most_view":
$query = "SELECT p.id,p.user,p.userid,p.cat,p.bigimage,p.title,c.catname,c.photos,c.posts
FROM {$pp_db_prefix}photos p
LEFT JOIN {$pp_db_prefix}categories c ON c.id = p.cat
WHERE p.storecat = 0 AND p.approved = 1 AND p.ismature = 0 AND c.password = ''
ORDER BY views DESC";
break;

case "latest":
$query = "SELECT p.id,p.user,p.userid,p.cat,p.bigimage,p.title,c.catname,c.photos,c.posts
FROM {$pp_db_prefix}photos p
LEFT JOIN {$pp_db_prefix}categories c ON c.id = p.cat
WHERE p.storecat = 0 AND p.approved = 1 AND p.ismature = 0 AND c.password = ''
ORDER BY date DESC";
break;

default:
$query = "SELECT p.id,p.user,p.userid,p.cat,p.bigimage,p.title,c.catname,c.photos,c.posts
FROM {$pp_db_prefix}photos p
LEFT JOIN {$pp_db_prefix}categories c ON c.id = p.cat
WHERE p.storecat = 0 AND p.approved = 1 AND p.ismature = 0 AND c.password = ''
ORDER BY RAND()";
titan90 is offline   Reply With Quote
Old January 2nd, 2012, 10:18 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
what I did was something different so not sure why you altered what I did

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 January 3rd, 2012, 07:58 AM   #20 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2011
Posts: 6
I reverted back to what you did. So all is well there.
You fixed the issue on the front page of the VB Forum Home - but the index page of the Gallery still shows what should be hidden photos in the "Most Recent · Most Popular · Random" sections.

I was trying to figure out how to hide the photos on the gallery index page if you select to show a "Most Recent · Most Popular · Random" sections.
titan90 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
bug with private albums tsakalos76 Photopost Pro Bug Reports 3 July 26th, 2008 02:02 PM
Sorting Private Albums in the Admin Manage Albums screen paprman Photopost Pro How Do I...? 1 January 3rd, 2008 03:27 PM
private albums vivpuri Photopost Pro Installation & Upgrades 1 October 24th, 2005 11:04 PM
Want easier access to private albums Netwit Photopost Pro How Do I...? 0 May 28th, 2005 10:46 AM


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

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