Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Poll 1.3
This discussion has been closed.
Comments
RewriteRule ^extension/([0-9]+)/$ extension.php?DiscussionID=$1 [QSA,L]
For the second thing, I think it is on a Jazzman's ToDo list.
I found out that the submitting of a vote didn't work either.
With mod_rewrite:
<form id="frmVote" method="post" action="http://acweb.nl/vanilla/discussion/">
Without mod_rewrite:
<form id="frmVote" method="post" action="http://acweb.nl/vanilla/comments.php">
I fixed that by adding this to the bottom of the #comments section:
RewriteRule ^discussion([/]?)$ comments.php [QSA,L]
You need this line in your .htaccess :
RewriteRule ^extension/$ extension.php [QSA,L]
see this post for what should look like .htaccess.
Some problems were encountered
The requested discussion could not be found.
I installed the extension in a brand new Vanilla 1 installation, and have 2 bugs to report. The first one, which is pretty major for me, is that when I add several items to the poll choices, they do not display in the poll in the order in which I add them. For instance, in the poll "What is the most useful language in the world?", I have entered 5 options: Esperanto, English, Chinese Mandarin, Spanish and Other. I want them to be displayed in that order. Unfortunately, they never are... I save the poll, then go to the discussion, and voilá - they are listed apparently randomly, as (for instance) "Other, Chinese Mandaring, Spanish, Esperanto, English". If I try to go back to the Poll Management and correct the order, the order does change, however, never to the order that I have actually entered... So, not being able to control the display order of the choices makes the poll quite unusable.
Last of all, I too experienced the "The requested discussion could not be found." bug. It seems that the only way to start a poll is actually from INSIDE a new discussion. That is actually OK, and quite logical, so no problem there. Perhaps the only change I would do then would be to make it impossible for people to start a new poll by itself (without an attached discussion), by removing the 'add new poll' button from the "Poll Management" page.
Once again, many, many thanks for what is certainly sure to become one of the essential extensions to Vanilla! I can't wait!