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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 15th, 2011, 09:20 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2009
Posts: 18
Recent Photos Search

We've been using vbulletin and photopost for years and in the last several weeks paid for an upgrade and installation to the latest software. Everything is working great and now we're trying to customize it to work like our last installation.

One thing that we've noticed is that when you click on the Recent Photos search (7 day, 14 day, all days), we're seeing the photos displayed from oldest to newest (ascending). We'd like to show them going from the newest to the oldest (descending)...

I've peeked in the code and see that search.php does the mysql search in descending order. Hmm... Then I checked database table where the searches are stored and can see the field that stores the 20 photos and they are photo ids going from the highest number to the lowest number so that's right too.

Can you help me figure out why they are being displayed differently than the order of the actual search??

You can see it for yourself here:
segmentedwoodturners.org

Thanks,

Dennis
Lloyd is offline   Reply With Quote
Old March 15th, 2011, 09:54 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Your really talking about a code mod and not really a support question here. There is no option to sort search results they are always oldest to newest. If you want to alter the sort maybe add an ORDER BY date DESC to the $getsearch querys on lines 145 and 149. Now since this is a mod question I have nothing more I can add to this discussion.
__________________
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 March 15th, 2011, 01:26 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2011
Posts: 8
That's a perfect solution!

Thanks for the tip,

Dennis
ddaudelin 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recent photos search broken Halfhidden Photopost Pro How Do I...? 10 May 7th, 2010 06:42 PM
How to make a title longer below thumbnails on Recent Photos, Random photos etc on in DANIEL2008 Photopost Pro How Do I...? 5 October 27th, 2009 10:03 AM
Stop Yahoo! Search and Google Photos from indexing photos on Photopost & Reveiwpost? criscokid Photopost Pro How Do I...? 4 June 15th, 2005 06:49 PM
How to make `Recent Photos' work like view all recent pics? mjm Photopost Pro How Do I...? 1 February 3rd, 2005 01:54 PM
Recent Photo Search fails after upgrade Illuvatar123 Photopost Pro Installation & Upgrades 10 July 14th, 2004 09:52 PM


All times are GMT -5. The time now is 07:29 PM.

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