Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Integrating ratings and reviews

Quote Reply
Integrating ratings and reviews
(i created a new post and moved this from a response to an old post because of no comments) ...

Ratings/Reviews features are redundant because each allow the user to assign a 1-5 or 1-10 star rating to the same link. This is complicated by the fact that the Rating (Votes) is part of the link's record, while the review is in a separate table. Maybe the designers didn't think any of us would want to use both, or if we want to use reviews we would only want to use them as a separate black box?

What I want to do is take the average 'rating' (i.e. number of stars) from the review and display it with the link on the link or details page. Since I am using reviews, in the interest of Usability, I *cannot* use the 'Rating' feature. So i need to get the average number of stars from the reviews of each link use that.

Here is a solution I just thought of and I'm wondering how to best implement it:

For each link
1. calculate the average rating from all reviews of a link
2. Insert that average rating into the 'Rating' field of the same link

IT would be perfect if this sort of routine could be called everytime I do a build.

Any ideas on how to do this?
Subject Author Views Date
Thread Integrating ratings and reviews kerbouchard2 14541 Jul 10, 2007, 8:37 AM
Thread Re: [kerbouchard2] Integrating ratings and reviews
Jack 14369 Jul 10, 2007, 9:22 AM
Thread Re: [Jack] Integrating ratings and reviews
kerbouchard2 14353 Jul 10, 2007, 9:35 AM
Thread Re: [kerbouchard2] Integrating ratings and reviews
Jack 14375 Jul 10, 2007, 9:42 AM
Thread Re: [Jack] Integrating ratings and reviews
kerbouchard2 14351 Jul 10, 2007, 9:48 AM
Thread Re: [kerbouchard2] Integrating ratings and reviews
Jack 14368 Jul 10, 2007, 10:40 AM
Thread Re: [Jack] Integrating ratings and reviews
kerbouchard2 14353 Jul 10, 2007, 11:18 PM
Thread Re: [kerbouchard2] Integrating ratings and reviews
eupos 14337 Jul 15, 2007, 11:10 AM
Thread Re: [eupos] Integrating ratings and reviews
kerbouchard2 14309 Jul 16, 2007, 7:41 AM
Post Re: [kerbouchard2] Integrating ratings and reviews
eupos 14267 Jul 16, 2007, 11:18 PM
Thread Re: [Jack] Integrating ratings and reviews
chapelier 14054 Nov 27, 2008, 5:17 AM
Thread Re: [chapelier] Integrating ratings and reviews
Jack 14070 Nov 27, 2008, 8:38 AM
Thread Re: [Jack] Integrating ratings and reviews
chapelier 14027 Dec 1, 2008, 11:35 AM
Thread Re: [chapelier] Integrating ratings and reviews
aus_dave 13969 Dec 4, 2008, 7:18 PM
Post Re: [aus_dave] Integrating ratings and reviews
el noe 12862 Jun 8, 2011, 7:11 AM
Post Re: [kerbouchard2] Integrating ratings and reviews
tran 14313 Jul 13, 2007, 10:13 AM