 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
September 13th, 2011, 07:52 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Apr 2011 Location: South Africa
Posts: 66
| 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
Last edited by DirtRider; September 13th, 2011 at 08:46 AM.
|
| |
September 13th, 2011, 08:52 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
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.
|
| |
September 13th, 2011, 09:32 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Apr 2011 Location: South Africa
Posts: 66
|
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
|
| |
September 13th, 2011, 10:05 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
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.
|
| |
September 13th, 2011, 11:38 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Apr 2011 Location: South Africa
Posts: 66
|
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.
|
| |
September 13th, 2011, 11:44 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
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.
|
| |
September 13th, 2011, 01:31 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Apr 2011 Location: South Africa
Posts: 66
|
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
|
| |
September 13th, 2011, 01:52 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
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 = ''
|
| |
September 13th, 2011, 02:02 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Apr 2011 Location: South Africa
Posts: 66
|
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.
|
| |
September 13th, 2011, 02:43 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
well you can send me an admin login if you want me to take a peek through the contact us link.
|
| |
September 13th, 2011, 10:09 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Apr 2011 Location: South Africa
Posts: 66
|
Thanks I have sent the details off to you via that link
|
| |
September 14th, 2011, 08:36 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Not a problem
|
| |
September 14th, 2011, 08:52 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Apr 2011 Location: South Africa
Posts: 66
|
Thanks Chuck all sorted out now
|
| |
September 14th, 2011, 08:54 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
enjoy your day
|
| |
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.
|
| |
January 2nd, 2012, 06:45 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
check your site out
|
| |
January 2nd, 2012, 07:47 PM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2011
Posts: 6
|
Cool. Thanks Chuck. You rock!
|
| |
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()";
| |
| |
January 2nd, 2012, 10:18 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
what I did was something different so not sure why you altered what I did Code: Content visible to verified customers only.
|
| |
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:00 PM. | |