Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author shauno

    (@shauno)

    Hi fmonserrate

    The results will only show if you have the ‘Allow users to see results’ option checked for the image. If you do have that set and it is still not showing, please provided a URL so I can see the problem.

    Thread Starter fmonserrate

    (@fmonserrate)

    Hello,

    Thanks for your reply.

    I have the option checked..
    This is the url:
    https://petspot.info/my-pet/

    Best Regards

    Plugin Author shauno

    (@shauno)

    It looks like it works perfectly? The results show after the vote is recorded? What is the problem?

    Thread Starter fmonserrate

    (@fmonserrate)

    Really?
    i can’t see any results here….
    What browser you use?

    can you send me please a printscreen,please?

    Plugin Author shauno

    (@shauno)

    I voted on the 5th picture, the puppies sleeping. I voted 1 star to you can really see how the average is affected.

    https://shauno.co.za/tmp/pet_before.png
    https://shauno.co.za/tmp/pet_after.png

    That is in FireFox on Mac OSx. What browser are you using that it doesn’t work?

    Thread Starter fmonserrate

    (@fmonserrate)

    Ok, sorry…
    but i think the results are show to users in text too…
    like “rating 4/5”

    Because of that i ask you some printscreens…

    Is it possible put result in text too, because like now users can’t see average of total ratings/total votes.

    Plugin Author shauno

    (@shauno)

    The results have never shown as text for the star rating type.
    I will consider adding an option to allow showing the results in text format in a future release.

    Thread Starter fmonserrate

    (@fmonserrate)

    Ok! Thanks for your help

    Best Regards

    Plugin Author shauno

    (@shauno)

    I had a spare moment, so I decided to hack up a quick solution for you.

    Put the following code below the voting form tag you added to the gallery template:

    <?php
    global $officalNggVoting;
    $results = $officalNggVoting->getImageVotingResults($image->pid, array('avg'=>true));
    echo 'Rated '.round($results['avg'] / 20, 1).'/5 Stars';
    ?>

    That should be what you want ??

    Thread Starter fmonserrate

    (@fmonserrate)

    Yes, this is it!!thank you!
    But to be perfect it was wonderfull have a total votes too…is it possible?

    example:
    Rated 3/5 in 5 votes

    One more time thank’s for your help!

    Best Regards

    Plugin Author shauno

    (@shauno)

    Always happy to try help a Premium supporter ??

    <?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').'';
    ?>
    Thread Starter fmonserrate

    (@fmonserrate)

    Hello!

    Thanks Shauno!

    Great Premium support you have here…:) ??

    That’s exactly what I needed!!

    Best Regards

    Plugin Author shauno

    (@shauno)

    I’m glad to help, and thank you again for supporting Premium. If you have a minute, you can leave a review of the plugin if you want.
    Let me know if you need anything else ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Voting Results don′t appear’ is closed to new replies.