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 March 31st, 2006, 08:10 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
Question INC_FEATURES is not working correct!

with option LATEST it shows images in the galleries but it dont shows images in the members galleries. but of course it should do this ...

i guess i have to change this line of code in the inc_features.php:

WHERE c.cattype = 'c' AND p.cat != 500 AND p.storecat = 0

but how?
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 08:17 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
It should not show members galleries it only shows categories photos at least thats how it was coded and has always been coded.

You would remove this

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 online now   Reply With Quote
Old March 31st, 2006, 09:20 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
sorry, it didnt work.

i try:

Code:
Content visible to verified customers only.
this seems to work. what do the fields mean: c.cattype, p.cat, p.storecat ???

will the photos from private albums appear now too?
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 09:39 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
now i know whats wrong:

in case the photo is in a public gallery and in a members gallery
- inc_features.php works fine.

in case the photo is in a public gallery and in a personal album of a member
- inc_features.php is not working correct.

you can check it here:


1.
on startpage of the gallery www.gomeraforum.de/galerie the latest photos where shown ("neueste fotos") = correct

2.
in the gallery "La Gomera" http://www.gomeraforum.de/galerie/sh...ry.php/cat/507 the latest photos are NOT correct, the photos stored in a personal album of a user are NOT shown here = not correct . you can see the newer photos below.

3.
same here: startpage with vbadvanced www.gomeraforum.de the fotoblock with inc_features.php is not working. same as 2) the newest photos are not shown if they are stored in a personal album...

how to fix this?
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 10:02 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I have already stated the file works fine for how it is suppose to work

It is designed to only show files that are uploaded to a category and not the members gallery which is cat 500

If you want to show files in the members gallery you can make the edit I noted.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 31st, 2006, 10:08 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
Quote:
Originally Posted by sonnenfreund
now i know whats wrong:

in case the photo is in a public gallery and in a members gallery
- inc_features.php works fine.

in case the photo is in a public gallery and in a personal album of a member
- inc_features.php is not working correct.

you can check it here:


1.
on startpage of the gallery www.gomeraforum.de/galerie the latest photos where shown ("neueste fotos") = correct

2.
in the gallery "La Gomera" http://www.gomeraforum.de/galerie/sh...ry.php/cat/507 the latest photos are NOT correct, the photos stored in a personal album of a user are NOT shown here = not correct . you can see the newer photos below.

3.
same here: startpage with vbadvanced www.gomeraforum.de the fotoblock with inc_features.php is not working. same as 2) the newest photos are not shown if they are stored in a personal album...

how to fix this?
chuck, i dont understand it sorry.

sometimes the latest photos are shown in the personal albums (see 1.)and sometimes not (see 2.+3.).

it should be possible to have it the same way everytime or not?
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 10:12 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Exactly the photo block is not written to show personal album photos or members gallery Photos

It is written to show photos in regular categories

try removing this

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 online now   Reply With Quote
Old March 31st, 2006, 10:24 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
Quote:
Originally Posted by Chuck S
Exactly the photo block is not written to show personal album photos or members gallery Photos

It is written to show photos in regular categories

try removing this

Code:
Content visible to verified customers only.
i dont want to show photos in personal albums.

try to make it more understandable:

the problem is if the photos are in a personal album AND in a public gallery they are not shown in the LATEST block.

if they are in a member gallery (not album!) and in a public gallery they are shown correctly...

i only want the inc_features LATEST tool to show ALL photos in the public galleries, no matter if they are also in a members gallery or in a members album...

Last edited by sonnenfreund; March 31st, 2006 at 10:33 AM.
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 11:09 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I have given you two edits to make you decide which way you want to go. We support our code as it is written but I assist if its an easy answer.

You decide what part to remove based on what you want. Your understanding of what you want to do has changed 3 times now. Try removing only this and see if this is what you want other than this not much more I can say. Post 7 has both variables that determine why members gallery and personal album photos are not shown.

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 online now   Reply With Quote
Old March 31st, 2006, 11:25 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
Quote:
Originally Posted by Chuck S
Your understanding of what you want to do has changed 3 times now.
yes, thats because i had to find out what exactly happend in pp.

