Support » Plugin: YOP Poll » Show results after vote and poll end date

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

    (@yourownprogrammer)

    Hi plucile,

    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

    It works ! Thanks !!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show results after vote and poll end date’ is closed to new replies.