 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
August 10th, 2005, 07:07 PM
|
#1 (permalink)
| | 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 07:10 PM.
|
| |
August 11th, 2005, 10:58 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
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 |
| |
August 11th, 2005, 06:12 PM
|
#3 (permalink)
| | 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
|
| |
August 11th, 2005, 06:49 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
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
|
| |
August 11th, 2005, 11:32 PM
|
#5 (permalink)
| | 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
|
| |
August 12th, 2005, 10:18 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
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
|
| |
August 13th, 2005, 11:07 PM
|
#7 (permalink)
| | 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
|
| |
August 22nd, 2005, 11:37 PM
|
#8 (permalink)
| | 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 01:51 AM.
|
| |
August 23rd, 2005, 10:03 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
Interesting I can not replicate this as if I assign an album to a category the counts are indeed updated.
|
| |
August 23rd, 2005, 10:47 AM
|
#10 (permalink)
| | 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
|
| |
August 23rd, 2005, 11:56 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
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.
|
| |
August 23rd, 2005, 02:22 PM
|
#12 (permalink)
| | 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
|
| |
August 23rd, 2005, 08:28 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
Interesting I will look and try something else. I do not know why yours does not update like mine
|
| |
August 23rd, 2005, 08:29 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
how about this
// They reassigned, so recalc old assignment and new
upgradecategories( $oldchild );
upgradecategories( $child );
|
| |
August 24th, 2005, 09:17 AM
|
#15 (permalink)
| | 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
|
| |
August 24th, 2005, 09:43 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
Sure go ahead and email me and I will try a few things out
|
| |
August 24th, 2005, 11:13 AM
|
#17 (permalink)
| | 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
|
| |
August 24th, 2005, 11:45 AM
|
#18 (permalink)
| | 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
|
| |
August 24th, 2005, 09:22 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,742
|
In useralbums.php Code: Content visible to verified customers only.
should be this Code: Content visible to verified customers only.
|
| |
August 24th, 2005, 10:50 PM
|
#20 (permalink)
| | 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 02:11 AM.
|
| | |
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 06:37 PM. | |