i thought that a function which shows the latest photos is always working the same way - dosnt matter where i use it. but in pp it is not like this!

to make it absolutly clear:

i want ALL photos in the public galleries shown in a latest photoblock. and if i click on a photo i want this photo shown in his public gallery where its stored.

this is all working well if a photo is in a public gallery and NOT in a personal album. but when its stored in a public gallery AND in a personal album the same function ist not working correctly. this is the only problem.

i used your last hint
Code:
Content visible to verified customers only.
the newest photos are shown, but when i click on a photo i am not in the public gallery where this photo is but in the personal album.

sorry, i am still surprised that this is not working ... and hope that its possible to fix it!
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 11:47 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
here you can see that the latest function is not working correct:

http://www.gomeraforum.de/galerie/sh...ry.php/cat/507

the newer photos in the gallery are not shown in the photoblock with the latest photos.

that is the problem ...

Last edited by sonnenfreund; March 31st, 2006 at 12:19 PM.
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 02:05 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
It works fine from what I see on your site the same photos your showing me in that cat appear on the main portal page.

You wanted to include personal album photos in the forum photo block and I told you how.

We support the software as it is written. I have given you three variations where you can modify that files query to do different things. The forum latest photos is not the same as photopost's latest since there are alot more permissions aspects that get done in photopost when viewing photos. The forum photos you can not compare to the blocks in Photopost which you are doing.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 31st, 2006, 07:54 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
the newest photos of the gallery "La Gomera" ar NOT shown in the LATEST block of that page. its not working like it should, sorry.

from the 21 images in that gallery ar 13 newer than the ones shown in the latestblock!!

that means that 7 of the 8 photos in the latestblock of that gallery are OLDER then the others...

this is an error or not? this way the latestphoto block is not useful. people surfing on my gallery would thing this is crazy or not?
sonnenfreund is offline   Reply With Quote
Old March 31st, 2006, 08:50 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Well As I have twice stated in previous posts it is working as it should and is not an error. You can not compare the block on the forum to the one on the gallery. They are different queries that do different things even though there are similar cases being called which are basically sorts.

That forum photo block is coded a specific way. It is coded to not pull personal album or members gallery photos. It only pulls photos from categories.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 1st, 2006, 02:43 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
Quote:
Originally Posted by Chuck S
That forum photo block is coded a specific way. It is coded to not pull personal album or members gallery photos. It only pulls photos from categories.
yes, its NOT working. i dont understand you.

please check the link above. this is not the inc_features block, its inside a normal pp public gallery. this is not a the inc_features problem, i am talking about pp itself.

and it DONT pulls photos from categories!!

the photos are there and not shown. it is not working like i tried to describe you.

its looks like you do not want to realize that this is a bug or you do not want to check it, sorry. hopefully i am wrong.

