Discourse Tagger Plugin

A simple Plugin to allow users to attach labels (so called "tags") to their topics.

Details

.To Note: this Plugins assumes tags are "moderated", meaning that only staff and users of the trust levels "leader" and "elder" are allowed to add new tags. Normal user can only pick from the list of pre-existing tags.

.Attention: renders weird in mobile view with discourse <= 0.9.9 . Please upgrade to master.

Installation

Just two easy steps. From your main discourse do:

cd plugins
git clone https://github.com/werweisswas/discourse-plugin-tagger.git   # clone the repo here
cd ..
export RAILS_ENV=production                 # set to productions
rake tagger:install:migrations              # copy migrations
rake db:migrate SCOPE=tagger                # run migrations
rake assets:precompile                      # precompile assets

Changelog:

  • 2014-04-08
  • fix bug of missing tags after creating new topic
  • show composer tags only in desktop view for now, refs #1
  • 2014-03-18
  • first initial version launched

TODO

(in order of importance)

other Limitations:

Authors:

Benjamin Kampmann <me @ create-build-execute . com>

License (BSD):

Copyright (c) 2014, wer-weis-was GmbH, Hamburg All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.