WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] YOP Poll - HTML as answer won't work after wordpress update (8 posts)

  1. Fincher23
    Member
    Posted 4 months ago #

    Hi I really love YOP Poll!

    I build 12 polls, ready to be posted. All with images as answers realized with HTML:

    <img class="alignnone size-full" alt="Evil Dead" src="/wp-content/uploads/evil-dead_poster-03.jpg" height="180" /> <br>Evil Dead

    for example.
    It worked like a charme, but after updating WordPress it doesn't work anymore. I checked the yop-poll-model.php but the html code line is still replaced with if = ( true )
    Then I thought of reinstalling YOP Poll. But how can I backup the Polls? It was quite some work creating them. Futhermore I don't want to los my Theme either.

    I hope you have an idea what the problem might be. Or can help me how to backup the polls so I can reinstall the plugin.
    Thank you very much in advance.

    All the best
    Steven

    EDIT: Link to the page - http://angstrated.com/angstrated-award-2013
    http://wordpress.org/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 4 months ago #

    Hi Steven,

    For security reasons the "images as answers" option has been removed for the moment.

    We are currently trying to come up with a safe solution that will allow us to make this option available again.

    Best wishes,

    YOP Team

  3. YOP
    Member
    Plugin Author

    Posted 4 months ago #

    Hey Steven,

    We will soon release a new version that will allow you to set links and images as answers.

    Regards,

    YOP Team

  4. Fincher23
    Member
    Posted 4 months ago #

    Thank you for your reply!

    I'm looking forward using the plugin more often.
    It really helped me a lot.

  5. cyberlahy
    Member
    Posted 4 months ago #

    hi,
    the next release with images, can images answers can to be aligned horizontal and vertical ? thanks

  6. YOP
    Member
    Plugin Author

    Posted 3 months ago #

    Hi cyberlahy,

    We have just released a new version (4.9) that includes a fix for this problem.

    Best wishes,

    YOP Team

  7. simonwimell
    Member
    Posted 1 month ago #

    Thanks for a really nice plugin! Could you add the possibility to use html/images in the question as well? At the moment it only works inside answers.

    Best regards,
    Simon

  8. YOP
    Member
    Plugin Author

    Posted 1 month ago #

    Hi Simon,

    Edit inc/yop_poll_model.php and on line 3078 replace

    $template = str_ireplace( '%POLL-QUESTION%', esc_html( stripslashes( $poll_details['question'] ) ), $template );

    with

    $template = str_ireplace( '%POLL-QUESTION%',  stripslashes( $poll_details['question'] ), $template );

    and on line 3081 replace

    $template = str_ireplace( '%POLL-QUESTION%', esc_html( stripslashes( $poll_details['question'] ) ), $template );

    with

    $template = str_ireplace( '%POLL-QUESTION%', stripslashes( $poll_details['question'] ), $template );

    Regards,

    YOP Team

Reply

You must log in to post.

About this Plugin

About this Topic