please check it (like described in #13) and you can easy see in 5 seconds that i am right and this is a bug.

its totaly clear and easy to see ... and it should be possible to fix it with a change in a query or whatever.

Last edited by sonnenfreund; April 1st, 2006 at 02:53 AM.
sonnenfreund is offline   Reply With Quote
Old April 1st, 2006, 06:33 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I am sorry you do not understand what I have said but this is not a bug in our program!

Let's see if we can make this clear to you.

The Forum Photo Block is an EXTERNAL photo block written for the vbulletin forum to display photos from categories ONLY by 3 select cases. It will not show member's gallery or personal album photos. You can not explicitly compare this external photo block to the programs display_gallery function which is different.

Now as far as newest photos in the program

http://www.gomeraforum.de/galerie/sh...ry.php/cat/507

There are no issues here it shows the latest photos based on permissions set in your edit categories usergroups permission. Example me not being able to be logged in I only have permission to see one image out of those 13 so thats what appears in the block

THIS IS NOT A BUG.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 1st, 2006, 09:12 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
Quote:
The Forum Photo Block is an EXTERNAL photo block written for the vbulletin forum to display photos from categories
chuck, thats clear to me now. we are not talking about this external block now.

sorry its not so easy to find out what happens inside pp when you didnt programmed it, but now after this thread i have a good overview ...

Quote:
Originally Posted by Chuck S
...shows the latest photos based on permissions set in your edit categories usergroups permission...
its the same logged in as admin. thats what i dont understand.

i am not able to see the newest photos as an admin too in a gallery:

http://www.gomeraforum.de/galerie/sh...ry.php/cat/507

if there would be a problem with permissions, where to edit them? but as an admin i should have any permission ...

i can give you an account as registered user to check it out by yourself. but the effect is exactly the same dosnt matter if you are guest, reguser or admin ...

what i found out is this: its ok when the photo is uploaded directly into that gallery. thats working. but if you upload a photo into a different gallery and copy it optional into another gallery the result is this: in the main gallery you can see it in the "newer photos" and in the other galleries not!

in http://www.gomeraforum.de/galerie/sh...ry.php/cat/507 the "newer photos" are wrong but for example in http://www.gomeraforum.de/galerie/sh...ry.php/cat/508 its ok. this photo in 508 are directly uploaded into that gallery. in 507 its uploaded into more than one gallery...

Last edited by sonnenfreund; April 1st, 2006 at 09:20 AM.
sonnenfreund is offline   Reply With Quote
Old April 1st, 2006, 09:24 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Thats easy.

Code:
Content visible to verified customers only.
Again working as designed. The images except that one that shows are NOT UPLOADED TO CAT 507

Example look at the data path to one of your images in that cat

Code:
Content visible to verified customers only.
Therefore your not going to see images directly uploaded to the category 507 so this is working fine.

Our optional category feature enables a photo to be shown in multiple categories but the image itself is only uploaded to one category. Therefore all our photo blocks only pull photos where storecat = 0.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; April 1st, 2006 at 09:26 AM.
Chuck S is online now   Reply With Quote
Old April 1st, 2006, 09:50 AM   #19 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Location: Germany & Spain
Posts: 46
Quote:
Originally Posted by Chuck S
Thats easy.

Code:
Content visible to verified customers only.
Again working as designed. The images except that one that shows are NOT UPLOADED TO CAT 507

Example look at the data path to one of your images in that cat

Code:
Content visible to verified customers only.
Therefore your not going to see images directly uploaded to the category 507 so this is working fine.

Our optional category feature enables a photo to be shown in multiple categories but the image itself is only uploaded to one category. Therefore all our photo blocks only pull photos where storecat = 0.
i found it out same second. if i store a photo in one cat and optional in a second cat i will see newer photos only in 1, right?

***
1.
so that function "optional cat" means only a reference but not a copy? and "newest photos" are based only on physical photos not on references?

2.
if i upload a new photo i can make some optional reference of one physically photo into another gallery, right?

3.
when you edit a photo there is an option "copy photo". if i edit a photo i can do a copy into another cat and that means it is a real physically copy. is that right?

4.
and its not possible to make a reference from an existing photo, only copies are able after uploading, correct?

***

pp is a powerful software, but you see thats not easy to understand. this all is hard to understand for pp newbees and users i will have to make a good faq for my users, once i understand it 99% by myself.
sonnenfreund is offline   Reply With Quote
Old April 1st, 2006, 10:10 AM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
No if you copy etc it is the same thing as doing an optional category on upload since copy on editphoto only appears if you have optional cats turned on.

The photo blocks will show photos in them that have photos actually uploaded to that specific cat not others.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Fatal error: how can I correct? rabcross General Discussion 9 February 2nd, 2006 01:29 PM
inc_features...pulling from one cat (not specified in inc_features)...Ideas? cobradude Photopost Pro How Do I...? 10 January 16th, 2006 10:54 AM
Correct way to import? imported_ludachris How Do I? - vBulletin 3.5.X 1 October 15th, 2005 03:22 PM
Setting The Time So It's Correct? digitaldingus Photopost Pro How Do I...? 11 February 20th, 2005 03:09 AM
Correct location of PP Gallery iphoto Photopost Pro How Do I...? 3 January 2nd, 2005 04:12 AM


All times are GMT -5. The time now is 02:08 PM.

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