WordPress.org

Ready to get started?Download WordPress

Forums

124

WP Polls (94 posts)

  1. KarlB
    Member
    Posted 10 years ago #

    Thats very nice.
    Thanks
    Karl

  2. Hamoudy
    Member
    Posted 10 years ago #

    That's pretty cool Gamerz
    good work!

  3. Lester Chan
    Member
    Posted 10 years ago #

    thanks =)

  4. Lester Chan
    Member
    Posted 10 years ago #

    @anatman, actually I have no idea how WorrdPress css works because I did not used it, my css skills are not that good? Do you have a screenshot?

  5. Lester Chan
    Member
    Posted 10 years ago #

    thanks uplink =D

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    hey everyone, my post really messed up, and it is missing stuff and such. so just ignore it. GaMerZ and I fixed up the readme to contain the correct instructions, so just use that. anatman, you may want to take a look at that too.
    uplink

  7. anatman
    Member
    Posted 10 years ago #

    GamerZ and uplink,
    Thank you very much. And comparing the two versions i was able to adjust the table a little bit, so now it looks just as i wanted it. I only don't have it online right now because i am testing and adjusting it locally first, before i upload it. Anyway - it will be on at http://www.taijiquan.pro.br.

  8. Lester Chan
    Member
    Posted 10 years ago #

    nice one anatman =)

  9. southerngal
    Member
    Posted 10 years ago #

    Thanks GamerZ, I will play with this today. ;)

  10. Lester Chan
    Member
    Posted 10 years ago #

    @southerngal: =D

  11. Lester Chan
    Member
    Posted 10 years ago #

    oh okie LOL

  12. Lester Chan
    Member
    Posted 10 years ago #

    hmm i used table for the results because it is to tabulate the results not for layout purposes.

  13. huphtur
    Member
    Posted 10 years ago #

    thats a shame, since WP is based around table-less output.
    I guess I will have to hack 'function get_polls()'
    i will post result here for people that like to keep their layout without tables.

  14. Lester Chan
    Member
    Posted 10 years ago #

    sure you can hack it, add ur credits to the top and send me the file so that I can update the file!
    hey but just curious, whats wrong with tables? It is created to tabulate results anyway.

  15. huphtur
    Member
    Posted 10 years ago #

    oh nothing wrong with tables, i just dont like em for layout purposes.
    the poll + result can easely be created without tables.

  16. Lester Chan
    Member
    Posted 10 years ago #

    oh i see, sure thing, when it is done send me a copy? =D

  17. southerngal
    Member
    Posted 10 years ago #

    I took my poll off for the time being, but I went into the files and took the tables out as well. I just called in things through the .CSS. :)

  18. Lester Chan
    Member
    Posted 10 years ago #

    i see. care to share it?

  19. Lester Chan
    Member
    Posted 10 years ago #

    cool. sure link the code =D

  20. Lester Chan
    Member
    Posted 10 years ago #

    Cheers, I have downloaded it =)

  21. starsky
    Member
    Posted 10 years ago #

    I'm a total newbie to this stuff (linux, php, the whole lot), but it seems that in my-hacks.php that Max zipped up, Line 54 (that adds in pollbar.gif) is commented out. Perhaps this should not be the case?

  22. Lester Chan
    Member
    Posted 10 years ago #

    yap, you try to uncomment it?

  23. davidchait
    Member
    Posted 10 years ago #

    GamerZ - tres cool. Another example of a new hack to address 'missing pieces' that users might want.
    -d

  24. Lester Chan
    Member
    Posted 10 years ago #

    Thanks =)

  25. NuclearMoose
    Member
    Posted 10 years ago #

    GamerZ,
    Just installed your Polls hack. Your instructions were spot on, and I had no troubles getting it up and running.
    A couple of things:
    1. When I use a single quote, as in "don't", in the answers, it shows as "don\'t" on the list on my page.
    2. How can force it to leave the answers in the order that I enter them in?
    This is a great hack, by the way. Thanks for bringing it to the WP community.
    Craig.

  26. Lester Chan
    Member
    Posted 10 years ago #

    hi NM, no problem. I make a mistake, I forgot to add strip slashes.
    replace $poll_question->question with
    stripslashes($poll_question->question)
    replace $poll_answer->answers with
    stripslashes($poll_answer->answers)

  27. NuclearMoose
    Member
    Posted 10 years ago #

    Thanks for the help, guys! Much appreciated.

  28. benrad
    Member
    Posted 10 years ago #

    For some reason, the poll is screwing up my layout in IE, but it looks fine in Mozilla...any ideas?
    http://www.3mote.com
    Thanks,
    BenRad

  29. Idony
    Member
    Posted 10 years ago #

    Is there a way to put the voting options in a pulldown menu?
    I'd also be very interested in the css version instead of tables but I don't know enough php to be able to change it myself. Any help is appreciated.
    Oh and it would be good to not be able to vote unless you've ticked a button - I accidentally voted empty and it counts as a vote but of course no graphics are displayed.
    Otherwise great hack :)

  30. Lester Chan
    Member
    Posted 10 years ago #

    benrad: I dun see your poll
    Idony: it can be done, but u need to hack the way it display the voting. But I didnt come across a voting booth in drop down menu.

124

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.