![]() |
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 |
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 ;) |
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 |
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 |
[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 |
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 |
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 |
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 |
Interesting I can not replicate this as if I assign an album to a category the counts are indeed updated. |
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 |
Lets try an experiment on your install in useralbums.php find this Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
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 |
Interesting I will look and try something else. I do not know why yours does not update like mine |
how about this // They reassigned, so recalc old assignment and new upgradecategories( $oldchild ); upgradecategories( $child ); |
Nope, doesn't work. If it would be of any help I can email you access to the account. Mark |
Sure go ahead and email me and I will try a few things out |
I sent you info but forgot to include a subject Title. Let me know if I need to resend it. Mark |
Just to let you know, it was returned, (no subject heading), so I resent it. Mark |
In useralbums.php Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
hmm, sorry to say, we did this and still no go ... Much appreciate if you could give it another try at ... |
| All times are GMT -5. The time now is 06:34 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0