Version 15 (modified by Ryan J Ollos, 8 years ago) (diff)

Clarification on how to create a session and point to txt file in the repository containing SQL for a report

Reddit-style voting on Trac resources


This plugin adds a context-navigation entry that lets users easily vote for a Trac resource, including Wiki pages, tickets, milestones, etc.

If a user has a valid session (created through the Preferences panel) and the VOTE_MODIFY permission, they will be able to vote.

Bugs/Feature Requests

Existing bugs and feature requests for VotePlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:voteplugin here].


You can check out VotePlugin from here using Subversion, or browse the source with Trac.


Install the plugin:


If you get "error: Unexpected HTML page found at", update setuptools:

sudo easy_install -U setuptools

Add the following to the [components] section of trac.ini:

tracvote.* = enabled

Configure the list of URL paths to allow voting on in trac.ini. Globs are supported.

paths = 

Grant users the VOTE_VIEW and VOTE_MODIFY permission where appropriate.

You may need to run:

trac-admin [trac environment pathname] upgrade

You will also need to restart your webserver for the plugin to be available, appear in the list of those installed, have the perms available, etc.

The SQL for creating a report that sorts tickets based on the number of votes can be found in the repository.


Recent Changes

16956 by rjollos on 2017-11-04 06:45:53
TracVote 0.7.0dev: Use list literal

Refs #13324.

16955 by rjollos on 2017-11-04 06:44:07
TracVote 0.7.0dev: Fix ProgrammingError with PostgreSQL

Fixes #13324.

16933 by rjollos on 2017-10-30 22:56:14
TracVote 0.7.0dev: Refactor to use resource from context

Follow-on to r16920. Thanks to Jun Omae for review.

Refs #11073.



Author: athomas
Maintainer: rjollos
Contributors: k0s, PeterLawrence

Attachments (1)

Download all attachments as: .zip