Ok, the polltest board is now running version 0.8 of the poll hack, which is nearly complete.
Features:
- Let registered users post a new thread that has a poll integrated in it
- Let registered users vote on the poll
- Multiple votes impossible as userid is stored on vote
- Define # of poll options in CP
- Limit who can post a poll by usergroups (from the control panel)
- Designed to be easily translated. Only some text is hard coded (text on form buttons)
- Fully templateable - you can customise the look of the poll
- Vote History - shows who voted when
- Users who can not post can not vote as well
- Make sure person did not vote, press back, and vote again
- Uses user defined timeoffsets
- Admin/Moderator edit of Polls at all times
- Edit Poll while no votes (for user who started the poll thread)
- vB code parse for options
- closing a thread == close a poll
- Admin delete
- View results without voting
ToDo:
- Close poll from Edit page
- email notification when there was a vote
OK, now to the questions:
1. Vote History - you think it is usefull or not? I need to template it and was wondering if it was worth the ffort
2. Update last post when there has been a reply - should I update the "last post" field only of the thread and keep the name of the person who last replied, or change the lastposter to the person who voted? this could cause some confusion...
Originally posted by doron
2. Update last post when there has been a reply - should I update the "last post" field only of the thread and keep the name of the person who last replied, or change the lastposter to the person who voted? this could cause some confusion...
Originally posted by doron 1. Vote History - you think it is usefull or not? I need to template it and was wondering if it was worth the effort
What would the vote history represent - all closed polls? If so, I think it would be very beneficial.
Quote:
2. Update last post when there has been a reply - should I update the "last post" field only of the thread and keep the name of the person who last replied, or change the lastposter to the person who voted? this could cause some confusion...
Last Reply - it might confuse the visitors since everything else is last reply
My two cents!
(Can't wait to play with this feature!)
Great script. BTW I don't mean to be a bother but I wanted to tell you that there is a script division by zero error when you select view on a poll that has no votes. I'm sure it's an easy fix If anything it's not that important nor would many people be idiotic enough to click on results with no votes (except bug testers) so don't worry about it!
[Edited by SonnetCelestial on 07-12-2000 at 05:43 PM]
OK, now to the questions:
1. Vote History - you think it is usefull or not? I need to template it and was wondering if it was worth the ffort
I woudldn't want the users to be able to access it. But just maybe put it and I get take it out in the templates, so only I (and a knowledgeable few) know the address.
Quote:
2. Update last post when there has been a reply - should I update the "last post" field only of the thread and keep the name of the person who last replied, or change the lastposter to the person who voted? this could cause some confusion...
Yes it is confusing but causes me to worry that if you have a poll which is attracting a lot of people to vote but nobody is actually posting any replies on a busy forum the poll will dissapear off the thread list very very quickly. You have to have some way to "top" the poll thread.
Yes it is confusing but causes me to worry that if you have a poll which is attracting a lot of people to vote but nobody is actually posting any replies on a busy forum the poll will dissapear off the thread list very very quickly. You have to have some way to "top" the poll thread.
same here, maybe something like the announcement thread which stays at the top ?