Title: Poll Plugin for WordPress
Last modified: August 18, 2016

---

# Poll Plugin for WordPress

 *  [pera](https://wordpress.org/support/users/pera/)
 * (@pera)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/)
 * It’s for WordPress 1.2, will it work with WordPress 1.5 to ?

Viewing 12 replies - 16 through 27 (of 27 total)

[←](https://wordpress.org/support/topic/poll-plugin-for-wordpress/?output_format=md)
[1](https://wordpress.org/support/topic/poll-plugin-for-wordpress/?output_format=md)
2

 *  [paddymann](https://wordpress.org/support/users/paddymann/)
 * (@paddymann)
 * [21 years ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181613)
 * Hi, a few points.
 * The installation script, almost certainly, is failing because you haven’t uploaded
   a fixed version of wp_settings.php.
 * Secondly there are a few bugs that could do with addressing.
 * – Slashes aren’t dealt with very well. Please refer to [http://uk.php.net/manual/en/function.get-magic-quotes-gpc.php](http://uk.php.net/manual/en/function.get-magic-quotes-gpc.php)
   so as to only add slashes if it hasn’t already been done!
    – And remove slashes
   from input boxes [shown after giving a poll name including quotation marks or
   apostrophes] – And finally, as of bugs I’ve currently come across, please put
   up a polite message if no poll is found 🙂 Rather than a somewhat unattractive
   MySQL error.
 * Cheers, looking forward to using it, will post again if I manage to successfully
   fix the above for my site.
 *  [DDT](https://wordpress.org/support/users/ddt/)
 * (@ddt)
 * [21 years ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181617)
 * hmm, ok I have installed the poll plugin and it works almost perfect. Two thingies.
 * 1 View results doesn’t work. And I find it strange because after voting it does
   show the results. I guess in my case the results are only shown when var showresults
   =1 and var vote exists. How can I solve this?
 * 2 Cookies don’t work I can vote as much as I want????
 * Any pointers???
 *  [paddymann](https://wordpress.org/support/users/paddymann/)
 * (@paddymann)
 * [21 years ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181619)
 * i had the same cookies problem – its not really a great method .. but then there
   aren’t any good methods for polls (?), other than insisting everyone signs up.
 * personally i’ve uninstalled the addon for the moment and will return to it when
   i have more time.
 *  [flavarite](https://wordpress.org/support/users/flavarite/)
 * (@flavarite)
 * [21 years ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181621)
 * Thanks for the great plugin. So far everything works great. I’ve come accross
   an issue with using Permalinks and the poll plugin.
 * I had permalinks on in WP but turned them off to get this to work for the time
   being. When viewing a post via its permalink and you click on VIEW RESULTS for
   any poll on that page it errors out with the following message as an example:
 * The requested URL /2005/06/05/briannes-gonna-be-21-the-plan/index.php was not
   found on this server.
 * Any ideas on how to get thsi plugin to work with permalinks on?
 * The cookies aren’t working for me either. Any ideas on this yet? It’s allowing
   me to vote on the same poll more than once.
 *  [smilingjack](https://wordpress.org/support/users/smilingjack/)
 * (@smilingjack)
 * [21 years ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181622)
 * For cookie support see my post here:
    [http://wordpress.org/support/topic/34555](http://wordpress.org/support/topic/34555)
 * Hope that helps.
 *  [caipirina](https://wordpress.org/support/users/caipirina/)
 * (@caipirina)
 * [21 years ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181624)
 * so .. is there any working poll plugin for WP 1.5 by now? without undergoing 
   the above ordeals ??
 *  [Ringo](https://wordpress.org/support/users/ringo/)
 * (@ringo)
 * [21 years ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181625)
 * I think there’s probably a lot more people that have it working then are posting“
   it’s not working” in this thread. I had no difficulty setting it up or using 
   it. The ONLY thing that got in the way was my wp template layout ……
    You should
   try it caipirina ….
 *  [trimmedinred](https://wordpress.org/support/users/trimmedinred/)
 * (@trimmedinred)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181650)
 * i got this error all works but when someone vote you get the error
 * Warning: Cannot modify header information – headers already sent by (output started
   at /nfsn/content/tpu/htdocs/wp-content/themes/falling_dreams/header.php:4) in/
   nfsn/content/tpu/htdocs/wp-content/plugins/polls.php on line 71
 * if anyone could help please do
 *  [christabone](https://wordpress.org/support/users/christabone/)
 * (@christabone)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181652)
 * It looks like the header error is because of a conflict in the header.php file
   sending information before the setcookie(); command in poll.php. Apparently setcookie();
   technically sends headers to the client computer similarly to normal http headers.
   If any content (i.e. “echo” commands or text) is sent to the client before setcookie();
   is used, an error occurs.
 * There are a couple ways to fix this, but a quick [and sloppy] hack is to edit
   the index.php file in your template and change:
 * <?php get_header(); ?>
    <?php vote_poll(); ?>
 * to
 * <?php ob_start();
    get_header(); vote_poll(); ob_end_flush(); ?>
 * It fixes both the error that you’re seeing and also allows the cookie to function
   properly. In programming terms, it would be much better to re-code the polls.
   php and get the setcookie(); function to work earlier before any of the content
   is sent to the client. The ob_start(); and ob_end_flush(); basically creates 
   a buffer for php to store all the information until the headers are fully established
   and then send the data to the client at once. So long as there isn’t a tremendous
   amount of stuff in the headers.php and poll.php files, everything should be ok.
 * If anyone knows how to successfully re-code the polls.php file, any help would
   be appreciated (so that the hack isn’t required) 🙂
 *  [aktiv](https://wordpress.org/support/users/aktiv/)
 * (@aktiv)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181683)
 * You could give this a try :): [http://www.phpaddons.com/poll-plugin-for-wordpress/](http://www.phpaddons.com/poll-plugin-for-wordpress/)
 *  [juryduty](https://wordpress.org/support/users/juryduty/)
 * (@juryduty)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181702)
 * This poll works GREAT on my site, but the formatting of the archives are all 
   messed up–they skew WAY to the left and right of the page.
 * I’ve been scouring the wp-polls.php file, but can’t seem to find what’s causing
   this behavior. Any ideas?
 * You can see it at [http://www.thechristianguitarist.com/wp-polls.php](http://www.thechristianguitarist.com/wp-polls.php)
 *  [juryduty](https://wordpress.org/support/users/juryduty/)
 * (@juryduty)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181703)
 * NM–I fixed the problem by nesting the poll tables within a second table. No problem
   now! 🙂

Viewing 12 replies - 16 through 27 (of 27 total)

[←](https://wordpress.org/support/topic/poll-plugin-for-wordpress/?output_format=md)
[1](https://wordpress.org/support/topic/poll-plugin-for-wordpress/?output_format=md)
2

The topic ‘Poll Plugin for WordPress’ is closed to new replies.

 * 27 replies
 * 21 participants
 * Last reply from: [juryduty](https://wordpress.org/support/users/juryduty/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/poll-plugin-for-wordpress/page/2/#post-181703)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
