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.
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:
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..
$postid = $vbulletin->input->clean_gpc('r', 'postid', TYPE_NOHTML);
that should work..
Great, it works. Thank you Luciano :-).
|All times are GMT -5. The time now is 10:49 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0