Support » Plugin: YOP Poll » YOP Poll – HTML as answer won't work after wordpress update

  • Resolved Fincher23

    (@fincher23)


    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/

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

    (@yourownprogrammer)

    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

    Plugin Author YOP

    (@yourownprogrammer)

    Hey Steven,

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

    Regards,

    YOP Team

    Thread Starter Fincher23

    (@fincher23)

    Thank you for your reply!

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

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

    Plugin Author YOP

    (@yourownprogrammer)

    Hi cyberlahy,

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

    Best wishes,

    YOP Team

    simonwimell

    (@simonwimell)

    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

    Plugin Author YOP

    (@yourownprogrammer)

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘YOP Poll – HTML as answer won't work after wordpress update’ is closed to new replies.