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 February 24th, 2007, 10:10 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 26
Sorting by descending order?

How do i set a default setting that sorts the pictures from the first one in the category?

I notice now that when i upload pictures, it sorts by default by last uploaded.

I know there is an option to sort manually, but i would like to have it done automatically everytime as my guests wont know which is the first and last picture. so some dance pictures i take might seem to be going backwards

Is there anyway i can set the pictures for categories to display by sequence by default instead of last uploaded?

Thanks in advance
Ultimo is offline   Reply With Quote
Old February 25th, 2007, 11:42 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
If your asking how to display them from date ascending you would need to add your own sort to the mysql sort table and set that sort in edit categories in admin as the default cause to be honest a sort like that does not exist.

Never heard of someone intentionally wanting to sort from the oldest forward.
__________________
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 May 8th, 2007, 10:32 AM   #3 (permalink)
Member
Verified Customer
 
bdub's Avatar
 
Join Date: Nov 2002
Posts: 48
I would also like to have this sorting option available without having to recode anything.
__________________
bdub
PhotoPost Pro 7.1, Shared Host, Linux 2.6.27-grsec4, Apache 2.2.11, PHP 5.2.8, MySQL 5.0.85, GD 2.0.28,
bdub is offline   Reply With Quote
Old May 9th, 2007, 03:26 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 55
Hmm, I too want the order reversed.

Here's why: I upload a sequence of shots from first to last, but they show up backwards - last to first. I want people to see them in the sequence they were taken.
saltyzoo is offline   Reply With Quote
Old May 9th, 2007, 03:45 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
Create some new sort in your sort table like maybe

ORDER BY id ASC

Then just set that to be the default sort in your category editor for that cat
__________________
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 May 9th, 2007, 04:28 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 55
easy 'nuff.

Thanks. Hope things are going well with the tank.
saltyzoo is offline   Reply With Quote
Old May 9th, 2007, 07:10 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
Tank is fine thanks.
__________________
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 May 10th, 2007, 04:04 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 55
That works quite well. In fact, I also wanted to control the exact order of some categories in a very specific way, and I can do that quite easily by creating a custom field for the images and using that as the sort order.

Thanks for pointing me in the right direction.
saltyzoo is offline   Reply With Quote
Old June 12th, 2007, 09:48 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Location: Florida
Posts: 122
Me three lol

I have a member who wants his photos sorted from oldest to newest, it's a photo sequence of plant growth.
Could you let me know what I could place in the script (and where) to make only his sort as described?
The album of his that he wants this to occur in is cat=603
I appreciate it.
MediaHound is offline   Reply With Quote
Old June 12th, 2007, 09:58 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 55
This worked for me to do exactly what you describe you want.

Quote:
Originally Posted by Chuck S View Post
Create some new sort in your sort table like maybe

ORDER BY id ASC

Then just set that to be the default sort in your category editor for that cat
saltyzoo is offline   Reply With Quote
Old June 12th, 2007, 09:59 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 55
Ah, that will only work for the entire category. You could create a special category for his album.
saltyzoo is offline   Reply With Quote
Old June 12th, 2007, 10:12 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
yes adding sorts into the sort table is how you sort cat images
__________________
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 June 12th, 2007, 10:29 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Location: Florida
Posts: 122
For cat 603, sortorder is "1" in my database
Is that what I want to change?
If so, what should I change it to?
MediaHound is offline   Reply With Quote
Old June 12th, 2007, 10:34 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
You change the default sort of a category in Admin => Edit Categories and edit that cats settings
__________________
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 June 12th, 2007, 10:34 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Location: Florida
Posts: 122
Does that #1 coincide with these:
2 Latest ORDER BY disporder,date DESC
3 Most Views ORDER BY disporder,views DESC
1 Most Active ORDER BY disporder,lastpost DESC
4 Most Popular ORDER BY disporder,rating DESC, views DESC
6 Random ORDER BY disporder,RAND()
5 Least Popular ORDER BY disporder,rating,views
7 Image Name ORDER BY disporder,bigimage
8 Title ORDER BY disporder,title
MediaHound is offline   Reply With Quote
Old June 12th, 2007, 10:35 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Location: Florida
Posts: 122
Quote:
Originally Posted by Chuck S View Post
You change the default sort of a category in Admin => Edit Categories and edit that cats settings
It is a user's created album, not a top level category.
It does not appear in Admin -> Edit Categories
MediaHound is offline   Reply With Quote
Old June 12th, 2007, 10:37 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Location: Florida
Posts: 122
Quote:
Originally Posted by MediaHound View Post
Does that #1 coincide with these:
2 Latest ORDER BY disporder,date DESC
3 Most Views ORDER BY disporder,views DESC
1 Most Active ORDER BY disporder,lastpost DESC
4 Most Popular ORDER BY disporder,rating DESC, views DESC
6 Random ORDER BY disporder,RAND()
5 Least Popular ORDER BY disporder,rating,views
7 Image Name ORDER BY disporder,bigimage
8 Title ORDER BY disporder,title
because if it does, I can add a new #9 in there
we could say:
9 Oldest ORDER BY disporder,date ASC

Would that be correct?
MediaHound is offline   Reply With Quote
Old June 12th, 2007, 10:39 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
yes the sorts coincide with those.

Album sorts should be set in Manage Albums in admin just like edit categories is for categories
__________________
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 June 12th, 2007, 10:46 AM   #19 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Location: Florida
Posts: 122
I did not see Manage Albums...
as I retreat with the tail between the legs, may I suggest adding a link to Manage Albums from the bottom of the Category Editor mainframe. Either that or group it with the rest of the Edit quicklinks under "Administration" from "General".
I think it should be easier to find...
anyway I overlooked it and the problem is now solved
thanks!
MediaHound is offline   Reply With Quote
Old June 12th, 2007, 10:47 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Location: Florida
Posts: 122
and, oh yes, here is the code I used to add the new field
Code:
Content visible to verified customers only.
MediaHound 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
Set order to Descending by default? ragintajin Photopost Pro How Do I...? 2 March 27th, 2005 06:15 AM
Sorting by distance h2ojunkie Classifieds How do I...? 1 March 18th, 2005 08:09 AM
Sorting? Mellow Bugs From 1.0.0 4 January 6th, 2005 04:57 PM
Category Sorting ConqSoft vBGallery Suggestions 1 December 21st, 2004 06:26 PM


All times are GMT -5. The time now is 11:01 AM.

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