Member
Member
Jay5oh   2009-01-29, 20:13
#1
Is there a way to sort images in ablum by votes or rating? I would really like that..
Member
Member
sbillard   2009-01-29, 23:00
#2
The next release of zenphoto will provide a custom sort that lets you sort by any field in the database. (This is available for preview in the nightly builds.) There is not exactly a field for the rating but there is a total_value field. That might be close enough.
Member
Member
Jay5oh   2009-01-29, 23:43
#3
Excellent..can't wait!
Member
Member
sbillard   2009-01-30, 01:08
#4
Then download the nightly and you will have it now!
Member
Member
Jay5oh   2009-01-30, 03:03
#5
Well I'll give it a go tonight. Is there anything special I need to do with the nightly thing?

Thanks!
Member
Member
Jay5oh   2009-01-30, 03:55
#6
I do not see a total_value sort anywhere.

Also, where is the image.php file now?
Administrator
Administrator
acrylian   2009-01-30, 11:16
#7
You need to look at the backend options. There you can set that manually for any db field, total_value is a db field.

Sorry, what image.php file?
Member
Member
Jay5oh   2009-01-30, 21:53
#8
Ok, I'll look there for setting that field...thanks

Before I switched to the nightly build I had a image.php file. See this thread : http://www.zenphoto.org/support/topic.php?id=4812

I added a hit counter. Now with the nightly build I have no hit counter and no image.php file to edit.

I do like the statistics page and I suppose this would suffice..

My main concern right now is the sorting..
Member
Member
sbillard   2009-01-30, 22:37
#9
Every theme should have an image.php script. Something has gone wrong with your install somehow.
Member
Member
Jay5oh   2009-01-30, 23:55
#10
And it should be located:
/zenphoto/image.php correct?
Member
Member
sbillard   2009-01-31, 00:23
#11
No, it would be in the theme folder--say `default/image.php` It has never been placed in the root folder.

You can look at the `zenphoto.packate` file for a list of files.
Member
Member
Jay5oh   2009-01-31, 01:56
#12
Got it! thank you. Just need to center it and I'm golden...until I start messing with the DB for the sort option...
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.