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 January 6th, 2009, 01:15 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
how do I sort the images in the members galleries by latest and make it descending

how do I sort the images in the members galleries by latest and make it descending ( newest ) first

I can set the sort by to latest in the category - how do I make the latest order default to descending ?
Silver_2000 is offline   Reply With Quote
Old January 6th, 2009, 11:04 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
The members gallery can be sorted by the 4 sorts you put under the edit categories box for sort alphabetical date views and most active.

Members Galleries - ReefTalk Gallery
__________________
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 January 6th, 2009, 11:40 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
If you click to member galleries the list of galleries comes up alphabetical like we want but when you go into one of the galleries we want the images in the galleries to be sorted my latest pictures in front - you can pick latest for all the catogoreies but how do you force the order to be then by descending

1stMerc Gallery - Mercury Marauder.Net Photo Gallery
Silver_2000 is offline   Reply With Quote
Old January 6th, 2009, 11:52 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Possibly with some code alternation?

In showgallery line 432 try this

Code:
Content visible to verified customers only.
change to

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 January 6th, 2009, 06:04 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
Quote:
Originally Posted by Chuck S View Post
Possibly with some code alternation?

In showgallery line 432 try this

Code:
Content visible to verified customers only.
change to

Code:
Content visible to verified customers only.

Parse error: syntax error, unexpected '=' in /home/mercurym/public_html/gallery/showgallery.php on line 432
Silver_2000 is offline   Reply With Quote
Old January 7th, 2009, 09:19 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
You sure you edited it correctly your getting a parse error.

I did the edit I explained and works without fail

Chuck S Gallery - ReefTalk Gallery

ALL you do is change catorder ASC to p.date DESC thats all on that line.
__________________
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 January 7th, 2009, 09:37 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
i copied it local and edited again and it worked this time

but Im still trying to get posted date and descending as the defaults in the users galleries

still shows file name and ascending

http://www.mercurymarauder.net/galle...00/ppuser/1109
Silver_2000 is offline   Reply With Quote
Old January 7th, 2009, 09:46 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Chuck S Gallery - ReefTalk Gallery

You did not edit the right line apparently or something because my example clearly shows photos date descending.
__________________
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 January 7th, 2009, 10:10 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
I see the same thing on yours as on mine

but yours seem to be sorted by date and mine dont

Code:
Content visible to verified customers only.
Attached Images
File Type: jpg sort.jpg (87.9 KB, 3 views)
File Type: jpg sort2.jpg (98.6 KB, 2 views)
Silver_2000 is offline   Reply With Quote
Old January 7th, 2009, 12:16 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Thats something totally different than the discussion thats just a sort thing at the bottom of showgallery template

as far as the query in showgallery.php if indeed it is edited and your script has been updated the results should show as I have shown.
__________________
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 January 10th, 2009, 04:10 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2008
Posts: 4
hi chuck...
i know this is a dumb question, but when I open my showgallery.tmpl, i cant find line 432. am I looking at the wrong thing?

this is what i see:

Code:
Content visible to verified customers only.
smallpigpig is offline   Reply With Quote
Old January 10th, 2009, 04:44 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
This little modification to the code discussion has to do with showgallery.php not the template file.
__________________
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 January 12th, 2009, 05:04 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2008
Posts: 4
opps.. hehehe

thanks chuck
smallpigpig is offline   Reply With Quote
Old January 12th, 2009, 08:15 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Have a good 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
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
Delete changes sort from Latest to Most Active petr55 Photopost Pro Bug Reports 3 June 19th, 2007 08:31 PM
How to show members latest uploaded pic in the Members Gallery? CSS59 How Do I? - vBulletin 3.0.X 0 July 11th, 2005 12:14 AM
Pp5 How can I sort All photos by latest comment Geiri Photopost Pro How Do I...? 3 May 10th, 2005 01:08 PM


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

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