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. ;)
Archived Comments
quick concern.
is cflib.org written in any framework?
Model-Glue and Transfer and ColdSpring.
right on! obviously with some coldcourse action right...?
good job! I like it!
cheers
I have to admit - I don't know what coldcourse is. Obviously I'm not using it. ;)
hah! sorry I may have it wrong myself, but never the less, I was getting at how you handle your SES urls?
sorry
On my local dev environment, I use Apache, and SES URLs are built in. Production is IIS and I use IIRF, a free URL rewriter plugin. In general I don't recommend using a different dev web server than production, but it's just my personal sites.
cool thanks.
http://coldcourse.riaforge....
c'mon man, you don't know every single project by heart on riaforge? ;-)
I've been using Spry's rating widget for a while now, and I've been quite pleased with it. As with all things Spry, it is ridiculously easy to implement, and works quite nicely with the server-side interactions as well.
Sweet thanks!