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: $poll = "actioncharacter"; $answers = "Vin Diesel ||| Steven Segal ||| Arnold Schwarzenegger ||| Silverster Stallone"; include("/home/hipmonke/public_html/scriptygoddess/testarea/miniMultiPoll/pollinclude.php"); ?>
It should be pretty easy to use. However, this is a BETA (read: UNTESTED and readme probably is poorly written. LOL!) Have fun!
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
April 22nd, 2004 at 3:56 am
During my afternoon surfing I peeked at a spoiler. I couldn't help it and then I was outraged after watching…
April 12th, 2004 at 11:23 pm
Who is Kayla's favorite? Buzz Lightyear or Snow White? Diaper changing time has never been more fun folks. Mommy and…
March 30th, 2004 at 10:11 pm
If you are bored, go to my lightbox at iStockphoto please, and check out the lemons. Then come back here…
March 30th, 2004 at 10:16 pm
Favorite Browser? Scripty goodness strikes again. I have been wanting this for a long time. Poll script by Scriptygoddess Update:…
March 19th, 2004 at 6:38 pm
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?…
December 7th, 2003 at 2:02 am
I 'mastered' the arts of PSP brushes and tubes as…
December 14th, 2003 at 12:28 am
Yes, I want you to click on a choice below. I am testing something and your clicks are helpful to…
December 7th, 2003 at 12:36 am
I like to keep an up-to-date listing of all the…
May 29th, 2003 at 10:59 am
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…
May 4th, 2003 at 1:41 pm
I'm going to dump some skins so I can work on my CSS and not have quite so many go…
April 18th, 2003 at 9:26 pm
Did y'all think I'd fallen off the face of the planet today?
April 14th, 2003 at 11:58 pm
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…
April 14th, 2003 at 9:28 pm
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…
April 10th, 2003 at 4:43 pm
So we've played around with this funny skript called Multi Mini Poll, and built a version from it, to cast
April 2nd, 2003 at 2:21 am
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.)…
April 5th, 2003 at 8:56 pm
Seit längerer Zeit schon wollte ich hier im Couchblog eine Votefunktion für jeden Artikel einbauen ("Karmavote"), mit der der geneigte
April 2nd, 2003 at 1:33 am
Once again from scriptygoddess, this time a very tiny poll-script, somewhat I was searching for long, to do something… err,
August 2nd, 2003 at 10:41 pm
A REALLY good HTML book is Liz Castro's HTML4 for the World-Wide Web. It's about 15-20 dollars Amazon carries it.
December 14th, 2003 at 12:30 am
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!
January 9th, 2004 at 10:14 am
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. =/
April 1st, 2003 at 10:45 pm
I'm testing this fancy mini-poll script I got over at Scriptygoddess. Let's see how it works…
July 13th, 2003 at 8:48 am
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
April 10th, 2003 at 5:06 pm
Hack it to your hearts delight!
I don't mind at all.
April 30th, 2003 at 2:49 am
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
July 6th, 2003 at 2:42 pm
I'm not getting an error but i was wondering how i would go about making each answer a seperate line? Thanks!
July 9th, 2003 at 4:17 pm
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
July 9th, 2003 at 4:34 pm
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…)
April 8th, 2003 at 9:36 am
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.
April 8th, 2003 at 9:05 pm
Wow, this is exactly what I've been looking for for the past 2 weeks! Thanks!
April 10th, 2003 at 4:47 pm
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…
April 4th, 2003 at 11:13 am
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.
April 5th, 2003 at 9:51 pm
Nico is using this poll to create a karma system for each of his entries. Pretty cool idea, if you ask me.
April 3rd, 2003 at 4:52 pm
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)
April 3rd, 2003 at 4:47 pm
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?
April 2nd, 2003 at 10:17 am
I had it chmoded to 777 already in a desperate attempt to make it work
April 2nd, 2003 at 2:39 pm
hehehe… I'm happy to see my boyfriend
Vin winning the poll up there. LOL!
April 2nd, 2003 at 6:24 pm
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.
April 2nd, 2003 at 1:06 am
Hey… now that script is pretty cute! Thanks for sharing.
April 2nd, 2003 at 5:58 am
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.
April 1st, 2003 at 10:03 pm
Awesome! Thank you so much! I can't wait to play with it
April 1st, 2003 at 11:17 pm
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