Add a button at the bottom of a topic, visible to a specific group: discourse-topic-group-button

discourse-topic-group-button

This plugin adds a custom button at the bottom of a topic, visible only to staff or members of a specific group.

Configuration

From Admin > Site Settings > Plugin, modify

  • topic_group_button_url
  • topic_group_button_title
  • topic_group_button_label
  • topic_group_button_allowed_group

Installation

  • Add the plugin’s repo url to your container’s app.yml file
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/techapj/discourse-topic-group-button.git
  • Rebuild the container
cd /var/discourse
git pull
./launcher rebuild app

Note: For button to be visible to everyone, see:

13 Likes