Create polls based on tickets or static arguments


This plugin is a macro that adds polling functionality to Trac.

The usage of this macro can be displayed with: [[MacroList(PollMacro)]].

As an example, the following can be added to a Trac wiki page:

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

and gives:

What do you think of the Poll macro?
  • Cool (rjollos)
  • Crap

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

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.

base_dir = /opt/trac/polltest/db/

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

The following permissions are added with this plugin:

  • The POLL_VOTE permission allows users to vote.
  • The POLL_VIEW permissions allows users to view the poll's result.

Bugs/Feature Requests

Existing bugs and feature requests for PollMacro are here.

If you have any issues, create a new ticket.


19 / 22


2 / 8


2 / 2


Download the zipped source from here.


You can check out the source for PollMacro from Subversion or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

14825 by rjollos on 2015-07-20 06:47:43
0.3.0dev: Require Trac >= 0.11.
14542 by rjollos on 2015-04-20 16:00:37
0.3.0dev: tag_svn_revision is not supported in setuptools ≥ 10.
11670 by rjollos on 2012-06-20 08:03:59
Refs #7275: Display a message to users when they don't have permission to vote.


Author: athomas
Maintainer: Ryan J Ollos

Last modified 5 months ago Last modified on Sep 22, 2016, 8:15:47 PM