Forums / General / Creating a "story rating system" help and suggestions?

Creating a "story rating system" help and suggestions?

Author Message

Dan Zembrosky

Monday 28 April 2003 11:49:41 pm

Ok, I have no idea how to go about doing this... my hunch is use an integer defined between 1 and 5 and then somehow have this processed based on the total divided by the total number of votes then displayed on the index page and the story page. Of course the integer is not an information collector... so i cant see how it could help here... If anyone knows how to do this please let me know.

Gabriel Ambuehl

Tuesday 29 April 2003 2:56:20 am

I suppose you'd have to define a new data type (basically, you can get away with storing two integers and updating them every time you have a new vote) for this to work.

A custom module seems unneeded.

Visit http://triligon.org