WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] Deleting Log Does Not Reduce Poll Count (5 posts)

  1. andoverit
    Member
    Posted 1 year ago #

    Have setup a poll and had some people multiple voting so have deleted their votes. Only problem is that the overall results do not seem to show this.

    For example, 450 votes in a poll and I delete 50 of them, the poll still shows 450 votes - not the 400 it should be.

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

  2. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hello

    Deleting votes from the logs won't do the trick.
    You will need to delete votes directly from the database.

    Best Regards,
    YOP Team

  3. andoverit
    Member
    Posted 1 year ago #

    Done that - still no change

    Removed entried from the "wp_yop_poll_logs" table

  4. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    You need to edit wp_yop_polls and also wp_yop_poll_answers.

    First edit wp_yop_polls and set total_votes = 0 and total_answers = 0 based on the poll id.

    Then edit wp_yop_poll_answers and set column votes to 0 for all the answers that have the poll_id you want to edit.

    Please let us know if you have any other questions.

    Best Regards,
    YOP Team

  5. andoverit
    Member
    Posted 1 year ago #

    That's great - thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.