Add a button at the bottom of a topic, visible to everyone: discourse-custom-topic-button

discourse-custom-topic-button

This plugin adds a custom button at the bottom of a topic, visible to everyone (who is logged in).

Configuration

From Admin > Site Settings > Plugin, modify

  • custom_topic_button_url
  • custom_topic_button_title
  • custom_topic_button_label

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-custom-topic-button.git
  • Rebuild the container
cd /var/discourse
git pull
./launcher rebuild app

Note: For button to be visible only to staff or members of a specific group, see:

12 Likes