Rating system

31st Jan 2006 Danny

Here's a plugin idea I've been thinking about, but I don't know if it's possible or anyone would want it.

A rating system

The use case that I'm thinking of is plugins.b2evolution.net. It would be nice if I could post a plugin description there, then users could rate it. Out of 5 stars or 10 points, or better yet something that could be defined in the plugin settings (I give this post 645 out of 666 demons, or 37 out of 42 cups of tea). Each user rating could be submitted along with a comment. Or it could be done another way. But the post would always show the average of all the user ratings. You would also want ways to sort posts by rating. Maybe list the top five rated posts in the sidebar.

I don't know if there are plugin hooks that could make this happen. I guess you could use the Install event to add a rating column to the comments table, then use SkinTags to do the rest. What do you think?

 
 
 
 

Comments

Anonymous
1st Feb 2006
Like we don't have enuff to do already. :|

LOL ... that's a GREAT idea for a plugin and something that I had a glimmer of a thought of, some time ago (I think). Musta passed like a stiff breeze, though, because I haven't thought of it in a while.

like a poll thing ... [8.6 whatevers] [rate it!] ... then get 10 radio buttons 1-10, (or as you suggest ... definable in the settings).

The 8.6 whatevers ... would be nice to show a fixed, bordered DIV, inside of which is another DIV of repeated images in the background (width determined by avg rating).

I like it! ;)
 
Anonymous
1st Feb 2006
Now this is one they'll want ;)

I'd be tempted to create a new table on install just so there's no chance of a future clash with b2evo names.

You could write it as a mixture of renderer plugin that uses "stealth" mode (or always mode) or even opt-in/out on a per post basis and a skin tag ?

¥
 
Anonymous
1st Feb 2006
I was just floating the idea, so if either of you wants to do this one, that's fine with me. Now that blueyed added the /htsrv/call_plugin.php file, I'm working on porting this again. I would love to distribute it through AM, but the original plugin was released under the GPL, so could we release it here? I'm no lawyer. Maybe it would need to be immediately free. When I get this finished I could work on the rating plugin if no one else wants to.
 
Anonymous
1st Feb 2006
Lol, if I get chance I might take a look at this. I'm not sure if there is a problem with GPL, all of our plugins are free, we just give our memebers a 60 day lead. There's nothing to stop you releasing it on your blog and here at the same time, you could even have the download work from here, but I'd have to give you the code so that the link works as it's a different link for every person ;)

¥
 
Anonymous
2nd Feb 2006
A bit of the cart before the horse here, but when it comes to sorting posts by ranking ... one might be able to use this CSS rollover list to link to some special sort page?



 
 

Recent Comments

     
     

    Archives