Support » Plugin: YOP Poll » Voters view full result details

  • Resolved thadfiebich


    Great plugin! Is it possible, when a visitor comes to vote, they can view all result details? Such as if i made a few custom friends along with yes/no radio button options. I would like visitors to see all result details, not just the yes/no part.

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


    Hey thadfiebich,

    At the moment our plugin can not include this feature but we will try to make it available at a future release.


    YOP Team

    I linked the database tables and created a query which displays what I want to see. I tried adding simple PHP to the Templates “Before Vote” box. The PHP does not show. Is there a way that I can add my own PHP/mySQL query to a template?

    PS – Im trying to link WP_yop_poll_logs.user_id to wp_users.ID and they dont seem to like each other.. at the moment all I am able to get is a user id number, not the display name. Any thoughts?

    here is my current query

    `SELECT wp_yop_poll_votes_custom_fields.custom_field_value,
    wp_yop_poll_answers.answer AS VARIANCE_answer,
    FROM wp_yop_polls INNER JOIN wp_yop_poll_answers ON = wp_yop_poll_answers.poll_id
    INNER JOIN wp_yop_poll_custom_fields ON wp_yop_poll_custom_fields.poll_id =
    INNER JOIN wp_yop_poll_logs ON wp_yop_poll_logs.poll_id =
    INNER JOIN wp_yop_poll_votes_custom_fields ON wp_yop_poll_votes_custom_fields.poll_id =,
    WHERE’2′ and’5′

    Plugin Author YOP


    Hi thadfiebich,

    We are sorry but currently you can not add your PHP/mySQL query to a template.

    Best wishes,

    YOP Team

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Voters view full result details’ is closed to new replies.