WP-Polls 2.11 Released

WP-Polls 2.11
» NEW: You Can Now Place The Poll On The Sidebar As A Widget
» NEW: Moved wp-polls.php To wp-content/plugins/polls/ Folder
» FIXED: AJAX Not Working In Opera Browser
» FIXED: Poll Not Working On Physical Pages That Is Integrated Into WordPress
» Download WP-Polls 2.11

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (161 votes, average: 3.83 out of 5)
Loading ... Loading ...

 

78 Responses to “WP-Polls 2.11 Released”

  1. Wii Polls's Avatar
    Wii Polls Says:

    Hate to complain here, but I can’t get this plugin to work 100%.

    The polls work great in the side bar, I can view results, but when I try to go to the Poll Archives, I get the following error….

    Fatal error: main(): Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wiisite1/public_html/wp-content/themes/alexified/header.php on line 1

    my WordPress is installed at the site root, perhaps this is what’s causing the error, in any case I tried changing up the path in the plugin and in my theme header, but no luck. Any tips?

  2. GaMerZ's Avatar
    GaMerZ Says:

    try attaching me your theme index.php and wp-polls.php

  3. Wii Polls's Avatar
    Wii Polls Says:

    Lester, thank you very much for your help, your suggestion did the trick!

    In case anyone else sees this….

    Open “/wp-content/themes/MYTHEME/header.php” at the very top I had to change …

    to …

    ABSPATH is defined in /wp-config.php and thus shoud work for all the plugins

  4. Wii Polls's Avatar
    Wii Polls Says:

    OOOPS it did not automatically convert the < and the > tags, so here is what needs to be replaced again …

    < ?php require(’./wp-blog-header.php’); ?>

    to …
    < ?php require(ABSPATH.’/wp-blog-header.php’); ?&g;

  5. oliver's Avatar
    oliver Says:

    Always loved your plugins, but the new polls is difficult to get running …

    When I vote, it’s endlessly showing the “Loading” Image and nothing is entered into the database.

    Regards, Oliver

  6. TheFes's Avatar
    TheFes Says:

    I can’t get it to work properly.. I’m using the blix theme

  7. GaMerZ's Avatar
    GaMerZ Says:

    oliver: did u have < ?php wp_head(); ? > in your header.php before < /head > tag?

    TheFes: more info pls =D

  8. Lars's Avatar
    Lars Says:

    I’m having some problems with this poll.
    It keeps centering the poll in Firefox. In Internet Explorer it looks just fine.

    One more problem is the poll arcive. It seems to be a CSS problem, but I really don’t know :/

    Hope you can help me out. You can see the problem at http://www.bran.dk

  9. oliver's Avatar
    oliver Says:

    yes

  10. oliver's Avatar
    oliver Says:

    that’s not the reason.

  11. GaMerZ's Avatar
    GaMerZ Says:

    Lars: attached me your wp-polls.php with theme index.php

    oliver: is there a site I can see?

  12. oliver's Avatar
  13. Stephan's Avatar
    Stephan Says:

    Can i use wp-polls also in an article (posting)?

    I got it working in my sidebar without a problem, but i want to use a poll in a weblog article. does this work?

  14. tommy's Avatar
    tommy Says:

    I have the same problem as oliver.

  15. GaMerZ's Avatar
    GaMerZ Says:

    oliver, tommy: I think it is because the site url and wordpress url doesn’t tally.

    For example oliver, your site url is
    http://medinfo.netbib.de/
    But in WordPress you key in
    http://netbib.ub.uni-dortmund.de/medinfo

    That is why the browser block the xml request because the url is different. It is a secruity feature in browsers to prevent phising if I am not wrong.

  16. tommy's Avatar
    tommy Says:

    Possibly, but I’ve been through every possible url available (because I thought that might be it, it is an addon domain but I’ve no problems anywhere else) and none of them work. The part that confuses me is the same thing happens with the democracy plug in.

    I have another solution to the problem and I’ll just use that one instead of asking you to waste your time figuring out why my site doesn’t work.

    thanks.

  17. oliver's Avatar
    oliver Says:

    Oops, I cannot change this double-URL thing, so I have to look at another solution (Tommy?). Or can I use an old version of Polls?

  18. tommy's Avatar
    tommy Says:

    It turns out I had a corrupt installation of wordpress and reinstalling that fixed the problem. Oliver, I was going to use dynamic polls (http://www.cj-design.com/), or advanced polls(http://www.proxy2.de/). Both of them can be a bit difficult to install, and advanced polls requires a mysql.

    If you can’t get either of them to work, try vizu.

    But wp-polls is working now and I’m happy.

  19. GaMerZ's Avatar
    GaMerZ Says:

    thanks for the compliments =D

  20. oliver's Avatar
    oliver Says:

    Thanks, Tommy, for both hints, but “difficult to install” means “impossible for me”, as my php talents are not that great. :-( I tried Democrazy too, but this double url thing (WordPress address differs from Blog address) seems to hinder such plugins efficiently.

  21. GaMerZ's Avatar
  22. oliver's Avatar
    oliver Says:

    suuuppper! It works!! Thanks a lot …

  23. GaMerZ's Avatar
  24. Anand's Avatar
    Anand Says:

    lester, I’m experiencing the same behaviour as oliver.

    Using Firefox, my site has no sub domains or nuttin’

    If you have a minute, could you take a look?

    http://www.badboysummercamp.com

  25. GaMerZ's Avatar
    GaMerZ Says:

    http://badboysummercamp.com works, because ur wordpress options u set the site url to badboysummercamp.com instead of http://www.badboysummercamp.com

    I will try to fix this bug. lol

  26. Wolmah's Avatar
    Wolmah Says:

    I turned it off, but when people vote, it came up.
    Invalid Poll ID Or Poll Answer ID. Poll ID #2, Poll Answer ID #0.

    Care to help on this.

  27. eHarmony Blog's Avatar
    eHarmony Blog Says:

    Hi Lester. I tried 2.11 on Andy Peatling’s Durable theme. First the poll won’t render properly. Second, the bullets in all my bulleted-lists disappear. Can you look at it, please?

  28. GaMerZ's Avatar
    GaMerZ Says:

    Sure, it is style problem, maybe u can attached me ur style.css to my email, gamerz84 AT hotmail DOT com

  29. Giuseppe's Avatar
    Giuseppe Says:

    And when WP-Polls Generated XHTML 1.1, or how to do it??
    ;-)))

  30. GaMerZ's Avatar
    GaMerZ Says:

    ? what do u mean by when?

  31. Giuseppe's Avatar
  32. GaMerZ's Avatar
    GaMerZ Says:

    what is the code u used to put in the polls?

  33. Jayb Carey's Avatar
    Jayb Carey Says:

    Hey,

    I’ve seen your plugin in action across the blogosphere but I have one simple question….

    how the HECK do I put ‘your” poll in a POST???

    It’s great that it works in the sidebar But I’d love to have it in a post.

    I use the binary Blue theme

  34. Giuseppe's Avatar
    Giuseppe Says:

    Sondaggio

    archive code cutted to fix layout problem on archive page.

  35. Giuseppe's Avatar
    Giuseppe Says:

    Sondaggio

  36. _ck_'s Avatar
    _ck_ Says:

    Great job you’ve done, as always.

    Can you think of any variable I can check to determine if a poll is already showing on the page via one of the posts as to not repeat showing a poll in the sidebar? Since the content runs through php before the sidebar is called up, technically this should be possible?

    Thank you.

  37. GaMerZ's Avatar
    GaMerZ Says:

    Giuseppe: ???

    _ck_: technically it is possible, I was thinking if a poll is loaded into the post, maybe

    $poll_id_loaded = array();
    $poll_id_loaded[] = ID_OF_THE_POLL;

    Then in the sidebar we can try something like this

    if(in_array(ID_OF_POLL_U_WANT_TO_CHECK, $poll_id_loaded)) {
    // Do Something
    }

  38. Giuseppe's Avatar
    Giuseppe Says:

    ehm ehm…

    ok perfect, but where i put the code??

    thanks ;-)

  39. _ck_'s Avatar
    _ck_ Says:

    The array idea is good, I decided to make it simpler just to see if ANY poll was already displayed on the page:

    ie.

    function display_pollvote($poll_id) {
    global $wpdb, $poll_on_page;

    $poll_on_page=$poll_id;
    return $temp_pollvote;

    function display_pollresult($poll_id, $user_voted = 0) {
    global $wpdb, $poll_on_page;

    $poll_on_page=$poll_id;
    return $temp_pollresult;

    and in the sidebar
    if (function_exists(’vote_poll’) && !$GLOBALS['poll_on_page'])

    I hope WP doesn’t eat my code but I think you have the idea anyway.
    Doesn’t seem like the smoothest technique but it works.

  40. GaMerZ's Avatar
    GaMerZ Says:

    _ck_: i see, but if there are more than 1 poll on the page, array would be better.

    Giuseppe: do u have a site of something? Maybe u can drop me an email?

  41. _ck_'s Avatar
    _ck_ Says:

    I made a speed improvement in WP-Polls by using CSS and div’s for the pollbars instead of loading three small images which bogs down browser loading time, even on broadband, especially for first time visitors. I doubt I am the first to think of this but just in case, here’s how it’s done:

    Your templates makes it easy, I just changed the results to something like this:

    %POLL_ANSWER% (%POLL_ANSWER_PERCENTAGE%%) %POLL_ANSWER_PERCENTAGE%% (%POLL_ANSWER_VOTES% Votes)">

    and then stuck in my template css something like this:

    .pollbar {margin:1px; padding:1px; font-size:6px; line-height:8px; height:8px; background: #AAAA8A; border:1px solid #444;}

    The nice thing about using css is that you can change make the .pollbar class change colors or sizes based on where it’s being show automagically, ie. #menu .pollbar {} and #content .pollbar {}

    You could even make the css style the default and still use images if you so desire by placing the image as the background of the div and let it fill.

    Last but not least, because it’s a true DIV in there, you can now inject either the vote count or percentage right into the DIV as text and put text-align:center in the CSS, change the text color with color: of course.

    CSS div’s can be made to look almost as pretty as images by using various border styles for each side.

  42. _ck_'s Avatar
    _ck_ Says:

    Your blog keeps eating code statements.
    You need the “preserve code formating” plugin here to fix that:

    http://www.coffee2code.com/archives/2005/03/29/plugin-preserve-code-formatting/

  43. GaMerZ's Avatar
    GaMerZ Says:

    _ck_: interesting, have u applied the changes on ur site? I want to see how does it look like.

  44. orus's Avatar
    orus Says:

    hi GAmerZ just to request you very much a updat to the widget poll with a customizable title/ its very annoying to have POLLS in the sidebar when you have a site in other language !!
    thx a lot:!

  45. GaMerZ's Avatar
    GaMerZ Says:

    Roger that, it will be fixed.

  46. Giuseppe's Avatar
    Giuseppe Says:

    you can see the site from the validator, link some post ago.
    thanks for your interest

  47. Giuseppe's Avatar
    Giuseppe Says:

    I have to exclude poll archive page because don’t work good with css, remeber xhtml 1.1, and try to validate css also

    bye

  48. GaMerZ's Avatar
    GaMerZ Says:

    Whether it is XHTML 1.0 or 1.1 it depends on your theme because Poll Archive include header from ur theme.

  49. Giuseppe's Avatar
    Giuseppe Says:

    The theme is Jowra modified only in css and work without errors before i plugin wp-polls.

    The archive page put the sidebar under the polls, probably is the maybe go in to resolve.

    thanks

    P.S where can i download 2.12 beta?
    P.S.2 to upgrade only overwrite is needed?
    P.S.3 the problem go away with the 2.12 beta?

  50. Giuseppe's Avatar
    Giuseppe Says:

    The archive page put the sidebar under the polls, probably is the DIV maybe go in P to resolve.

  51. GaMerZ's Avatar
    GaMerZ Says:

    P.S: I will post it in the next comment when i get home.

    P.S.2: Deactivate the current plugin, overwrite the files and activate it again. And of course follow the instructions on the readme.html under the Upgrdae and Usage Tab.

    P.S.3: Yap, it goes away because it will integrate the archives into the page like what u see in this site.

  52. GaMerZ's Avatar
  53. Dr J's Avatar
    Dr J Says:

    Is anyone else finding it next to impossible to style the poll options text in IE? I list items that are the choices in the polls, I can’t seem to style them. In IE they are this blocky, black text that looks terrible. Even on this site here (www.lesterchan.net) they look awful. Of course, FF and Opera are fine, but IE looks nasty.

    Has anyone been able to style the fonts in IE and if so, can you direct me to how you did it?

  54. Dr J's Avatar
    Dr J Says:

    Ok, I see the fix is to uncomment the background: #ffffff; line in the CSS file.

    Can anyone explain why that is the case? Why is the text blocky/jagged in IE without a background color?

  55. GaMerZ's Avatar
    GaMerZ Says:

    it is a bug in IE =)

  56. Dr J's Avatar
    Dr J Says:

    What is a bug in IE? All text doesnt show up that way. Only the text in your WP-Polls plugin. All other text on all my pages work fine except for the list item options in the polls.

  57. GaMerZ's Avatar
    GaMerZ Says:

    when u set something with opacity IE does not handle it properly.

  58. Philippe Corbes's Avatar
    Philippe Corbes Says:

    I begin to translate wp-polls in french.
    Do you want I send it to you when it will be finished?
    Do you have any request?

    I agree for you include it in your project.

  59. GaMerZ's Avatar
    GaMerZ Says:

    sure sure =D

    Thanks alot Philippe

  60. Wat stem jij? | Bakkel dot com's Avatar
    Wat stem jij? | Bakkel dot com Says:

    [...] Ik ben al eens aan het zoeken geweest naar een plugin om polls te houden. Wel nu, ik heb er één gevonden. geweldige plugin met diverse opties en een beetje ajax. [...]

  61. kel's Avatar
    kel Says:

    This is a Wordpress/WP-Polls question to all… I’m hoping to install WP-Polls on a specific page (no sidebar version), but I’d like the come up with a way for the visitor to vote before posting a comment to the page. Anyone have any ideas? Can WP-Polls “talk” to the page somehow to disable commenting until a vote has been cast?
    TIA.

  62. GaMerZ's Avatar
    GaMerZ Says:

    meaning the user must vote before the comments will appear? if it is so, it can be done, need some hacking to the core code and theme. it is not that difficult and not that easy to do.

  63. KrainaMarzen.pl » SuperWordPress! - Najlepsze dodatki's Avatar
  64. Zak³adamy Bloga | Blog Iwanka's Avatar
    Zak³adamy Bloga | Blog Iwanka Says:

    [...] WP-Polls 2.11 Bardzo dobry system ankiet wykorzystuj±cych AJAX. Mo¿na dodaæ je do posta, albo do sidebara. [...]

  65. SimonsBR's Avatar
    SimonsBR Says:

    I try to use wp-polls but when i vote my home loads inside the block of wp-polls i using permanlinks, i can see the results…

    i try to change the request to GET like the results, but i don’t have much success.

    Someone can help me with this?

  66. Giovanni Putignano's Avatar
    Giovanni Putignano Says:

    I have wordpress installed in /catalog/blog/ directory and address blog is /catalog/blog.php. When I click on Polls Archive link I get an error. Should be /catalog/blog.php/pollsarchive/ end not /catalog/blog/pollsarchive/.

  67. GaMerZ's Avatar
    GaMerZ Says:

    Go to Polls -> Polls Options, Fill in the URL to the polls archive =)

  68. Giovanni Putignano's Avatar
    Giovanni Putignano Says:

    Now work! Many thanks.

  69. Louis's Avatar
    Louis Says:

    Hi Lester, I’m a photographer and I am looking for a plug-in that allows visitors to my site to vote on images. There can be upto 5 images per contest. I wonder if WP-Polls can be customized for this? I can tell you are really…it will be great if you can email me. Appreciate this a lot. Thanks!

  70. GaMerZ's Avatar
    GaMerZ Says:

    replied you =)

  71. Giuseppe's Avatar
  72. Dax Desai's Avatar
    Dax Desai Says:

    Have you considered creating a raffle plug-in? I’m considering a charity raffle where some free good provided to me would be raffled off to visitors and the proceeds directly to roomtoread.org, a charity to provide schooling in poor countries.

    If any reader of this blog can point me to such a plug-in/script I’d appreciate it.

  73. GaMerZ's Avatar
    GaMerZ Says:

    raffle? Sorry, but I never head of that before. You might want to google it.

  74. Matthieu's Avatar
    Matthieu Says:

    You plugin is really good
    But an option whick have democracy poll is that the user can add a new answer , i think it is really usefull !
    and also, that the winner can be always 100% and the other result are calculated in purcentage of the winner , it has a better readability

    (sorry for my english, and thanks for all your plugins)

  75. GaMerZ's Avatar
    GaMerZ Says:

    Nah, I do not think I will add in the option of “Add A New” Answer from the user because the user can just play prank and add in any text.

    But normally polls are not based that way.

  76. Running polls to market your site at Vanilla digital's Avatar
    Running polls to market your site at Vanilla digital Says:

    [...] have recently added the wordpress WP-Polls plugin to the vanilla blog as a way of increasing feedback with the readers who have started to [...]

  77. Scooter Schalk's Avatar
    Scooter Schalk Says:

    The poll looked fine, just after I installed it. but as soon as I do the 1st test vote, the bar extended to 100% resulting in my whole sidebar to shift to the bottom of my blog on the left side?

  78. GaMerZ's Avatar
    GaMerZ Says:

    Dude this is WP-Polls 2.11, please use the front page

 

Comments to this post are closed after 30 days of inactivity.