• Resolved janc76

    (@janciriack)


    First of thank you for this wonderful plugin. I like its simplicity and its flexibility in customization.

    I am looking for a way to list all my open polls on a page and users should still be able to vote. So far I can only help myself by hardocoding all polls by shortcode. An automatic way would be appreciated. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Sorry the plugin was not designed to have a vote archive due to the number of SQL queries needed if we have that page.

    Thread Starter janc76

    (@janciriack)

    Why are there more SQL queries required than on a closed archive page? It’s the same number of polls with even less information.

    Plugin Author Lester Chan

    (@gamerz)

    Because for closed page, I don’t need to check whether the user has voted. That saves a query.

    Thread Starter janc76

    (@janciriack)

    What do think of adding a parameter ‘closed’ to the archive shortcode which defaults to true but let the query return open polls when set to false? I mean one extra query per poll on a paginated archive should be fine, shouldn’t it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Votable archive list’ is closed to new replies.