Skip to content

bolariin/discourse-instructor-endorsed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discourse Instructor Endorsed

This is a Discourse plugin. It is a modified version of the Discourse Solved plugin. It provides an endorse button on categories for instructor level users. This is for use in a school style discourse forum enabling instructors endorse a response to a question.

selection_023

Install

Docker Install

As seen in a how-to on meta.discourse.org, add this repository's git clone url to your container's app.yml file, at the bottom of the cmd section:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/bolariin/discourse-instructor-endorsed.git

rebuild your container:

cd /var/discourse
git pull
./launcher rebuild app

Non-docker Install

  • Run bundle exec rake plugin:install repo=https://github.com/bolariin/discourse-instructor-endorsed.git in your discourse directory
  • In development mode, run bundle exec rake assets:clean
  • In production, recompile your assets: bundle exec rake assets:precompile
  • Restart Discourse

Local Development Install

  • Clone the Discourse Instructor Endorsed Repo in a new local folder.
  • Separately clone Discourse Forum in another local folder and install Discourse.
  • In your terminal, go into Discourse folder navigate into the plugins folder. Example cd ~/code/discourse/plugins
  • Create a symlink in this folder by typing the following into your terminal
ln -s ~/whereever_your_cloned_ad_plugin_path_is .
For example: ln -s ~/discourse-plugin-test .
  • You can now make changes in your locally held Discourse Response Bot folder and see the effect of your changes when your run rails s in your locally held Discourse Forum files.

Getting Started

  • By default, most of settings have been enabled selection_021

Tips and Tricks

  • For endorsement trust level, the admin is expected to put the minimum trust level of an instructor in the box

  • Using endorsed topics auto close hours, the admin can close a topic after a post has been endorsed. By typing an integer, n, greater than zero in the box, a topic can be closed n hours after a post has been endorsed.

  • There is an endorsed section in activities. It helps you keep track of posts you made that are endorsed by instructors selection_027

  • If you wish to allow instructors endorse in select categories, you can acheive this

    • You acheive this by unselecting "allow endorsement on all topics" selection_025

    • Then proceed to the category settings of your select category

    • In the category settings of the select category, enable "Allow instructors to endorse solutions in this category" selection_026

License

MIT

About

It provides an endorse button on categories for instructor level users

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published