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 November 26th, 2005, 06:14 AM   #1 (permalink)
Member
 
Join Date: Jul 2002
Location: London
Posts: 268
Sorting - number of photos(FIXED)

Hi,

I love all the sort options in the current Photopost but one of my members has asked something that I can't answer..

If he looks at say his member gallery, with thousands of photos in it, the system will say he has say 1121 photos and it will sort them into pages of 12 etc, great.

If he then chooses one of the options at the bottom of the page to sort by something else, the number of photos changes. So 1121 photos sorted by whatever he chooses may become something like 1098 photos. The missing photos are actually not then showing and are not included.

I tried it on the gallery area here, and a user there has 119 photos, clicking on sorting them at the bottom of the screen changed it to 117 photos.

Thanks for any help you can give.

Steve

Last edited by Steve_UK; November 26th, 2005 at 06:16 AM.
Steve_UK is offline   Reply With Quote
Old November 26th, 2005, 08:33 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Is he sorting by a last comment or rating sort which might limit the photo range to only those photos with comments or ratings.

This I think would be the issue here.

It works just like the forum search works here. The initial members gallery returns everything say with red. Say you pick last comment which will only show photos of that user that have comments. You have further refined or constrained the query to just pick the images that have comments.
__________________
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 November 26th, 2005, 09:15 AM   #3 (permalink)
Member
 
Join Date: Jul 2002
Location: London
Posts: 268
Chuck,

No, as I say, you can see the effect here - and on all current version PP sites I have tried.

If you go to a users member gallery here, choosing one with plenty of photos, and just go to the bottom of the page and click on sort without changing anything from the defaults you'll get a different number of photos sorted to the number you were first shown.

To reproduce it this works:

Click on this to go to user WaldoDessa here: http://www.photopost.com/photopost/s...0&ppuser=72459

He has 119 photos the page tells you.

Just go to the bottom of the page and click on sort, that will use Filename, Beginning, Ascending - as they are the defaults there.. and you'll see he now has 117 photos on the results page. ie the top of the page says you are viewing photos 1-12 of 117, and you are, 2 photos have gone from the sort.

To see a much stronger effect you need a site with larger photo counts, as when a user has thousands of photos hundreds seem to vanish when you do any sort of sort.

Thanks for looking at this.

Steve
Steve_UK is offline   Reply With Quote
Old November 26th, 2005, 10:07 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
I will look at it
__________________
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 December 15th, 2005, 05:49 PM   #5 (permalink)
Member
 
Join Date: Jul 2002
Location: London
Posts: 268
Quote:
Originally Posted by Chuck S
I will look at it
Has this one been resolved in the current code or is there any more word on it at all?

Steve
Steve_UK is offline   Reply With Quote
Old December 15th, 2005, 06:25 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Well I beleive as I explained above the sorts are designed to further limit the results. Example if you choose to sort by last comment then only photos with comments will be shown same goes for rating

Code:
Content visible to verified customers only.
Given this scenerio's the program is working as it should. See these lines in bold this is why the results are limited
__________________
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; December 15th, 2005 at 06:29 PM.
Chuck S is offline   Reply With Quote
Old December 17th, 2005, 11:00 AM   #7 (permalink)
Member
 
Join Date: Jul 2002
Location: London
Posts: 268
Chuck,

Thanks for looking at this.

Please can you look at this example below, it seems not to be what you describe does it?

A users gallery of photos:

http://www.ukexpert.co.uk/photopost/...t=500&ppuser=4

...that shows he has 1149 photos doesn't it.

Now try clicking the sort now on the bottom of the page, with it set on the default of Filename Beginning Ascending - and the number of photos drops to 792 doesn't it.

What happened to the other 357 photos?

The sort should show ALL of his photos still, nothing is meant to be taken out....as everything has a filename doesn't it.

You can do the same with lots of variations, they all lose hundreds of photos.

What is going wrong and how can it be sorted out, any idea?

Steve
Steve_UK is offline   Reply With Quote
Old December 17th, 2005, 12:22 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Easy

In showgallery.tmpl this line for beginning time

echo "<option value=\"9999\"". ($sorttime=="all" ? " selected=\"selected\"" : "") .">{$Globals['pp_lang']['beginning']}</option>";

Add that extra 9 as 999 is less than 3 years and this is your issue beginning time is not long enough
__________________
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 December 17th, 2005, 01:13 PM   #9 (permalink)
Member
 
Join Date: Jul 2002
Location: London
Posts: 268
Chuck,

That's it....ya got it...

Well done.. it fixes that example I gave in my last message.

The original example of this site still shows the fault, so the Photopost.com site needs that fix applying, as I guess do all of them.

Thanks again,

Steve
Steve_UK 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
5.21 sorting in member galleries(FIXED) Astaran Photopost Pro Bug Reports 2 November 11th, 2005 09:01 AM
Show number of photos in profile Crapaddict General Discussion 7 September 16th, 2005 08:37 AM
Default number of photos per page? Garrynz Photopost Pro How Do I...? 7 August 11th, 2005 03:18 PM
How do I increase the number of photos in most viewed? alzy Photopost Pro How Do I...? 1 March 24th, 2005 04:51 PM


All times are GMT -5. The time now is 12:27 AM.

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