Discourse Canned Replies

:mega: This plugin is deprecated and won´t receive any new official updates.

Please use Discourse Templates instead.

:discourse2: Summary Discourse Canned Replies allows staff members to create and save replies for repeated use, saving you a lot of time typing and posting the replies you post more frequently.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-canned-replies
:open_book: Install Guide This plugin is deprecated

Features

To use the canned replies you must first open the reply composer and click the extras button.

You’ll then be presented with the insert canned reply modal where you can create new replies and browse, use or edit existing ones.

Configuration

Pre-filled Variables

Canned Replies also now supports variables

Example:

Hi %{reply_to_username,fallback:there},

...

Regards,
%{my_name}

If the reply_to_username is not available, the canned reply will be:

Hi there,

...

Regards,
Arpit Jalan

Here are the available variables for canned reply:

  • my_username
  • my_name
  • original_poster_username
  • original_poster_name
  • reply_to_username
  • reply_to_name
  • last_poster_username
  • reply_to_or_last_poster_username.

All the above variables supports fallback text and will strip out the variable if fallback is not specified and the variable can’t be replaced.

Both canned reply title and body supports variable replacement.

Notes:

  • When creating new replies, the content text is automatically set as the current composer content.
  • The Remove button is in the Edit panel.
  • The replies list has one reply by default which is added whenever the list is empty.

CHANGELOG

  • Add new bullets when major features are committed here

TODO

  • Populate the title when creating a new topic
  • :white_check_mark: Add variables that will automatically be replaced when the reply is used, for example: @username or @op
78 Likes