FREE Get a FREE template when you purchase Social bundle 🚀 ⚡️

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Average rating counts only last comment

Ronny Weidner · ·
8:00 PM Monday, 30 July 2018
None
Hi, I'm trying to use Komento as a testimonials page, only allowing guests to comment and using the average rating to 'show off' :)
For some reason the overall rating shown on the comments page only counts the last comment.
I think its the same bug like this guy had: https://stackideas.com/forums/don-t-know-is-it-s-a-bug-but
Support said this will be fixed in next release but unfortunatly it doesnt seem like it is.

First I thought Komento doesn't count ratings if they're from the same IP Adress, so I commented with my smartphone but that didn't work.
I think I fixed it by editing the comments.php model file, but I dont think this will last long because it might get overwritten by updates, right?
I commented out parts of the sql query in the comments model php -> Komento seems to give every comment a user id in the database in 'created_by' but since its all guests everyone has ID 0 so it only shows the last rating (created date). I checked this by changing one of the comments created_by value to a different number.
The page I'm testing this right now: http://neu.küchenprofis.de/erfahrungsberichte
The replies under this section are restricted to logged in users or users with an active subscription with us