UBB.Dev
Posted By: blaaskaak [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 11:23 AM
Okay, this is early stuff made by me, it's not exactly clean programming skills. But it does the job even it if's basic.

It will show you the votes, who voted, and you can remove votes if you want. It does not work when you allow anonymous users to vote.

Unpack the zip and upload the pollview.php file to the /admin directory, and just call it from your browser. It will show the latest 20 polls where you can click on the view the results.

If you like it, bring on your ideas. I might pick up on them.


Description: pollview.php
Attached File
pollview.zip  (16 downloads)
Posted By: sirdude Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 1:35 PM
:evil laugh:

/me grabs zip and runs away shrieking...

gonna try this one!! smile
Posted By: blaaskaak Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 4:24 PM
I was glad the download count was still at zero, I replaced the zip. Can't believe I uploaded what I did this morning, with url's hardcoded in it, table prefix hardcoded. Pff.

I did get rid of one query though smile
Posted By: sirdude Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 5:45 PM
$pollnr = get_input("pollnr","get");
$showvoters = get_input("showvoters","get");


^^ might need that wink
Posted By: blaaskaak Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 5:53 PM
Originally Posted by sirdude
^^ might need that wink


Yeah, I might. But here it works. I guess it doesn't on other servers laugh

b.t.w, you'd also need:
$delete = get_input("delete","get");
Posted By: sirdude Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 6:03 PM
only if you wanna delete!! wink

i don't screw with the polls.. read-only baby! laugh
Posted By: blaaskaak Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 6:32 PM
We once in a while get a request to remove a vote. It's not that I'm fooling around deleting votes smile

I use this script maybe 5-6 times a year, just used it this week and thought, let's share smile
Posted By: Gizmo Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/01/2007 11:46 PM
Looks good Yarp™, thanks smile
Posted By: AllenAyres Re: [7.2.2] Pollviewer... Pre-Alpha... - 11/05/2007 7:48 PM
Yes, thank you smile
Posted By: Organizer Re: [7.2.2] Pollviewer... Pre-Alpha... - 01/25/2008 12:42 PM
I get it to show the polls, but no matter what link I click it still just refreshed the list of polls, I dont get any details up?
© UBB.Developers