PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 3rd, 2010, 10:28 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 40
Sort order issue

I've touched on this before, but I just can't figure out how/where to fix it so I'm hoping someone can help.

I would like the order for every single sort in my gallery (Photopost Pro 7.01 integrated with vBulletin 3.8.4) to be newest to oldest. That is the case in my main page (index) but not on any other sorted page (recent - 1 day, 7 days, etc.). Every other scrapbook layout gallery I've seen is sorted this way, so I can't imagine this is a difficult fix. Yet I just haven't been able to figure out how to do it myself. I've searched for ASC & DESC and tried a few changes, but nothing has worked.

Could someone please tell me exactly what to change and where? I would greatly appreciate it...
KristinRutten is offline   Reply With Quote
Old February 3rd, 2010, 10:46 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
If you are talking about the search page you would need to modify the actual code in search.php somehow.

Otherwise in your showgallery script viewing your categories you can always set the default sort to latest in admin edit categories for every cat you wish.
__________________
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 February 3rd, 2010, 11:17 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 40
I am talking about the bottom links for recent posts - "1 day 7 days 14 days"

I have looked at both the search.php and the showgallery scripts and cannot figure out what to change. Can you be more specific?
KristinRutten is offline   Reply With Quote
Old February 3rd, 2010, 11:21 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Yes as stated you would need to alter the file in some manner if you do not want it to work like it is written. we support our search script as it is written. It would be up to you to modify files from there default intended coding. showgallery has nothing to do with this because showgallery you can get a sort which is part of the programs coding. The search script is a different script and it has never had a sort.
__________________
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 February 3rd, 2010, 11:32 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 40
Just so I'm clear...

- default is oldest to newest and that is "ascending"
- it is a "search script" that controls the order in the "recent photos" area and that is not considered a "sort"

Is that correct?

And a question - where would someone like me go to find someone who could help with this? It seems like such a basic thing to be able to choose a sort order, yet I cannot get a handle on it. Is there somewhere in the forum with listings of such people (paid or otherwise)?

Last edited by KristinRutten; February 3rd, 2010 at 12:25 PM.
KristinRutten is offline   Reply With Quote
Old February 3rd, 2010, 12:56 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
I would assume yes. The search script returns results based on input from the search.

We dont have a list of people who do paid work. I do paid work time to time as we do custom work but I probally wont be free to look at something like this for at least a month as I am in the middle of a development cycle with one of our software products.
__________________
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 February 3rd, 2010, 01:00 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 40
Thanks... it just seems strange to me that every one of the other scrapbook galleries is sorted the way I'm looking for - I have a hard time believing they all had to rewrite the code. I did notice a lot of them are using older versions of Photopost - did something change in the upgrades?
KristinRutten is offline   Reply With Quote
Old February 3rd, 2010, 01:05 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Kristin

I beleive as previously discussed older versions of the software had those 4 timeframe searches done by the showgallery script which is why they may have been sorted.

However as with most software it evolves. searchs should never be done outside the search script and with the new seo changes that make sure there is only one url for a photo category user profile etc so you can have better search engine rankings the searchs your talking about where moved to the search script where they should be.

Thus this is the change your talking about. Your trying to compare our current software with older versions of the software.
__________________
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 February 3rd, 2010, 01:15 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 40
Ok... I must have missed part of that conversation. I'm all for evolution & improvements, which is why I upgraded. Whatever the reason, I just want to make it work the way it used to. If you have any input into the process, I'd appreciate it being noted we'd like the option to reverse the current order. I suspect that when the other galleries get around to upgrading, you're going to get several more requests for the same.

Thanks for your help.
KristinRutten is offline   Reply With Quote
Old February 4th, 2010, 03:40 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 40
Chuck - sorry if you'd rather I drop this, but I noticed something today I hadn't before & wanted to point it out to see if it makes a difference.

When trying to view the "last 7 days", for instance, under "recent photos", I assumed by looking at the dates & times of the first several photos that the overall sort order was oldest to newest. However, when you go to page 2 of that sort, it becomes clear that it is only on the PAGE that it is oldest to newest. The overall 7 days are newest to oldest. This becomes very confusing when looking at the photos overall.

For example...
page 1 - first photo is Feb 3 @ 2:01 p.m.
last photo is Feb 4 @ 7:14 a.m.

page 2 - first photo is Feb 2 @ 11:38 p.m.
last photo is Feb 3 @ 1:52 p.m.

page 3 - first photo is Feb 2 @ 5:24 a.m.
last photo is Feb 2 @ 10:52 p.m.

Do you see why this is confusing? And my question is - is this the way it is supposed to work?

I believe this is what this guy was trying to say:
Reverse order in search
KristinRutten is offline   Reply With Quote
Old February 4th, 2010, 04:55 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Kristin as I have said here and even posted in the thread your noting here users are free to modify there code however they choose. There really is no sort on the search

In search.php this line here you can try adding the order by clause in bold but this is not tested and not supported in any way.

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 online now   Reply With Quote
Old February 4th, 2010, 05:16 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 40
Yes! That worked perfectly. Thanks so much - you have no idea how much that helps.
KristinRutten is offline   Reply With Quote
Old February 4th, 2010, 06:25 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
enjoy your evening
__________________
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 August 28th, 2011, 05:17 PM   #14 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Same issue addressed with the same fix for Classifieds 4.2 That saves me some time - thanks Chuck.
Bryan Ex is offline   Reply With Quote
Old August 28th, 2011, 05:43 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Users are free to modify their code and even at times I may post snippets but no official support on mods.
__________________
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
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
Category sort order Simons Photopost Pro How Do I...? 3 November 11th, 2008 05:44 AM
sort order of ads when ''all ads'' ... Luis Larios Classifieds How do I...? 7 June 9th, 2008 08:15 AM
Albums Sort Order bdub Photopost Pro How Do I...? 1 May 8th, 2007 10:13 AM


All times are GMT -5. The time now is 03:38 PM.

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