wyudong / discourse-custom-topic-button

Adds a custom button at the bottom of a topic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discourse-custom-topic-button

Adds a custom button at the bottom of a topic.

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

License

MIT

About

Adds a custom button at the bottom of a topic.


Languages

Language:JavaScript 48.4%Language:Ruby 30.3%Language:HTML 21.3%