Pages: [1]
Author Topic: Bug with Ratings display  (Read 240 times)
Customers
Full Member
*

Karma: 0
Posts: 67


Email
on: Feb 18, 10, 11:50 PM

There's a bug with the game ratings display. I did a test on a game. One person voted it 5. Then I voted it a 2. The average = 3.5. But the game page shows 4.5 stars.
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Feb 19, 10, 12:06 AM

check that up in phpMyAdmin ("games" table), what are the values of these params: votes, votes_value, rating? Then reset the game's rating via admin cp and try to vote for it again (1 or more times) and check up those values in database again... For some reason you are getting more problems than anyone else on this forum  Roll Eyes
Logged
Customers
Full Member
*

Karma: 0
Posts: 67


Email
Reply #2 on: Feb 19, 10, 12:12 AM

Maybe everyone else installs the site and then forgets about it instead of testing everything.

I know I'm using a lot of your time. I'll send you a donation after we launch the site. ;-)
« Last Edit: Feb 19, 10, 12:21 AM by Rabies » Logged
Customers
Full Member
*

Karma: 0
Posts: 67


Email
Reply #3 on: Feb 19, 10, 12:49 AM

The problem is I changed "nStarSize" because I wanted bigger rating stars. All that did was mess up your width equation.
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #4 on: Feb 19, 10, 03:36 AM

in this case simply edit the "config.php" file located in your template's folder - adjust the star's size in this line:
Code:
"nStarSize" => 16
(use your new star's width)
Logged
Pages: [1]
 
Jump to: