New: Check multiple options in polls!
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
New: Check multiple options in polls!
I just wrote my first mod for phpbb to allow multiple answers in a poll! To enable this feature, just put a $ sign as the first character for the poll question, e.g.
$Which type of plugins do you use?
I chose this method because having a checkbox for this option would have required a lot of changes to the board, and even to the database! With my solution, it's quite a simple change.
I make this a test poll so you can try out this feature yourself.
$Which type of plugins do you use?
I chose this method because having a checkbox for this option would have required a lot of changes to the board, and even to the database! With my solution, it's quite a simple change.
I make this a test poll so you can try out this feature yourself.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- André Martin
- Senior Member
- Posts: 245
- Joined: 2003-02-05, 15:46 UTC
- Location: Dresden, Germany
That's great! It works perfectly! Thanks!
Browse the web with the HTTP SmartBrowserPlugin
Check your mails with the POP3/SMTP EmailPlugin!
Check your mails with the POP3/SMTP EmailPlugin!
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks! Btw, yesterday I added some more code which also shows how many users participated in the poll in addition to the number of votes. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I can if you want, but in the meantime there has been an official mod released which is much better than mine - check the phpbb site! If you still want to use my mod, let me know and I will post it here.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Christian, Are you referring to "Multivote_Mod" at http://www.phpbb.com/phpBB/viewtopic.php?t=79099&highlight= http://users.otenet.gr/~vil1st/multivote_mod/, I tried it once does not seem to work Properly with MSSQL or are you referring someother mod ? if not please post the post mod.
Thanks in advance.
Thanks in advance.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, I was referring to the multi-vote mod, and yes, it requires changes to the database! Mine does not require changes to the database, but it's not as powerful - you cannot set how many answers you want.
I have put my mod here: multiple_answers_vote.txt
Note that I'm using phpBB 2.0.4, so it may not work with other versions (but there should be no problem to adapt it).
I have put my mod here: multiple_answers_vote.txt
Note that I'm using phpBB 2.0.4, so it may not work with other versions (but there should be no problem to adapt it).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Btw, is the update 2.0.4 -> 2.0.6 difficult? I didn't yet make it because the forum is working very well, and I don't want to risk to break it. I did add some security patches, though.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- PeaceMaker
- Senior Member
- Posts: 287
- Joined: 2005-12-31, 22:32 UTC
- Location: Warsaw, Poland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2PeaceMaker
Why do you reply to a thread from 2003?
Why do you reply to a thread from 2003?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com