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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 10th, 2005, 06:07 PM   #1 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Albums in assigned cat don't add to cat index count(FIXED)

If pics are uploaded to an album in an assigned cat, the pic count isn't added to the cat

So Categoriess that only have albums shows - 0 photos- in cat at index page.

I believe this was addressed back in early 5.0.

I will need to do a search to see if a solution was found.

Mark

Edit: http://www.photopost.com/members/for...d.php?t=113132

Last edited by mjm; August 10th, 2005 at 06:10 PM.
mjm is offline   Reply With Quote
Old August 11th, 2005, 09:58 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Have you ran a scan database? You sure you did not upload an old file or break it with a hack?

I have tested pretty darn good and it works fine. If I assign an album to a category the count on index shows correct.

example

Here is my index look at member pics see the photo count 20

http://www.reeftalk.com/gallery/index.php

Now view the cat and you see 4 pics but on index it had count of 20

http://www.reeftalk.com/gallery/showgallery.php/cat/508

Thats because I have a personal family pics of 16 in a private album
__________________
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 August 11th, 2005, 05:12 PM   #3 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
hmmm, we don't have any outside hacks, but maybe a template tweak is causing the problem.
I don't know if this makes any difference, View Members Gallery is set as List + Show all photos.

I haven't run scan database since 5.13, should I?

The count doesn't increment for me when uploading into album at a new cat containing no other pics, - 0 photos - (this is how I noticed it), or into an existing cat containing photos in cats.

Can you reccommend any files that we could re-upload to see if it straightens this out?

Thanks,
Mark
mjm is offline   Reply With Quote
Old August 11th, 2005, 05:49 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Well remember yes you can always do a scan database but let me add this so there is no confusion

Album counts are only added to categories when they are assigned to that album. Just so we are clear. Possible files to consider would be pp-inc.php if I had to name a file as thats where the counts come from
__________________
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 August 11th, 2005, 10:32 PM   #5 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
[quote=omegatron]

> Album counts are only added to categories when they are assigned to that album.

Yep, albums are assigned to categories.

> Possible files to consider would be pp-inc.php

Carole reinstalled this file.
This was a file she downloaded July 12 when she did the upgrade

However there was no change - did not increment album pic count to cat.

I did a - Scan Database > Check here to recalculate photos/posts numbers and check children. - and the count was corrected.

Tried uploading additional pics - no count change - rescaned > corrected.

Mark
mjm is offline   Reply With Quote
Old August 12th, 2005, 09:18 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Try uploading useralbums.php or if you still have a problem all the stock 5.13 files. There is no issue that I can find with the 5.13 files
__________________
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 August 13th, 2005, 10:07 PM   #7 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Hi Chuck, an update ...
We reverted all .php and template files, still no go.
So then we installed a fresh test (v5.13 7/11/05 8:07 PM Build), and album pic count is still not incremented to pic count of assigned cat on index page.

Mark
mjm is offline   Reply With Quote
Old August 22nd, 2005, 10:37 PM   #8 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
I should add that photo count for Members Gallery (index page) also does not change unless scan database > recalculate photo count.

I had not been looking Members Gallery count until I noticed the prob with Assigned album pic count.

Background ... v5.13 7/11/05 8:07 PM Build

Basic vB user integration (not enhanced)

Members Gallery - View as list - Show all users pics? Yes

Last edited by mjm; August 24th, 2005 at 12:51 AM.
mjm is offline   Reply With Quote
Old August 23rd, 2005, 09:03 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Interesting I can not replicate this as if I assign an album to a category the counts are indeed updated.
__________________
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 August 23rd, 2005, 09:47 AM   #10 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Also the Members Gallery count, as it's set to show all pics, does not update total photo count, so my problem extends past assigned album count in categories.

Fortunatetly the scan database recalculate photo counts does work

Mark
mjm is offline   Reply With Quote
Old August 23rd, 2005, 10:56 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Lets try an experiment on your install

in useralbums.php find this

Code:
Content visible to verified customers only.
change to this and reassign an album and let me know if it works

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 August 23rd, 2005, 01:22 PM   #12 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Okay, we did that, created a new Album assigned to a cat, added 4 pics, and it didn't add to the cat total photo count.

Also it didn't add to the total Members Gallery pic count, (which when > scan database - correctly equals the total pic count, as in stats at the bottom, which always do update correctly.

Mark
mjm is offline   Reply With Quote
Old August 23rd, 2005, 07:28 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Interesting I will look and try something else. I do not know why yours does not update like mine
__________________
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 August 23rd, 2005, 07:29 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
how about this

// They reassigned, so recalc old assignment and new
upgradecategories( $oldchild );
upgradecategories( $child );
__________________
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 August 24th, 2005, 08:17 AM   #15 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Nope, doesn't work.
If it would be of any help I can email you access to the account.

Mark
mjm is offline   Reply With Quote
Old August 24th, 2005, 08:43 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Sure go ahead and email me and I will try a few things 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 August 24th, 2005, 10:13 AM   #17 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
I sent you info but forgot to include a subject Title.
Let me know if I need to resend it.

Mark
mjm is offline   Reply With Quote
Old August 24th, 2005, 10:45 AM   #18 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Just to let you know, it was returned, (no subject heading), so I resent it.

Mark
mjm is offline   Reply With Quote
Old August 24th, 2005, 08:22 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
In useralbums.php

Code:
Content visible to verified customers only.
should be 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 offline   Reply With Quote
Old August 24th, 2005, 09:50 PM   #20 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
hmm, sorry to say, we did this and still no go ...

Much appreciate if you could give it another try at ...

Last edited by mjm; August 26th, 2005 at 01:11 AM.
mjm 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
4.86 need assigned album pics count with cat pics count mjm Photopost Pro How Do I...? 1 March 10th, 2005 03:57 AM
Cat with assigned albums only shows no photos mjm Photopost Pro How Do I...? 1 February 5th, 2005 11:46 AM


All times are GMT -5. The time now is 01:44 PM.

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