[Resolved] Results not being refreshed
Hello, thanks for this cool extention,
I installed it and managed to display star voting for images on each image : i added :
<?php echo nggv_imageVoteForm($image->pid); ?> <?php global $officalNggVoting; $results = $officalNggVoting->getImageVotingResults($image->pid, array('avg'=>true, 'num'=>true)); echo 'Rated '.round($results['avg'] / 20, 1).'/5 Stars in '.$results['number'].' '.($results['number'] == 1 ? 'vote' : 'votes').''; ?>
between the < / a > and the </div> in nextgen-gallery/view/gallery.php
problem is that when I vote, the stars displayed are not actualised, and whenever I refresh the page, nothing changes, I still have the “old” results.
It seems to be refreshed when i click [Show picture list], but if I F5 the page again, it is gone…
Chrome browser, windows XP.
Last thing : the text x/5 Stars in y votes is not displayed at all.
Last last thing : on my android phone (chrome browser), I can see the text, nut I have the same issues for the persistence of the stars.
Any idea about this mystery ?
Thanks in advance and best regards
edit : I could see my changes when coming back from my coffee, is there any intentional delay between the server and what is sent to the browser ?
- The topic ‘[Resolved] Results not being refreshed’ is closed to new replies.