PM autoresponder for admins


(DaveK) #1

Update: FIX: compatibility issues with Discourse v 2.2

First, let me say that I am no developer, I only sponsored this work and full build credits go to the dev, @mbcahyono. I will not be able to support this in any way, but I will work with any potential contributors. I am just posting this plugin here to give back to the community.

Plugin description

This plugin adds an autoresponder that’s only available to admins. Since my instance of discourse relies on heavy customer support, having an autoresponder while offline is really handy, keeps the waiting members less nervous while they wait for a response.

Plugin features

  1. Adds an on/off toggle in the pull-down menu when user icon is clicked (see image below) for easy control.
  2. Creates an extra field where you can customize your message in Preferrences>Profile
  3. Autoresponds to users when the plugin toggle is ON.
  4. A four-hour response limiter. If a user messages you a few times in a row, he/she will only get one auto-response. The next message will be sent after four hours after the last autoresponse (if a user messages you again).
  5. Admin to admin messages do not trigger the autoresponder.

Known issues

Update: The issue described below seems to be fixed with Discourse 2.2
The easy on/off toggle gets a tad confusing sometimes. When you click the toggle ON, the button switches green (indicating that the autoresponder is on). But, when you close and reopen the pull-down menu, it will be gray again (even though the autoresponder is on). The only way to know for sure whether the autoresponder is on or off is to reload the page. My developer tells me this is because of some technical limitation. So far, we didn’t look for a workaround as it’s a super tiny inconvenience.

Plugin repo

A big thanks to Discourse community. Enjoy!

Screenshots:


Vacation autoresponder for users who are away?
(DaveK) #2

Update for the newest version: FIX: compatibility issues with Discourse v 2.2