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 July 11th, 2005, 12:49 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
5.12 showmembers not showing correct last photo(NOT A BUG)

The showmembers page isn't showing the last photo of a user.
Example:
http://fotogalerie.herr-der-ringe-fi...rs.php/cat/500

First row shows the the gallery of "Daphna".
According to this page the last photo was posted on 10.7.2005 12:45, showing a thumbnail of http://fotogalerie.herr-der-ringe-fi...41DSC01308.JPG.

Viewing that photo directly will show you, that it has been published on 2.5.2005

Link to this photo is:
http://fotogalerie.herr-der-ringe-fi...0/ppuser/14241

I think this is caused by the sql query that is used to build showmembers.php. It uses GROUP BY, which brings up a wrong image id, depending on the sort order used.
Astaran is offline   Reply With Quote
Old July 11th, 2005, 01:34 PM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Correct, we do not show the last photo and this is a known issue which has no solution at this time (this has been covered several times in the forums).

In order to use a single query to get the member listing we use the GROUP BY which does not allow us to sort the date for the last photo uploaded. However, prior to this an additional query for every user displayed was required - which meant alot of queries per page.

We do not have a solution as yet to do both a single query and get the last photo.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old July 11th, 2005, 01:43 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
If I understand the code correctly, you have all userids after the query has been performed. Couldn't you use a second query then using WHERE userid IN (userid1,userid2,userid3,userid4,...) to get the last photo for each user.

With grabbing the userid and bigimage fields from the database, you get all information needed to map the fotos to the correct user. This would only add one additional query per page which uses an existing index.
Astaran is offline   Reply With Quote
Old July 11th, 2005, 01:45 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
That's an approach I hadn't considered; so will look into it as a possible quick solution.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old July 13th, 2005, 09:47 PM   #5 (permalink)
Registered User
 
kturby's Avatar
 
Join Date: Jul 2002
Posts: 167
Michael,

How is the possible quick solution for this one coming along? This is one that causes a LOT of flailing with our users... both from the aspect of complaints and "reported as a bug"... and from the aspect of user satisfaction. They really seem to like seeing their latest photo thumbnail up on the page.
kturby is offline   Reply With Quote
Old August 27th, 2005, 09:40 PM   #6 (permalink)
Registered User
 
kturby's Avatar
 
Join Date: Jul 2002
Posts: 167
Is a fix for this being worked on? Even considered? Not updating the thumbnail of member galleries is a signficant dissatisfaction for our users.
kturby is offline   Reply With Quote
Old September 3rd, 2005, 12:46 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
Yes, any news on this would be appreciated. My users are really annoyed and it generates a lot of support requests.
Astaran is offline   Reply With Quote
Old September 16th, 2005, 04:13 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
Sorry, but I must beg you about this one. Any news on this? Is this being worked on, can we expect a fix soon?
Astaran is offline   Reply With Quote
Old September 18th, 2005, 11:24 AM   #9 (permalink)
Senior Member
Verified Customer
 
Join Date: Dec 2002
Location: San Francisco
Posts: 603
Add my voice here. Hope we can get a better solution at this. Thanks!
pengrus is offline   Reply With Quote
Old September 18th, 2005, 06:40 PM   #10 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Agreed.
To have a column titled - Last Photo Upload with date under thumb - is not a bug??
In addition, stuck thumb showing for some members is not good representation of their pics ...

~ Mark
mjm is offline   Reply With Quote
Old September 18th, 2005, 08:32 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,690
It is not a bug as Michael explained why it is the way it is.
__________________
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 September 18th, 2005, 09:43 PM   #12 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
As Michael says here ... "It's a trade-off" ... ( which has the same irritable sensation of a bug bite )

"It's an issue of efficency; in the prior version of PhotoPost we did the main query and then if you were viewing thumbnails a second query for each member being displayed to find the latest thumbnail. This means that the showmembers page with 30 members would result in 30 additional queries per page. Using the method, we save the 30 queries, but loose the last photo uploaded thumbnail. It's a trade-off.

MySQL does support sorting columns during the GROUPing of records, by grouping the records from the photos table, we save any processing of members who have no photos at all."

-------
On a user perspective, this is a very big trade-off because it affects the front door to their gallery of pics.

Am I correct to presume that this was a trade-off for providing the Group by Member / Sort by Feature?
Or was the show last photo feature going to be removed anyway to improve performance?

I understand, Chuck, that you don't consider this a bug support issue, so would you be so would you be so kind as to move it to the Discussion or Suggestions Forum?

~ Mark
I get this creepy pestering feeling replying to a 'Not a Bug' Thread in the Bug Forum
mjm is offline   Reply With Quote
Old September 19th, 2005, 03:53 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
Well, I'm not in the position to say if it's a bug or not. What I can say is that in prior version the last uploaded photo has been showed in this column. That's why the column header says "last uploaded photo". So the expected behaviour is exactly that.

If your intention was to change the behaviour of the software, please just communicate that and rename the column heading to something like "random photo".

Considering the fact that this changed behaviour wasn't mentioned in the release information and reading Michael's post in this thread, I got the impression that he
classifies this as a bug (with status OPEN), but hasn't come up with a appropriate solution yet. That's why a suggested a possible solution that only adds one extra query.

So I'd really appreciate a reply from the lead developer that clarifies the situation so that everyone knows if that issue will be tackled or not.
Astaran is offline   Reply With Quote
Old September 19th, 2005, 06:15 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,690
Michael did reply Astaran that is why the thread has been marked essentially resolved. There are two threads on this issue

5.11 MembersList Format - last photo upload thumbnail not most recent

MJM trade off,efficiency, speed whatever Essentially he is saying that with the efficient code that he can not grab the last photo since you can't sort within a group by mysql statement. He decided not to run 30 additional queries per page and that is the trade off he is referring to. If it is decided it is in the best interest of the program to go in a direction to improve speed and it is suppose to be coded this way then it is not considered a bug.
__________________
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; September 19th, 2005 at 06:19 AM.
Chuck S is online now   Reply With Quote
Old September 19th, 2005, 07:16 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 220
Ok, thx for the clarification.I'll come up with my own solution then. One additional query will be sufficient. There's no need to make 30 additional queries.
Astaran 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
PhotoPost Admin Photo Approval Interface bug(NOT A BUG) Johnny Doomo Photopost Pro Bug Reports 7 October 26th, 2005 12:08 PM
5.2 New uploaded photo not showing (NOT A BUG) iloco Photopost Pro Bug Reports 8 October 7th, 2005 05:50 PM
showmembers.php "Recent Products: last day/ all products" links don't work(NOT A BUG) Arnie ReviewPost Bug Reports 1 September 2nd, 2005 08:15 AM
Skip upload etc - showing at Members photo upload(NOT A BUG) mjm Photopost Pro Bug Reports 5 July 31st, 2005 07:36 PM
Private photo showing in recent photo import GMGGG Photopost Pro How Do I...? 1 July 25th, 2005 11:37 AM


All times are GMT -5. The time now is 07:59 AM.

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