Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 12, 200618 yr 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.
September 12, 200618 yr 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
September 12, 200618 yr 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?
September 12, 200618 yr Or, you give each individual a login and move them all to a usergroup where they can view this poll?
September 13, 200618 yr 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.
September 13, 200618 yr 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 . . .
September 13, 200618 yr 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.
September 13, 200618 yr 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?
September 14, 200618 yr 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.
Archived
This topic is now archived and is closed to further replies.