[[PageOutline(2-5, Contents, pullout)]] = Reddit-style voting on Trac resources = == Description == 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 [/prefs Preferences] panel) and the `VOTE_MODIFY` permission, they will be able to vote. == Bugs/Feature Requests == Existing bugs and feature requests for VotePlugin are [report:9?COMPONENT=VotePlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=VotePlugin&owner=rjollos&cc=hasienda new ticket]. == Download == Download the zipped source from [download:voteplugin here]. == Source == You can check out VotePlugin from [http://trac-hacks.org/svn/voteplugin here] using Subversion, or [source:voteplugin browse the source] with Trac. == Installation == Install the plugin: {{{ #!sh easy_install http://trac-hacks.org/svn/voteplugin/0.11 }}} If you get "error: Unexpected HTML page found at http://trac-hacks.org/svn/voteplugin/0.11", update setuptools: {{{ #!sh sudo easy_install -U setuptools }}} Add the following to the `[components]` section of [wiki:TracIni trac.ini]: {{{ #!ini [components] tracvote.* = enabled }}} Configure the list of URL paths to allow voting on in ''trac.ini''. Globs are supported. {{{ #!ini [vote] paths = }}} Grant users the `VOTE_VIEW` and `VOTE_MODIFY` permission where appropriate. Note that `VOTE_MODIFY` inherits view permission since `tracvote-0.1.4`. You may need to run: {{{ #!sh trac-admin /path/to/projenv 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 [source:/voteplugin/0.11/SqlQueryForReport.txt repository]. == Screenshot == [[Image(votes.png)]] == Recent Changes == [[ChangeLog(voteplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:athomas] [[BR]] '''Maintainer:''' rjollos, hasienda [[BR]] '''Contributors:''' [wiki:k0s], PeterLawrence