[Resolved] result after closed
when my poll ends this plugin is not bringing the results
already tried changing it from the html template poll but without success.
You can check on the page
he puts the title in the poll, but does not show the result.
he would show only
results and their options
Edit your poll and in “View Results:” choose “After Poll End Date” and save.
Dude this should be in the FAQ. I had to scour through forum posts to find this answer.
I believe results should show by default in the Polls Archive anyway.
Also, IMHO polls should not be shown in the Archive unless they’ve ended.
great plugin, thank you.
However, I’m also having a problem with displaying the poll results after the poll has finished.
I want people to be able to see the results straight away when they’ve voted, so under the ‘View Results:’ I’d need to choose ‘After vote’;
However, I would also like the final results to appear on the poll archive page after the poll has finished. Does this mean that I’d need to remember to change that setting manually after the poll has finished, in order for it to appear on the archive page? Seems a bit strange that these are mutually exclusive, -or have I just misunderstood?
Thanks for any help..
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.
- The topic ‘[Resolved] result after closed’ is closed to new replies.