As I posted on the poll thread, I just voted pretty well randomly (every player for 5, 6 or 7) just for your testing.
When I pressed VOTE the numbers showing for each player changed to be I assume the average rating number of the 3 voters thus far.
When I went back into the thread, all the numbers had disappeared on it now showed that no votes had been cast (was 3).
Cheers
Same - I only rated 10 players but each got an average for all with different color fill, then when you go back in it appears no vote has been entered.
Also be aware when you rate only ten players, you actually are still voting for all of them, just the others will get 0 and bring the average down quite a bit. (if an average of 15 people vote then the vote of 0 represents 1/15 of the overall average)
Vote screen persists even after the user has voted. Votes have been lodged but the display of the vote screen on reload gives he impression that no action has been taken.
Resolution
Data has been submitted, the vote number progresses by one. The intended result is that if a user has submitted ratings the results page would display. How the code is expecting that to happen seems to change user to user, as this is a client side verification (possibly via cookies).
The simplest solution is to always start at the results screen and allow the user to navigate to the vote screen, this would not require verification on page load. The verification process for duplicate voting currently works and only happens on refresh of the page (maybe it’s a timing issue?)
Fix
Changed code to default to the RESULTS page on load. The user can then navagate to the vote page and submit ratings.
Additional Notes
Kevin noted that he only voted for 10 players. Although it was intended that ALL players would be rated, but is understandable that they may not wish to apply any score. Right now that defaults to 0 and skews averages. Maybe adding an option to omit that player from the submission would be fairer. This may need addressing before Round 1.
When I went in to vote this week, the screen showed 3 votes had been made, but the average votes for each player already done was showing in the list, rather than a blank value for each player.
Clicking on the ‘VOTE’ button gave a cleared list and it worked OK after that, and the number of votes cast and the new scores for each showed.
Cheers
Same as mrwalker, it was already displaying results so i left the thread until I read this. Went back and cleared the results then voted, seemed to work OK then.
Is it not refreshed back to 0 each week Steve……happy to clear it but just don’t know if that is the way to do it?
A Recycled Pixel website.
DISCLAIMER
The opinions expressed on Panther Pride are not necessarily those of the site's owners.
Panther Pride or Recycled Pixel accept no responsibility for articles presented, their ownership or implications of ownership.
Panther Pride accepts no responsibility for inadvertent copyright breaches. This website does not have any affiliation with the National Rugby League (NRL) or the Penrith Panthers Rugby League Football Club, nor business connection and has not been endorsed by the National Rugby League or Penrith Panthers.