I noticed that when liking or disliking a photo, the following bugs appear:
- when a photo has not been voted on, and I click "dislike", the percentage will go to 0% - so far so good - when I refresh however, the percentage is suddenly 100%. It does count the votes, but for as long as there are only dislikes, it will always show 100%
- I can like/dislike a photo multiple times with refreshing- even though it's set to "rating once, by IP"
This does not happen with videos, only with photos.
could you check and confirm please?
and on another note, here is a suggestion for voting in general:
how about we don't display a percentage at all if video/photo hasn't been rated yet. I find it a bit "unfair" that unrated items show 100%
when in fact nobody cared to rate. and items with let's say 9 likes and 1 dislike show 90%.
what do you say? :-D
Hmm...the first part is how it was designed, if there are only dislikes, the percent will always be 100%. Once a like is added, the real percent will appear. I will check the second part. For your suggestion, you can modify this for your site, only a few files need to be changed, however for the script for now i'll leave it like it is now. I will change in a future version is other clients also want this.