Rating range more than 1 - 5

You need to be logged in to post messages in the forums. New users may register here.

Marko Zmak

Member since:
09 January 2008

Posts: 25

Sunday 15 November 2009 11:27:55 am


Is it possible to define rating range higher than 1-5?

If not it would be nice to implement it (and have an INI setting for defining range).

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Up

André R.

Member since:
14 January 2008

Posts: 145

Friday 22 January 2010 5:50:26 am

It is not implemented, but should be possible.

Our plan was to add ini setting for it and always store value as 0-5 float value so you could change values without trowing ratings away. And also to be able to have different ranges on different classes but still be able to fetch by rating across classes.

eZ Online Editor 5.1: http://projects.ez.no/ezoe || eZJSCore 1.1(Ajax): http://projects.ez.no/ezjscore || eZSearch++(better search results): http://projects.ez.no/ezsearchpro
@: http://twitter.com/andrerom

Up

Gaetano Giunta

Member since:
09 January 2008

Posts: 152

Friday 22 January 2010 6:04:31 am

@ar storing in a normalized number is a good idea, but I'd suggest to go for a range of 0-100 as base instead. Even if it needs an upgrade script for existing data, it is more logical longterm...
Up

Björn X

Member since:
09 January 2008

Posts: 36

Friday 28 May 2010 11:58:28 pm

guy that is the status of this one?

can one at least change this code


















































Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------

Up

You need to be logged in to post messages in the forums. New users may register here.