|Version 6 (modified by hasienda, 15 months ago) (diff)|
Five Star Rating for Wiki and Tickets
This plugin is a modified version of the VotePlugin.
Instead of having up and down arrows, this plugin uses a 5-star approach to rate resources.
While it has been forked from latest 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.
If you have any issues, create a new ticket.
Download the zipped source from here.
Install the plugin:
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.
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
-  by rjollos on 2011-01-20 22:45:42
Following , a vote on / was still not being registered against wiki/WikiStart. Thanks for rlrj60 for the catch and fix. Fixes #8423.
-  by rjollos on 2011-01-20 03:20:04
Match the url '/' to '/wiki/WikiStart' in the default voteable_paths. Fixes #8423.
-  by rjollos on 2010-09-02 08:01:35
Added maintainer to setup.py. Refs #7589.