![]() |
Make only one poll option?
Is there a way to allow the minimum number of poll options to one?
Right now the minimum is two and I don't know how to get around this. |
I'm curious, why would you even need a poll if there were only one option?
|
to get a head count of people agreeing with the statement, while not specifically having a "no" option
|
Ah, ok. Well, I may have found how to do this. I have NOT tested this though.
In poll.php, find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
awesome. works like a charm.
|
Awesome. Released it here. I'll be adding, changing things in the future on this
|
Adding a 2nd option "I don't agree" would have been much simpler and would still work after an upgrade.
Also with only 1 option, how do you know if someone simply has not voted yet, or if he means he does not agree. |
Quote:
|
Then just create 2 options and ignore 1. Much easier then changing the sources..
|
i've also was looking to add one option in my poll. In my case, we are offering a monthly gift to a user in the forum. We want the user to click "Yes, i would like to participate". If he doesn't click it's like saying no...
Thanks for the hack |
All times are GMT. The time now is 12:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|