wiki:PollMacro

Version 17 (modified by Michael Renzmann, 10 years ago) (diff)

Link to browser.

Create polls based on tickets, or static arguments

Description

The PollMacro plugin adds polling to Trac.

Usage:

The poll data is stored in /tmp by default, but this can be overridden with the base_dir option in the [poll] section of TracIni.

[poll]
base_dir = /opt/trac/polltest/db/

Each voters name is displayed to the right of their choice.

The POLL_VIEW and TICKET_VIEW permission allows users to view the poll's result without the ability to vote. The POLL_VOTE permission allows users to vote.

Bugs/Feature Requests

Existing bugs and feature requests for PollMacro are here.

If you have any issues, create a new ticket.

Download

download:pollmacro

Source

You can check out the source for PollMacro from Subversion at http://trac-hacks.org/svn/pollmacro or browse it here.

Example

[[Poll(What do you think of the Poll macro?; Cool; Crap)]]

gives:

What do you think of the Poll macro?
  • Cool (athomas, sineer, kparlar, Blackhex, gerryg, mocksoul, alf_igel, matias, aamk, mape, phpxcache, ChrisGreacen, jatyap, earobinson, dietmarw, alerocha, FilipeCorreia, sgissinger, rjollos, koolhand, ziegenberg, dreamkxd, farialima, lucasrangit, Akinfold, hieroglyph, victorrbravo, rpshaw, syphico)
  • Crap (mou, sir_ken)

  • You don't have permission to vote. You may need to login.

Change Log

16771 by rjollos on 2017-08-26 03:24:53
TracPoll 0.4.0dev: Add license info
16462 by rjollos on 2017-04-04 07:23:32
0.4.0dev: Use 32-bit hashes for compatibility
16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
16395 by rjollos on 2017-03-25 09:25:02
Remove obsolete "0.8" directories
16266 by rjollos on 2017-02-23 00:43:54
0.4.0dev: Fix regression in r16265
(more)

Author/Contributors

Author: athomas
Contributors:

TagIt(macro,athomas,0.8,0.9)?