This morning I pushed up ratings to CFLib. CFLib used to have ratings some time ago, so this is actually an old feature coming back. I used the same jQuery plugin that SlideSix uses (http://php.scripts.psu.edu/rja171/widgets/rating.php). To be honest, I really don't like this plugin. Turning off the cancel was a pain in the rear. I would have used the Spry rating widget instead, but I really wanted to give jQuery ratings a try. At the end of the day though it works, so I'll leave it be. One nice thing about it though - I can pass it a rating value of X.2 and it rounds it down to X starts. Pass it X.5 and it correctly shows a half star.
Later this week I'll be adding a right hand list of the top rated UDFs.
Oh, and in case folks are curious, I did not add any protection from multiple voting. I originally used code that stored your rankings in a session variable. I turned that off during testing and didn't bother re-enabling it. I figure it someone is so bored they want to cheat their UDF up, more power to em. ;)
Comment 1 written by salomoko on 30 December 2008, at 9:10 PM
is cflib.org written in any framework?
Comment 2 written by Raymond Camden on 30 December 2008, at 9:19 PM
Comment 3 written by salomoko on 30 December 2008, at 9:23 PM
good job! I like it!
cheers
Comment 4 written by Raymond Camden on 30 December 2008, at 9:24 PM
Comment 5 written by salomoko on 30 December 2008, at 9:34 PM
sorry
Comment 6 written by Raymond Camden on 30 December 2008, at 9:36 PM
Comment 7 written by salomoko on 30 December 2008, at 9:40 PM
http://coldcourse.riaforge.org/
c'mon man, you don't know every single project by heart on riaforge? ;-)
Comment 8 written by existdissolve on 30 December 2008, at 10:31 PM
Comment 9 written by Erik Vold on 31 December 2008, at 12:47 AM
[Add Comment] [Subscribe to Comments]