scriptygoddess

01 Apr, 2003

Multi Mini Poll

Posted by: Jennifer In: Scripts

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 | Nancy

April 1st, 2003 at 10:03 pm

Avatar

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

2 | Nancy

April 1st, 2003 at 11:17 pm

Avatar

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

3 | Daynah

April 2nd, 2003 at 1:06 am

Avatar

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

4 | Jennifer

April 2nd, 2003 at 5:58 am

Avatar

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.

5 | Nancy

April 2nd, 2003 at 10:17 am

Avatar

I had it chmoded to 777 already in a desperate attempt to make it work ๐Ÿ˜‰

6 | Jennifer

April 2nd, 2003 at 2:39 pm

Avatar

hehehe… I'm happy to see my boyfriend ๐Ÿ˜‰ Vin winning the poll up there. LOL!

7 | Chad

April 2nd, 2003 at 6:24 pm

Avatar

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. :-)

8 | Megalion

April 3rd, 2003 at 4:47 pm

Avatar

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?

9 | Jennifer

April 3rd, 2003 at 4:52 pm

Avatar

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)

10 | Amy

April 4th, 2003 at 11:13 am

Avatar

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.

11 | Jason

April 5th, 2003 at 9:51 pm

Avatar

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

12 | Jennifer

April 8th, 2003 at 9:36 am

Avatar

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.

13 | Jesse

April 8th, 2003 at 9:05 pm

Avatar

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

14 | Nico

April 10th, 2003 at 4:47 pm

Avatar

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…

15 | Jennifer

April 10th, 2003 at 5:06 pm

Avatar

Hack it to your hearts delight! ๐Ÿ˜€ I don't mind at all.

16 | Amy J

April 30th, 2003 at 2:49 am

Avatar

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

17 | Bekki

July 6th, 2003 at 2:42 pm

Avatar

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

18 | Miranda

July 9th, 2003 at 4:17 pm

Avatar

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 ๐Ÿ˜‰

19 | Jennifer

July 9th, 2003 at 4:34 pm

Avatar

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…)

20 | Miranda

July 13th, 2003 at 8:48 am

Avatar

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

21 | Anonymous

August 2nd, 2003 at 10:41 pm

Avatar

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

22 | Tek

December 14th, 2003 at 12:30 am

Avatar

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!

23 | Tek

January 9th, 2004 at 10:14 am

Avatar

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. =/

24 | The Realm of Chadness

April 1st, 2003 at 10:45 pm

Avatar

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

25 | Couchblog

April 2nd, 2003 at 1:33 am

Avatar

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

26 | Micah & Susan's Weblog

April 2nd, 2003 at 2:21 am

Avatar

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.)…

27 | Couchblog

April 5th, 2003 at 8:56 pm

Avatar

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

28 | Couchblog

April 10th, 2003 at 4:43 pm

Avatar

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

29 | Blog Development Project

April 14th, 2003 at 9:28 pm

Avatar

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…

30 | TooMuchSexy.blog

April 14th, 2003 at 11:58 pm

Avatar

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…

31 | anything but ordinary

April 18th, 2003 at 9:26 pm

Avatar

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…

32 | Unix Gal

May 4th, 2003 at 1:41 pm

Avatar

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

33 | PromoGuy dot Net

May 29th, 2003 at 10:59 am

Avatar

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…

34 | Bloggie Broad

December 7th, 2003 at 12:36 am

Avatar

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

35 | Bloggie Broad

December 7th, 2003 at 2:02 am

Avatar

Ch-ch-ch-ch-ch-changes
I 'mastered' the arts of PSP brushes and tubes as…

36 | Smells Like Fish, Tastes Like Chicken...

December 14th, 2003 at 12:28 am

Avatar

Testing a poll script
Yes, I want you to click on a choice below. I am testing something and your clicks are helpful to…

37 | So Very Posh

March 19th, 2004 at 6:38 pm

Avatar

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?…

38 | In Nancy's Book

March 30th, 2004 at 10:11 pm

Avatar

Lemon photo poll
If you are bored, go to my lightbox at iStockphoto please, and check out the lemons. Then come back here…

39 | In Nancy's Book

March 30th, 2004 at 10:16 pm

Avatar

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

40 | In Nancy's Book

April 12th, 2004 at 11:23 pm

Avatar

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

41 | In Nancy's Book

April 22nd, 2004 at 3:56 am

Avatar

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…

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements