Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
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.
Attachments
pollview.zip (1.21 KB, 16 downloads)
pollview.php
SHA1: fc578c0ec94a85f70b21dd07d12e1679b44b02b3

Last edited by blaaskaak; 11/01/2007 8:47 AM.
Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
:evil laugh:

/me grabs zip and runs away shrieking...

gonna try this one!! smile

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
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

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
$pollnr = get_input("pollnr","get");
$showvoters = get_input("showvoters","get");


^^ might need that wink

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
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");

Last edited by blaaskaak; 11/01/2007 10:54 AM.
Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
only if you wanna delete!! wink

i don't screw with the polls.. read-only baby! laugh

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
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

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Looks good Yarp™, thanks smile


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Yes, thank you smile


- Allen wavey
- What Drives You?
Joined: Aug 2002
Posts: 32
User
User
Offline
Joined: Aug 2002
Posts: 32
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?


Organizer
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)