![]() |
Voter Turnout
This hack displays, as a percentage, the voter turnout in a poll. 0% means nobody participated, 100% means everybody voted. It assumes that only registered users can vote.
This hack adds a single query to showthread for threads where the poll results are being shown and there is at least one vote. |
Screenshot:
|
Very nice :)
|
very nice indeed. Will install. :D
PHP Code:
|
Interesting hack -- still thinking whether I should use it but nice none the less
|
Quote:
It's in my mostly stock 2.3.0 showthread.php. |
good work filburt1, seems that not all Evil Shelled Dictator relese crap hacks, anyway, good work.
*marzas installs this great hack |
Well I searched in my 2.3.0 vbtesting software and it's not even there either. =S Oh well. =/
|
Filburt1, I show 11.76% on 2 polls and one of them has 5 voters in it and the other one has 4. Also, you need to clarify that the code goes after the first instance of if ($showresults OR $uservoted OR $cantvote) {. There are 2 of them.
|
Nice hack
:nervous: |
Good idea filburt :)!
- miSt |
I assume it's ok to use.
Quote:
|
Quote:
Instructions updated. It should work flawlessly; all it does is get the number of votes from the poll table and then the number of users from the user table and divide them. |
The one I am having trouble with is a multiple choice poll (where you can pick more than one answer).
|
Filburt, did you get a chance to look at this for multiple vote polls?
|
Nice hack :))
|
thank u since no one actually takes the time to vite it makes polls useless so now people can actually tell how many people have voted, it can be used against em now :D
|
All times are GMT. The time now is 01:44 AM. |
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:
|