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 > vBGallery Support > vBGallery Suggestions

vBGallery Suggestions Post your comments, suggestions, and other feedback about PhotoPost vBGallery here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 12th, 2006, 05:08 PM   #1 (permalink)
Junior Member
Verified Customer
 
mhc1576's Avatar
 
Join Date: Nov 2005
Location: Sweden
Posts: 20
Display order

Sometimes it would be handy to be able to set display order for pictures.
Creating a slideshow after the pictures is uploaded and get them in the sequence you want involves a bit of extra work.
Also setting default sort order for each Category would be handy.

Regs
mhc1576 is offline   Reply With Quote
Old March 18th, 2010, 02:26 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2008
Posts: 5
Quote:
Originally Posted by mhc1576 View Post
Also setting default sort order for each Category would be handy.
Yes, it would be really useful. I just wanted to set default sorting by rating in one category with images from contest (every image has rating from the same number of voters - our jury) and when I go to edit category in admincp, I see that there is no option for this :-(.

I did my search here and find no solution so far. I am just only aware, that this is standard function in actual version of Photopost Pro which I really don't want to use (I choose vBGallery thanks to its tight integration with vBulletin).

Chuck (or someone else), please, can you at least write me what I need to put in browseimages.php to make it work (order by rating) as a condition only for categories which I can define? I know how to change order to random - using this:
Code:
Content visible to verified customers only.
But sorting by rating is not that straightforwarded as I can tell so far.
Charles_1 is offline   Reply With Quote
Old March 18th, 2010, 05:00 PM   #3 (permalink)
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
well i thought that was integrated in browseimages....
at the bottom of a browseimage page you have:
display options where you can sort by rating...

it adds '&orderby=rating&direction=DESC' to the query string...

this meens that you just have to add
$orderby = 'rating';
$direction = 'DESC';

in the code...

add it after the vars are cleaned..

after:

$postid = $vbulletin->input->clean_gpc('r', 'postid', TYPE_NOHTML);

that should work..

luc
Luciano is offline   Reply With Quote
Old March 19th, 2010, 08:00 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2008
Posts: 5
Great, it works. Thank you Luciano :-).
Charles_1 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
Display order of reviews in RP ace67 ReviewPost How do I...? 2 October 31st, 2005 10:25 AM
Suggestion: Member category display order Grae vBGallery Suggestions 0 June 26th, 2005 04:44 PM
order by last post. sabret00the Installs and Upgrade - vBulletin 3.0.X 1 May 24th, 2005 09:55 AM
Change default ad display order kontrabass Classifieds Installation & Upgrades 12 February 26th, 2005 11:45 AM


All times are GMT -5. The time now is 12:01 PM.

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