Support » Plugin: YOP Poll » Poll Results empty

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter spankmaster79

    (@spankmaster79)

    Just figured out that I have the option to display results after vote OR after end date

    I need to display results after vote AND after end date.

    Plugin Author YOP

    (@yourownprogrammer)

    Hi spankmaster79,

    Edit inc/yop_poll_model.php and look for

    ( ‘after-poll-end-date’ == $poll_options[‘view_results’] && self::get_mysql_curent_date() >= $this -> poll[‘end_date’] )

    (approximately on line 3343)

    After this line add

    || ( ‘after’ == $poll_options[‘view_results’] && self::get_mysql_curent_date() >= $this -> poll[‘end_date’] )

    and it should fix the problem.

    Best wishes,

    YOP Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Poll Results empty’ is closed to new replies.