Regarding "Highest Rated Articles"

Comments

Good Point

That's a good point. However, there is a minimum number of ratings an article must receive before it makes the Highest Rated Articles box. I'm sure there won't be a problem getting the suggested second ordering (by number of ratings) implemented, though.

Thanks!

Check the math...

Actually, it would be better to simply rank them based on their rating beyond two significant digits first and foremost, and then rank them based on number of comments should those numbers be the same. Then let the script round them to the nearest hundredth for display in the sidebar. That may very well be how it works now, but we aren't privvy to the individual rating numbers as members. It is possible one article came in 2 thousands of a point higher, and that's why it's above another article.

The requirements, however, call for a minimum of 5 ratings for an article to appear in the box. If you have another number, and a reason why, feel free to offer it up.

aardvark commented: "Actually, it would be better to simply rank them based on their rating beyond two significant digits first and foremost, and then rank them based on number of comments should those numbers be the same"

Um, yeah... that's what we've been talking about, aard. He suggested having a secondary ordering by number of ratings. In other words, the SQL would have something like ...ORDER BY avg(rating), count(rating). So, glad you agree ;-)

Minimun Number

I figured there was a minimum number of rates for it to show up there, I just wasn't sure what it was. I was just going to the extreme to prove a point when I was talking about one person rating it.

And how exactly do you do this?

Hi guys, this is my first post here, so be generous. Is there any chance someone can help me ouy, and point me in the direction of just how to write a script like your "Highest Rated...." script. I need something basically exactly the same on my site, where people download ringtones, then rate them out of 5. I then want to show the top 5 ringtones. Im thinking that this will practically be exactly the same as your script, with a few minor adjustments. Can someone point me in the right direction please. Ideally, Id like a full script which I can have a look at, and then try and write my own, but articles on how to do this are also welcome. Cheers!! :)

My opinion is that number of

My opinion is that number of ratings plays a big role in determineing the importance of a specific article. We all agree that it's not the same if some article has 4,0 after 2 ratings and another one 4,0 after 20 ratings. Probably the minimum number of ratings to be in Highest Rated Articles should be higher