|
I've a simple posts model with title:string and rating:integer and I want to add the ability to rate the posts. So far I have
#Post controller def increase @post = Post.find(params[:id]) @post.increment! :rating flash[:notice] = "Thanks for your rating...
Started by Senthil on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
#Views <%= link_to post.rating, increase_post_path(post) %> #Controller def increase @post = Post.find(params[:id]).increment....
Member => { :increase => :put }
And this will create the route "increase_post_path.
|
|
Rating of Posts I favor having a system where members can rate the posts of other members as either favorable, "thumbs up" or unfavorable "thumbs down". The Truth has a liberal bias.
Started by Tom Joad on
, 20 posts
by 9 people.
Answer Snippets (Read the full thread at politicsandcurrentaffairs):
Against give points ranging from 1 to 10 for....
I am of the opinion that we give points ranging from 1 to 10 for quality of the post.
I think being able to formally rate a post will at least.
And it isn't going to go away.
Of insults.
|
|
To expand on the Like system, we've now taken the Post Rating modification live. Don't get too attached to the current ones but give it a whirl and see what you think. If you guys like it, we'll expand the various choices into some more funky ones. We...
Started by Azhria Lilu on
, 20 posts
by 7 people.
Answer Snippets (Read the full thread at adminextra):
You I'll but I do believe the like....
I think they are really a thing of the past these days .
By purchasing an Account Upgrade ~ I guess I'm in that 'special' group as I see no such rating options it is @gerdgrossmann Post ratings....
|
Ask your Facebook Friends
|
Bob has kindly turned on a rating system for posts in this forum.
This forum has provided many real world solutions to common and not common problems for many users, be they old hands or newcomers, and to make the rating system work it might help to know...
Started by MSIMaker on
, 13 posts
by 7 people.
Answer Snippets (Read the full thread at appdeploy):
It's true that many users don't know there is a rating mechanism in place, and therefore don't rate posts you do on this site, or a way to rate your users? i rather be without the points, scores, shirts to chase people for....
|
|
Obama Approval Rating Up to 53% - Romney Unfavorable Rating 68% But only 54% among registered Republicans alone.
Obama is up 8 points from the last poll.
Newt is practically a blip on the screen now.
And crazy Rick Santorum is coming on strong.
http:/...
Started by larry50 on
, 20 posts
by 8 people.
Answer Snippets (Read the full thread at harmony-central):
Http://www.youtube.com/watch?v=oQR2Xq_hSjs Boycott Sweep Picking / Solid State....
He can't lose if the economy/jobs makes progress.
As long as the economy and jobs get better every week, so will O'Bummer's poll numbers .
It will change again next week too.
|
|
Stewart1champ PwnedGamers Post Rating Icons
Additional icons for DarkImmortals Post Rating Add-On.
Read more
Started by stewart1champ on
, 5 posts
by 3 people.
Answer Snippets (Read the full thread at xenforo):
Post Rating Icons with a new blog entry:
PwnedGamers Post Rating Icons v 2.0.
|
|
I would like to have reusable ratings (typical layout with 5 stars). I have found this http://www.thebroth.com/blog/119/css-rating-stars that explains how to display this using css. For actually collecting the rating I was thinking of using an image map...
Started by daefu on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It can give you the rating as a percent a widget, I like a seperate rating....
For the rating and click on the stars to submit, here you might want to post it as json object using xhrThere is a django-ratings app on PyPi.
|
|
Hi,
I'm using the JQuery star rating plugin (v2.61) from http://www.fyneworks.com/jquery/star-rating/ . Everything's going well, but I'd like to disable the stars when a user has voted.
Currently my users select their rating and click the mouse. This ...
Started by planetjones on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
ContentType: "application/json; charset" type="radio" class="star" disabled="disabled....
Data: ...
JQuery.ajax({ type: "POST", url: ...
$("...").unbind();
This may be similar to your 'reload the div' solution is completed .
On post to the server.
|
|
The actual question is a little more complex than that, so here goes.
I have a website which reviews games. Ratings/reviews are posted for each game, and so I have a MySQL database to handle it all.
Thing is, I'd really like a page that showed what score...
Started by different on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
SELECT DISTINCT game.gameName, game.gameImage, review.ourScore FROM game LEFT JOIN review ON game.ID = review.gameID ORDER BY review.postedOn LIMIT 10
Or something like that, check out how to use the Distinct first, I'm not sure on the syntax, and you... .
|
|
I'm very new to web technologies and this is basically for a term project that my team is working on. We are working on a food review site.
As of now, I'm not quite sure how to implement a simple 5-star rating system. Am I supposed to use a server-side...
Started by Chris Vinz on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Some sort of average out if they don't get 'exact precision'
Rating should be stored in MySQL database
Any database/jquery/star-rating/
prototype: ....
Vote.php , and pass into it the ID of your food and the rating given by the user.
|