The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
I'm curious, why would you even need a poll if there were only one option?
|
#3
|
|||
|
|||
to get a head count of people agreeing with the statement, while not specifically having a "no" option
|
#4
|
||||
|
||||
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:
|
#5
|
|||
|
|||
awesome. works like a charm.
|
#7
|
|||
|
|||
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. |
#8
|
|||
|
|||
"I don't agree" would be similar to a no option. Basically in a specific instance I wanted to know if a minimum number of people agreed with the statement while not specifically having a "no" option to compare it to. Basically, disregarding those that answer no entirely.
|
#9
|
|||
|
|||
Then just create 2 options and ignore 1. Much easier then changing the sources..
|
#10
|
|||
|
|||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|