wiki:FiveStarVotePlugin

Version 8 (modified by figaro, 8 years ago) (diff)

Cosmetic changes, tagged with license

Five Star Rating for Wiki and Tickets

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin lets users vote for a Trac resource, including Wiki pages, tickets, milestones, by using a five-star rating system. This plugin is a modified version of the VotePlugin, but except for having up and down arrows, this plugin uses a 5-star approach to rate resources:

ScreenShot

While it has been forked from VotePlugin code in October 2008, and some bugs fixed (#3298, #3808), current development has pushed VotePlugin ahead significantly. Applying similar changes here too is certainly possible, but merging the code might become the option of choice for improved long-term support.

Bugs/Feature Requests

Existing bugs and feature requests for FiveStarVotePlugin are here.

If you have any issues, create a new ticket.

Download

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

Source

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

Installation

Install the plugin:

easy_install http://trac-hacks.org/svn/fivestarvoteplugin/0.11

Add the following to the [components] section of trac.ini or enable the plugin though the WebAdmin panel:

[components]
fivestarvote.* = enabled

The following option can be specified in trac.ini (default value shown):

[fivestarvote]
paths = '^/$,^/wiki*,^/ticket*'  #List of URL paths to allow voting on. Globs are supported.

Grant users the VOTE_VIEW and VOTE_MODIFY permission where appropriate. VOTE_MODIFY will not work for anonymous users.

Recommended Settings

trac-admin [trac environment pathname] permission add anonymous VOTE_VIEW
trac-admin [trac environment pathname] permission add authenticated VOTE_MODIFY

You may need to run:

trac-admin [trac environment pathname] upgrade

Recent Changes

17155 by rjollos on 2018-04-24 22:31:51
FiveStarVote 0.2.0dev: Make compatible with Trac 1.2+

  • Trac < 1.0 is no longer supported.
  • Modify context nav HTML per patch by ibboard.

Fixes #6647.

16936 by rjollos on 2017-10-30 23:13:24
FiveStarVote 0.1.1: Conform to PEP8

Refs #6647.

16935 by rjollos on 2017-10-30 23:04:57
FiveStarVote 0.1.1: Don't use $ at global scope

Refs #6647.

(more)

Author/Contributors

Author: davglass
Maintainer: none (needsadoption)
Contributors:

Attachments (1)

Download all attachments as: .zip