Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Nydendarin Posted September 12, 2006 Posted September 12, 2006 Is there any way to remove the number of times a user can vote on a poll? My reasoning is this. I was asked to hold a 'voting' session, for a student orginziation at my school. They want the voting to be limited to that location, hosted on a school-wide message board, but don't want to have to make users register before they vote. So my plan was, to create one user account, with special privliges so only that user in that usergroup can see the 'voting poll' section. Then I create a poll in there, log on all the laptops at the 'voting location' with that user account, and have them sit down, vote, and leave. But, as is currently with my IPB install, each user account can only vote once on a poll, then you're locked out of futher voting. Is there any way to patch/hack/fix the poll definitions to allow me to unlock that voting restriction, to make this a posibility.
Strange_Will Posted September 12, 2006 Posted September 12, 2006 I figure you COULD modify the files to let guests vote, and your problem will be solved. :P Though this being an option PER POLL(admin/mod only?) could be a cool idea :D
bfarber Posted September 12, 2006 Posted September 12, 2006 But if you did what you are talking about - anyone would be able to vote thousands of times and what would then be the point of the poll? Especially on an internal network where it's likely all votes will come from the same IP?
Antony Posted September 12, 2006 Posted September 12, 2006 Or, you give each individual a login and move them all to a usergroup where they can view this poll?
Strange_Will Posted September 13, 2006 Posted September 13, 2006 No no no, he wants to set up a bunch of laptops at a table, and let people vote on them. Why he doesn't just write a voting program, god only knows.
Dlf Posted September 13, 2006 Posted September 13, 2006 Some people cant' code. I can do minor PHP, not huge things like Fusoya, dean, bfarber or Matt does. Most I can do, is name functions, try to put things in them, and call em. No OOP, nothing 'more' advanced . . .
Strange_Will Posted September 13, 2006 Posted September 13, 2006 Some people cant' code. I can do minor PHP, not huge things like Fusoya, dean, bfarber or Matt does. Most I can do, is name functions, try to put things in them, and call em. No OOP, nothing 'more' advanced . . .All you need is a simple add 1 to the count in a database/file/whatever for something like this. Surely you could find someone to write something up for you as opposed to having IPB modified.Either way, someone is coding for you, just one is WAY harder. I'd code it, but I don't know PHP (C#, VBscript, getting into JAVA for server side)Plus I think there are websites for you to create your own polls on.
Nydendarin Posted September 13, 2006 Posted September 13, 2006 Right, the idea is to have people come into a room, sit down, vote, then leave. They woudln't have the opportunity to vote a thousand times or whatever becuase we'd be standing right there, and they woudln't know the user authentication to get to the poll outside of the voting room. I 'could' use an off-site poll service, but I would rather use my already set up and configred IPB install to do it. How feasably difficult would it be to simply remove the 'you can only vote once' from the poll infastructure, and allow you to vote as many times as you like?
Strange_Will Posted September 14, 2006 Posted September 14, 2006 I'm pretty sure it would be really easy, just instead of doing a database seach to see if you've already voted, automatically return that they haven't even if they have.
bfarber Posted September 14, 2006 Posted September 14, 2006 This to me sounds like something best left to a modification.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.