scriptygoddess RSS Feed
 
 
 
 

Multi Mini Poll

This script is kind of like that micropoll – except it will allow you to have as many options as you want. Here's a little demo:
Who's your favorite action character:

It should be pretty easy to use. However, this is a BETA (read: UNTESTED and readme probably is poorly written. LOL!) Have fun! ;-)

Here's the download

Update 4/3/03 Here's a version 2 that sets a cookie on the users machine so they can only vote once within x number of hours. Demo here | Download here

41 Responses to “Multi Mini Poll”

  1. 1
    In Nancy's Book:
    American Idol is making me cranky
    During my afternoon surfing I peeked at a spoiler. I couldn't help it and then I was outraged after watching…

  2. 2
    In Nancy's Book:
    The battle ensues
    Who is Kayla's favorite? Buzz Lightyear or Snow White? Diaper changing time has never been more fun folks. Mommy and…

  3. 3
    In Nancy's Book:
    Lemon photo poll
    If you are bored, go to my lightbox at iStockphoto please, and check out the lemons. Then come back here…

  4. 4
    In Nancy's Book:
    Poll Test
    Favorite Browser? Scripty goodness strikes again. I have been wanting this for a long time. Poll script by Scriptygoddess Update:…

  5. 5
    So Very Posh:
    Boredom
    I'm really, really bored (since none of y'all will update your sites!) so I decided to play around with the little minipoll found on ScriptyGoddess. Riddle me this, Batman: Which of the following types of blogs do you prefer reading?…

  6. 6
    Bloggie Broad:
    Ch-ch-ch-ch-ch-changes
    I 'mastered' the arts of PSP brushes and tubes as…

  7. 7
    Smells Like Fish, Tastes Like Chicken...:
    Testing a poll script
    Yes, I want you to click on a choice below. I am testing something and your clicks are helpful to…

  8. 8
    Bloggie Broad:
    Bloggie Scripty Reverb
    I like to keep an up-to-date listing of all the…

  9. 9
    PromoGuy dot Net:
    13.7 ounces of Pure Bliss
    I don't know when it happened, but today I saw that Starbucks now has a BIG Frappuccino on the shelves of the Quick-E Mart! They had both "Coffee" and "Mocha" Flavored. Which do you think I chose? (Dang, I should have installed ScriptyGoddess' Mini Pol…

  10. 10
    Unix Gal:
    Skin cleanup
    I'm going to dump some skins so I can work on my CSS and not have quite so many go…

  11. 11
    anything but ordinary:
    A Girl Wants A Minority Red Robin Report
    Did y'all think I'd fallen off the face of the planet today? ;) Sorry, I neglected to mention that A took today off for Good Friday. We lounged around this morning, attended church, popped by Red Robin for a late…

  12. 12
    TooMuchSexy.blog:
    Two for one: Multi Mini Poll & Sidebar's
    Apologies to those who visited my site before I got the real post up. This post will include two things. First, I integrated Multi Mini Poll into my site. This is a wonderful concept which Jennifer from ScriptyGoddess created. It allows you to integrat…

  13. 13
    Blog Development Project:
    Multi Mini Poll
    Scripts: Multi Mini Poll

    This script is kind of like that micropoll – except it will allow you to have as many options as you want. Here's a little demo:
    Who's your favorite action character: Vin Diesel: 169
      Steven Segal: 56
     &n…

  14. 14
    Couchblog:
    Karmavoting again (Instant Karma 0.1)
    So we've played around with this funny skript called Multi Mini Poll, and built a version from it, to cast

  15. 15
    Micah & Susan's Weblog:
    War Coverage
    Who do you think has been doing the best coverage of the war? (Click on the name of the news network to cast your vote.)…

  16. 16
    Couchblog:
    Karmavoting für Movable Type (endlich)
    Seit längerer Zeit schon wollte ich hier im Couchblog eine Votefunktion für jeden Artikel einbauen ("Karmavote"), mit der der geneigte

  17. 17
    Couchblog:
    Micrpoll
    Once again from scriptygoddess, this time a very tiny poll-script, somewhat I was searching for long, to do something… err,

  18. 18
    Anonymous:

    A REALLY good HTML book is Liz Castro's HTML4 for the World-Wide Web. It's about 15-20 dollars Amazon carries it.

  19. 19
    Tek:

    I tried this but for some reason, people are still being allowed to vote more than once…

    Can someone help me out so I can understand what I did wrong?

    Thanks!

  20. 20
    Tek:

    Okay, since I have skinned my site, it seems that people can vote multiple times. I have included the script on the top of each header page.

    Any ideas?

    It's tallying votes… but I don't want people to vote more than once. =/

  21. 21
    The Realm of Chadness:
    Mini-Poll Test
    I'm testing this fancy mini-poll script I got over at Scriptygoddess. Let's see how it works…

  22. 22
    Miranda:

    Ok, me again I got it working, amazing how the right server path can help. :)

    Well, actually to say I got it working is kinda wrong. Before I had the server path right I decided to leave it while waiting for a reply from my host and I got it this morning, along with an email from them saying that the script had crashed my server lol.

    So I now am forbidden acess to the *other* test folder but I am now trying to fix it here.
    It seems to be working (as in I don't get error messages) but its looping again, so the url is this : http://www.dark-starlight.net/testing/polltest.php so if anyone wants to help… that would be brill… I'm really sorry lol I don't know php very well…

    Miranda

  23. 23
    Jennifer:

    Hack it to your hearts delight! :D I don't mind at all.

  24. 24
    Amy J:

    I'm new to php old to html… but have a server that allows scripts and such but I just can't get this one to work. If anyone could help look at my page and see what I am doing wrong I'd so appreciate it!

    http://twilights.bravepages.com/scripts/pollfiles/poll.php

    I've chmod'd the folder.. changed the path read n reread and tried for hours now… Thanks:)
    Amy

  25. 25
    Bekki:

    I'm not getting an error but i was wondering how i would go about making each answer a seperate line? Thanks!

  26. 26
    Miranda:

    Hi, I was just wondering, in the readme it says to put in the 'full path' to the poll files, is that like the whole url? which for me would be : http://www.dark-starlight.net/googly/polls/pollinclude.php . Or is it something else? Sorry to bother you w/ the little questions I'm just tired ;)

  27. 27
    Jennifer:

    Path to files would be the SERVER path (something like /home/youraccount/public_html/ etc. etc… – get the first part of this path from your host provider – the rest will be the direction into where your files are…)

    To add a line break after each option… open the pollinclude.php file, look for this:

    for ($i=0; $i<count($answerarray); $i++) {
    echo "<a href=\"".$PHP_SELF."?addtopoll=".$poll."&addanswer=".$i."\">". $answerarray[$i]."</a>";

    make it look like this:

    for ($i=0; $i<count($answerarray); $i++) {
    echo "<a href=\"".$PHP_SELF."?addtopoll=".$poll."&addanswer=".$i."\">". $answerarray[$i]."</a><br>";

    (we're just adding a <br> in the end there…)

  28. 28
    Jennifer:

    Heads up – there may be a bug with the ver2 of the script… I'll confirm/fix it tonight… (or delete this comment if it was just me). When I had more than one poll on a page (and more than one type. ie. some ver1 some ver2) it seemed to freak out (putting extra votes all over the place)… it might have been the way I set it up. But just wanted to give you all the heads up in case you were having trouble.

  29. 29
    Jesse:

    Wow, this is exactly what I've been looking for for the past 2 weeks! Thanks!

  30. 30
    Nico:

    I've made some changes to the script to use it for something I#m missing so long since I changed from Greymatter to Movable Type: Karmavoting. You can find the "Instant Karma"-script here. Hope it was allowed to change it that way…

  31. 31
    Amy:

    Jennifer –

    Another way to handle it might be to create a logfile with IP addresses and the unix epoch of the vote time. It WOULD be slower, true, but probably a bit more foolproof than cookies.

  32. 32
    Jason:

    Nico is using this poll to create a karma system for each of his entries. Pretty cool idea, if you ask me.

  33. 33
    Jennifer:

    It wouldn't be too hard to set a cookie to prevent double voting… but if you're voting for Vin up there, you can vote for him as many times as you like ;o) (Sorry – I'm in a silly mood. LOL!)

    I'll take a look at it tonight and see if I can come up with a version 2 for this which prevents double voting (on the same poll)

  34. 34
    Megalion:

    Thanks for this… I'd been wondering lately if anyone had come up with Poll plugins for MT.

    The only catch to this that would appear to be true of micropoll as well is that it has no guard against vote spamming? I was able to click twice on a link and get 2 votes counted…

    I wonder how hard it would be to check IPs and prevent multiple votes within a certain time span (configurable?) in hopes of getting a more unique votes total. That or use a cookie?

  35. 35
    Nancy:

    I had it chmoded to 777 already in a desperate attempt to make it work ;-)

  36. 36
    Jennifer:

    hehehe… I'm happy to see my boyfriend ;-) Vin winning the poll up there. LOL!

  37. 37
    Chad:

    I chmoded the folder I wanted the poll files in to 777, but it still didn't work. So, I scoured the script file for about 15 minutes trying to figure out what I was doing wrong. I wanted the poll files in its own folder. Then I noticed I has the folder specified as: "…/chadness.com/polls" with no trailing slash. So, I added a trailing slash so it looked like: "…/chadness.com/polls/" and it worked. I don't claim to be a guru at php or anything so that was purely a shot in the dark. Just thought I'd mention it here. And thank Jennifer for letting me know to chmod that folder to 777. :-)

  38. 38
    Daynah:

    Hey… now that script is pretty cute! Thanks for sharing. :)

  39. 39
    Jennifer:

    For those of you having trouble with the script – try making the folder where you're putting the poll files: chmod 777
    If that fixes it, let me know and I'll update the readme.

  40. 40
    Nancy:

    Awesome! Thank you so much! I can't wait to play with it :)

  41. 41
    Nancy:

    Ok, I will embarrass myself I am sure, but mine is not working. It was very easy to set up so I am not sure what I could have messed up. I see Chad's isn't working either :(

    My test poll

Categories

Archives

Bookmarks

WordPress Resources

Meta

ADVERTISEMENTS