Thanks msbelle, that sounds like a good idea. And I think I started using Message Center about 6 months (or later) after I started posting. Now I can't navigate the site without it.
'Safe'
Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
When trying to get to message_center.php:
Parse error: parse error, unexpected T_LIST, expecting T_STRING in /home/httpd/vhosts/buffistas.org/httpdocs/classes/quote.php on line 87
Thanks. It was a side effect of file-copying to generate the list of quotes. Gone now!
Jon, I have a for-now theoretical question:
If we were to automate the vote system, what functionality would we need? There already is polling code written, but I'm pretty sure that it's not complex enough to handle the votes we've been doing.
I'm thinking there are three units:
A ballot is made up of one or more questions, which has two or more possible answers.
Ballots can be created, edited, opened, deleted or closed. No editing after opening.
Questions can be created, edited, deleted, and answered. No creating, editing or deleting after the ballot is opened. No answering until the ballot is opened. No answering after the ballot is closed.
Answers can be created, edited, deleted and chosen. No creating, editing or deleting after the ballot is opened. No choosing until the ballot is opened. No choosing after the ballot is closed.
Questions must have at least one required answer, maybe more, and some of them may be written in.
A ballot may be informal (and show results before it has been closed) or formal, and results aren't available until closing.
I'm also thinking that once the ballot is closed, the specifics of who voted for what can be purged, but the totals should be kept. No one will be able to vote twice, or if we choose to make that an option, the second vote overwrites the first.
Does that cover the cases you've coded for so far?
I'm about to head home. I'll think on it, and get back to you.
ETA: told you I always get the wrong thread.
Wrong thread, DCJ.
Have we had write-ins for actual votes? That's be a pisser to automate. But if it's for something more informal, not such a big deal.
No, the first time a write-in was used was in last week's informal poll.
Okay, cool. I'm toying with the data model, and that doesn't fit properly right yet.
Actually, I forgot about this one [link] where people had to pick a number between 2 and 100, and later a number between 1 and 10.