WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls Version 2.0 (42 posts)

  1. Lester Chan
    Member
    Posted 8 years ago #

    Hi guys,

    I have upgraded my WP-Polls to version 2.0. I need some of you guys to help me test for bugs/typos.

    Below are some of the changes.
    // Version 2.0 (20-10-2005)
    - ADDED: IP Logging
    - ADDED: Poll Options: Sorting Of Answers In Voting Form
    - ADDED: Poll Options: Sorting Of Answers In Results View
    - ADDED: Poll Options: Number Of Polls Per Page In Poll Archive
    - ADDED: Poll Options: Choose Poll To Display On Index Page
    - ADDED: Poll Options: Able To Disable Poll With Custom Message
    - ADDED: Poll Options: Poll Templates
    - ADDED: Display User's Voted Choice
    - EDITED: Better Install/Upgrade Script

    Please get back to me if there is any error through my email/forum/this thread.

    Download: http://www.lesterchan.net/others/downloads.php?id=10

    Thanks guys!

  2. BoInG
    Member
    Posted 8 years ago #

    hy there - i have install this script one one of my wp sites... il will right back if i found something buggy. Tnx for the plugin

  3. Lester Chan
    Member
    Posted 8 years ago #

    okie np thanks

  4. Lester Chan
    Member
    Posted 8 years ago #

    // Version 2.01 (25-10-2005)
    - FIXED: Upgrade Script To Insert Lastest Poll ID Of User's Current Polls, Instead Of Poll ID 1
    - FIXED: Replace All <?= With <?php
    - FIXED: Added addalshes() To $pollip_user
    - FIXED: Better Localization Support (80% Done, Will Leave It In The Mean Time)

    Download: http://www.lesterchan.net/others/downloads.php?id=10

  5. estjohn
    Member
    Posted 8 years ago #

    Ahh I think I might have it working :)
    well.. kinda... it isnt recording a "test" vote I did and http://www.aleeya.net/wp-polls.php does not look right

    Any suggestions? I followed the readme...

  6. Lester Chan
    Member
    Posted 8 years ago #

    estjohn: I have emailed you the debug method, get back to me by email when you uploaded it. Cheers

  7. estjohn
    Member
    Posted 8 years ago #

    Hmm the last email from you I got was asking if it had made a cookie.. and I replied it had not. I ended up disabling the polls. I will be gone for a couple of weels, and can work on it afterwards.

  8. Lester Chan
    Member
    Posted 8 years ago #

    okie then sure. I did reply you again afetr that email

  9. hendrixf
    Member
    Posted 8 years ago #

    I installed the plugin but ran into a problem. I have a domain pointer pointed at my WP directory. When you vote the plugin looks up http://www.blog2.com. My directory for WP is located in /blog2. Is there a way to hard code the path of my site into the plugin? My site is http://www.blankmindblog.com

    thanks

  10. Lester Chan
    Member
    Posted 8 years ago #

    Sure, open up line 95 of polls.php
    echo '<form action="'.$_SERVER['REQUEST_URI'].'" name="polls" method="post">'."n";
    Replace with
    echo '<form action="www.blankmindblog.com" name="polls" method="post">'."n";

    Get back to me if it works =)

  11. hendrixf
    Member
    Posted 8 years ago #

    Thanks for the quick response. I made the changes you suggested and still got the same result. So I used the real path to my blog. The post method works (sorta) now but does not post the vote as a result. Also if you click on the "Poll Archives" the page loads ok but my sidebar is too low. Check it out at http://www.blankmindblog.com .

  12. Lester Chan
    Member
    Posted 8 years ago #

    i will reply you in my forums =)

  13. Lester Chan
    Member
    Posted 8 years ago #

    // Version 2.02 (05-11-2005)
    - FIXED: Showing 0 Vote On Poll Edit Page
    - FIXED: Null Vote Being Counted As A Vote
    - FIXED: Auto Loading Of Poll Option: Polls Per Page In Poll Archive Page Is Now "No"
    - ADDED: Host Column In Poll IP Table To Prevent Network Lagging When Resolving IP
    - ADDED: New Poll Error Template

  14. witchwife
    Member
    Posted 8 years ago #

    I am having some problems. I followed the install and got this error on the admin side:

    WordPress database error: [Unknown column 'pollip_host' in 'field list']
    SELECT pollip_aid, pollip_ip, pollip_host, pollip_timestamp, pollip_user FROM wp_pollsip WHERE pollip_qid = 1 ORDER BY pollip_aid ASC, pollip_user ASC

    I also get an error on the user side. You can see it at http://www.notjust4techs.com.

    Anybody know what is going on?

  15. Lester Chan
    Member
    Posted 8 years ago #

    did you try running poll-upgrade-202.php? I think I missed putting in the upgrade for poll-install.php

    Sorry about that.

  16. scarty
    Member
    Posted 8 years ago #

    Warning: Cannot modify header information - headers already sent by (output started at /home/jrjavier/public_html/wordpress/wp-content/themes/blix/header.php:2) in /home/jrjavier/public_html/wordpress/wp-content/plugins/polls.php on line 257

    -----
    everytime i cast my votes this errors show up.... any idea ?

  17. Vryce
    Member
    Posted 8 years ago #

    I have the same problem. Usually that message is from the listed file having blank space after the closing ?>
    but that isn't the case currently.

  18. Lester Chan
    Member
    Posted 8 years ago #

    Sorry it is my bad, some themes send headers and some themes doesnt send header, overlook that on my part. To solve the problem

    Find:
    add_action('wp_head', 'vote_poll');
    Replace:
    add_action('init', 'vote_poll');

    It is a bug and it will be fixed with the next release.

  19. Vryce
    Member
    Posted 8 years ago #

    That did it. Thanks.

  20. sargis
    Member
    Posted 8 years ago #

    For what reason does not work?
    http://inde.ru/party/wp-polls.php

  21. Lester Chan
    Member
    Posted 8 years ago #

    did u activate the polls plugin? did u put polls.php into plugins folder?

  22. Zulan
    Member
    Posted 8 years ago #

    Thanks GamerZ, the poll works exellent!

  23. Lester Chan
    Member
    Posted 8 years ago #

    no problem =)

  24. ttk_2k
    Member
    Posted 8 years ago #

    On the Polls-admin page, there's a place "Total Polls:", the number after it is always "21". This is not correct, eh?

    I've just checked the polls-manager.php, and i see you gave a variable $i, which makes me really confusion, this variable prints the number after following command run:

    <?php
    for($i=2; $i <= 20; $i++) {
    echo "<option value=\"$i\">$i</option>";
    }
    ?>

    that's why it's always "21", which is 20+1.

    Sorry for my poor English, but I think you understand what I mean. Could u pls explain this?

    THX

  25. Lester Chan
    Member
    Posted 8 years ago #

    This is the number of poll answer you can create. I dun think you can go above 20 poll answer per poll. If you can go over it, you can just change the 20 value.

  26. ttk_2k
    Member
    Posted 8 years ago #

    Aha, I thought that it's the number that: how many questions we have for polls.

  27. Lester Chan
    Member
    Posted 8 years ago #

    what do u mean?

  28. justjermaine
    Member
    Posted 8 years ago #

    hey Gamerz could u help me with my poll
    i have no errors or something like that
    when i click on a answers...the pages refreshes..but it wont count any results

    info@jermainelievendag.nl

  29. Lester Chan
    Member
    Posted 8 years ago #

    do u have a url to the site or poll? I checked jermainelievendag.nl and the poll is not wp-polls.

  30. sargis
    Member
    Posted 8 years ago #

    Yes I made active addition to the program of interrogations. Also placed polls.php in a folder of additions to the program.

Topic Closed

This topic has been closed to new replies.

About this Topic