Changes between Initial Version and Version 1 of PollMacro


Ignore:
Timestamp:
Jul 9, 2005, 2:08:45 PM (19 years ago)
Author:
Alec Thomas
Comment:

New hack PollMacro, created by athomas

Legend:

Unmodified
Added
Removed
Modified
  • PollMacro

    v1 v1  
     1= Add Polls to Wiki Pages =
     2
     3== Description ==
     4
     5The PollMacro lets poll questions be added to Trac pages.
     6
     7The usage is very basic, arguments are separated by semi-colons, with the first argument being the question and the remainding arguments the choices:
     8
     9{{{
     10[[Poll(What do you think of the Poll macro?; Cool; Crap)]]
     11}}}
     12
     13The macro stores the results of the poll, in a pickled form, in {{{/var/state/trac/polls}}} (this is set in the {{{polldir}}} variable at the top of the macro source). The 32-bit CRC of the poll name is used as the filename, and is stored under a directory with a name that is the 32-bit CRC of the project name.
     14
     15Each voters name is displayed to the right of their choice.
     16
     17== Bugs/Feature Requests ==
     18
     19Existing bugs and feature requests for PollMacro are
     20[report:9?COMPONENT=PollMacro here].
     21
     22If you have any issues, create a
     23[http://trac-hacks.swapoff.org/newticket?component=PollMacro&owner=athomas new ticket].
     24
     25== Download ==
     26
     27[source:pollmacro/0.8 PollMacro for 0.8].
     28
     29== Source ==
     30
     31You can check out the source for PollMacro from Subversion at http://trac-hacks.swapoff.org/svn/pollmacro.
     32
     33== Example ==
     34
     35[[Poll(What do you think of the Poll macro?; Cool; Crap)]]
     36
     37== Author/Contributors ==
     38
     39'''Author:''' [wiki:athomas athomas] [[BR]]
     40'''Contributors:'''
     41
     42[[TagIt(macro,athomas,0.8)]]