WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] result after closed (6 posts)

  1. EvertonPereira
    Member
    Posted 1 year ago #

    Hello Again!

    Another doubt,
    when my poll ends this plugin is not bringing the results
    already tried changing it from the html template poll but without success.

    You can check on the page
    http://site1370631254.hospedagemdesites.ws/enquetes/

    he puts the title in the poll, but does not show the result.
    he would show only
    results and their options

    http://wordpress.org/extend/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hey EvertonPereira,

    Edit your poll and in "View Results:" choose "After Poll End Date" and save.

    Regards,

    YOP Team

  3. EvertonPereira
    Member
    Posted 1 year ago #

    Obrigado novamente!
    Funciona bem!

  4. kalligator
    Member
    Posted 11 months ago #

    Dude this should be in the FAQ. I had to scour through forum posts to find this answer.
    I believe results should show by default in the Polls Archive anyway.

    Also, IMHO polls should not be shown in the Archive unless they've ended.

  5. smoo
    Member
    Posted 10 months ago #

    Hi,
    great plugin, thank you.
    However, I'm also having a problem with displaying the poll results after the poll has finished.

    I want people to be able to see the results straight away when they've voted, so under the 'View Results:' I'd need to choose 'After vote';

    However, I would also like the final results to appear on the poll archive page after the poll has finished. Does this mean that I'd need to remember to change that setting manually after the poll has finished, in order for it to appear on the archive page? Seems a bit strange that these are mutually exclusive, -or have I just misunderstood?

    Thanks for any help..

  6. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hi smoo,

    Edit inc/yop_poll_model.php and look for

    ( 'after-poll-end-date' == $poll_options['view_results'] && self::get_mysql_curent_date() >= $this -> poll['end_date'] )

    (approximately on line 3343)

    After this line add

    || ( 'after' == $poll_options['view_results'] && self::get_mysql_curent_date() >= $this -> poll['end_date'] )

    and it should fix the problem.

    Best wishes,

    YOP Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic