Questions tagged [rating-system]

A system commonly seen on websites that allows users to express their appreciation (or lack there of) of content or what the content is about.

A system commonly seen on websites that allows users to express their appreciation (or lack there of) of content. Default settings can be associated with ratings, such as collapsing comments that are voted down in a threaded view. In more complex systems various ratings can be accumulated as karma that allows a user to do more or less on a site, such as the reputation used here on stack. One of the earliest rating systems on the web is IMDB's movie rating, which did not rate the content of it's users but the movie.

259 questions
2
votes
1 answer

Joomla Rating, intead of showing % i want it to view '8.2/10'?

Im using the component K2, and it's voting/rating system. Currently it displays the rating as a percentage, with some css to view stars. But instead of showing the stars, I want it to say for example, 4.5/5 This is the code for viewing it:
2
votes
1 answer

Star rating ★★★☆☆ CSS for outlook 2010

I would like to create a star rating system for outlook 2010 (email) , I send an email at the customer for evaluate the solution (5 star rating with link html : bad , good, very good ... ) Same of http://yefomit.com/internet/simple_css_rater but…
sarah johns
  • 35
  • 1
  • 5
2
votes
1 answer

ASP rating system wont rate? - why?

I am using this ratingsystem: http://www.chrishardy.co.uk/asp/scripts/accessible-star-ratings/ The problem is that now that everything is set up and ready to use, I can't give any stars. Check out this page to see what I mean: http://bit.ly/HQgxQq I…
user1325927
  • 59
  • 1
  • 3
  • 9
1
vote
1 answer

ajax toolkit - rating control - want to display current rating & allow people to pick that value

I'm trying to use the rating control in the ajax toolkit. I'm currently setting the currentrating to whatever the average rating is for that item. However, that means no one can pick that value. For example - if the current rating is 3, then no one…
merk
  • 1,721
  • 5
  • 23
  • 39
1
vote
1 answer

Rating System Won't Average Correctly

I have a rating system that uses the following equation to generate the rating average: ((Old Rating*Old Times Amount)+New Rating)/New Rating amount However, if the current rating is 3, and it's been rated once, when I rate it three, it says the…
CommunistPancake
  • 597
  • 2
  • 10
  • 22
1
vote
1 answer

Django - Rating System View & Template

I have a content that I'd like to rate on multiple criteria. Imagine this kind of model: class Content(models.Model): name = models.CharField(max_length=50) class Criterion(models.Model): name = models.CharField(max_length=50) content =…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
1
vote
2 answers

Model "Behaviors" in Django

I'm new to Django, moved from PHP with Propel ORM engine. So here is what I am currently doing in Django. My website has several models like Book, Publisher, Comment, Article and so on (it's not the point) Each of them can can be liked or…
user655136
  • 161
  • 2
  • 10
1
vote
1 answer

Star rating only rates upto 4 stars

I am working with the Couchcms v2.3 to create the directory website and recently I was trying to implement the star rating system to the page but I was unable to get the 5 star rating work properly. I am only able to rate upto 1 to 4 stars but when…
Upadesh
  • 13
  • 2
1
vote
1 answer

rating component returns "undefined" (javascript)

I'm facing a challenge from Front End Mentor - interactive rating component. When I use 'console.log' in function 'getRate' it works and logs a number from button. Also, when I assign a number to 'let rate' instead of a function, then function…
Justyna
  • 81
  • 4
1
vote
1 answer

useState resets to init state in CRUD function when edit - ReactStars Component

I'm trying to make a CRUD person function where each person has an array of skills. I want a function where you're able to add/edit/remove skills on a given person. Each array consist of a skill element as a string and a star element as an integer.…
1
vote
1 answer

CodeIgniter 4: Like and Dislike Functionality

I have implemented the following like/dislike code inspired by Code with AWA. EDIT I'm using CodeIgniter now if that changes anything. I have updated my question with the code in MVC style. I also have CSRF tokens enabled and that might be my…
Nyki-Anderson
  • 73
  • 1
  • 10
1
vote
2 answers

Calculate new average afterSave (or something better?) in CakePHP

I'm building a rating system where a user can rate something from 1-5 stars. I was wondering if there's a way to automatically calculate all of a specific item's ratings (from the ratings table where model='x' and foreign_key='y') on afterSave or…
Dave
  • 28,833
  • 23
  • 113
  • 183
1
vote
0 answers

Using react-rater, how to send the rating value to database, and calculate the average rating

I'm trying to add a star rating system using react-rater (new to React, first time adding a star rating system). After setting the rating value to state, console.log(rating) shows the correct value when clicked. However, after reading through the…
1
vote
2 answers

Order by dig-like rating in django

I've got two models: class Post(models.Model): #some fields pass class Vote(models.Model): post = mdoels.ForeignKey(Post) value = models.IntegerField() Votes' value can be either 1 or -1 (user can vote up or down). How can i get a…
DataGreed
  • 13,245
  • 8
  • 45
  • 64
1
vote
3 answers

Can someone recommend a php mysql rating system that I can add to my site

I'm looking for a php/mysql-based rating and comment system that has a one time license fee per site. Can someone recommend something? I could build my own -- I already started but then I was thinking there must be something out there already. It…
techdog
  • 1,451
  • 3
  • 19
  • 38