Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The user can vote. The vote status text under the star icons shows that the vote is being saved and the vote is saved. However, when I load the content again it says vote is not casted yet!
Any suggestion?
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedPlease update to the latest dev snapshot release and re-open this issue if the problem persists.
Comment #2
udvranto CreditAttribution: udvranto commentedInstalled the latest dev snapshot. The problem still persists.
Comment #3
udvranto CreditAttribution: udvranto commentedI found the problem. This is probably related to this voting api problem (and the fix I am using): http://drupal.org/node/768284 .
To fix it I had to modify the fivestar_get_votes function. I am using the following fixed version. Note how I had to get the count using the 'points' criteria:
Comment #4
StevenWill CreditAttribution: StevenWill commentedsubscribing
Comment #5
dgtlmoon CreditAttribution: dgtlmoon commentedYeah it kind of sort-of vaguely works when I try your method above, but it's still not right, under current 6.x dev it now says
Your rating: None Average: 0 (96 votes
hmm
Comment #6
udvranto CreditAttribution: udvranto commentedNot sure why this wouldn't work. You output looks exactly like the unpatched function output. Please, make sure you patched/updated the function correctly.
Comment #7
whiteph CreditAttribution: whiteph as a volunteer commentedSorry, Drupal 6 is end of life, and is no longer supported.