# Discourse Plugins

**URL:** https://community.unix.com/c/discourse/discourse-plugins/22.md

[Latest](https://community.unix.com/latest.md) · [Categories](https://community.unix.com/categories.md)

---

## [About the Discourse plugins](https://community.unix.com/t/about-the-discourse-plugins/138061)

<div class="topic-metadata">

**Author:** [@system](https://community.unix.com/u/system)\
**Replies:** 0

</div>

Discuss Discourse plugins here.

---

## [Discourse Plugin: Discourse Send SMS for Review (OpenPhone Integration)](https://community.unix.com/t/discourse-plugin-discourse-send-sms-for-review-openphone-integration/396921)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 0\
**Last updated:** [May 10, 2025, 2:33am UTC](https://community.unix.com/t/discourse-plugin-discourse-send-sms-for-review-openphone-integration/396921 "2025-05-10T02:33:44Z")

</div>

:white\_check\_mark: README.md (v0.8.0) discourse-send-sms-for-review A Discourse plugin that sends an SMS via the OpenPhone API when a newly created post is immediately placed into the moderation review queue. Designed f…

---

## [OpenAI Community: Announcing Two Discourse OpenAI Plugins, Chat and Dall-E](https://community.unix.com/t/openai-community-announcing-two-discourse-openai-plugins-chat-and-dall-e/389711)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 0\
**Last updated:** [January 14, 2023, 5:01am UTC](https://community.unix.com/t/openai-community-announcing-two-discourse-openai-plugins-chat-and-dall-e/389711 "2023-01-14T05:01:11Z")

</div>

Announced over at the OpenAI community: LOL, not easy to post an announcement over there because of new user restrictions. Makes me want to lift those same restrictions here, haha

---

## [Discourse Plugin Dev: Problems with Discourse Plugin Gem Parser (ruby-openai gemspec dependancy)](https://community.unix.com/t/discourse-plugin-dev-problems-with-discourse-plugin-gem-parser-ruby-openai-gemspec-dependancy/389568)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [January 14, 2023, 3:01am UTC](https://community.unix.com/t/discourse-plugin-dev-problems-with-discourse-plugin-gem-parser-ruby-openai-gemspec-dependancy/389568 "2023-01-14T03:01:55Z")

</div>

Yesterday I spent most of the try trying to resolve an issue caused by the gem parser in the Discourse plugin methods. The issue occurred because I was working with the ruby-openai Ruby gem where the owner of the gem sp…

---

## [First Alpha Release: Discourse OpenAI Dall-E Bot](https://community.unix.com/t/first-alpha-release-discourse-openai-dall-e-bot/389625)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 4\
**Last updated:** [January 14, 2023, 2:56am UTC](https://community.unix.com/t/first-alpha-release-discourse-openai-dall-e-bot/389625 "2023-01-14T02:56:35Z")

</div>

Hi All, After hacking together the OpenAI ChatBot for Discourse, creating the same type of plugin for the OpenAI Dall-E image generator was easy. Currently generating images in 256x256 format and wrapping the result…

---

## [Problems with Discourse Rendering Image in Post](https://community.unix.com/t/problems-with-discourse-rendering-image-in-post/389657)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 4\
**Last updated:** [January 13, 2023, 4:49am UTC](https://community.unix.com/t/problems-with-discourse-rendering-image-in-post/389657 "2023-01-13T04:49:03Z")

</div>

Abstract impressionist painting of a unix forum administrator.

---

## [OpenAI: Dall-E: API Images have two hour download timer (link expires after two hours)](https://community.unix.com/t/openai-dall-e-api-images-have-two-hour-download-timer-link-expires-after-two-hours/389629)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 3\
**Last updated:** [January 12, 2023, 11:30am UTC](https://community.unix.com/t/openai-dall-e-api-images-have-two-hour-download-timer-link-expires-after-two-hours/389629 "2023-01-12T11:30:31Z")

</div>

Abstract painting of the ai singularity on the planet mars

---

## [First Alpha Release: Discourse OpenAI ChatBot](https://community.unix.com/t/first-alpha-release-discourse-openai-chatbot/389597)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 4\
**Last updated:** [January 11, 2023, 6:42pm UTC](https://community.unix.com/t/first-alpha-release-discourse-openai-chatbot/389597 "2023-01-11T18:42:57Z")

</div>

Hi All, After a few days of working on this, I have the alpha release of OpenAI ChatBot for Discourse. According to my search of the network this is the first Discourse plugin for OpenAI and ChatGPT. I seriously doubt …

---

## [TOR Abuse: TOR Detection Plugin](https://community.unix.com/t/tor-abuse-tor-detection-plugin/384285)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 11\
**Last updated:** [October 23, 2021, 9:50pm UTC](https://community.unix.com/t/tor-abuse-tor-detection-plugin/384285 "2021-10-23T21:50:35Z")

</div>

Recently we are seeing some "TOR Abuse" where users who have been banned register with TOR and use throw-away email addresses to register. If this continues, I will take some time a write a Discourse plugin that blocks …

---

## [Discourse Plugin: Discourse Container Names with GON](https://community.unix.com/t/discourse-plugin-discourse-container-names-with-gon/380701)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 4\
**Last updated:** [April 10, 2021, 2:15pm UTC](https://community.unix.com/t/discourse-plugin-discourse-container-names-with-gon/380701 "2021-04-10T14:15:29Z")

</div>

Discourse Plugin Summary Shows the names of Docker containers to Discourse system admins using GON gem on the Backups page. GITHUB: GitHub - unixneo/discourse-container-names-with-gon: This Discourse plugin uses either…

---

## [Discourse Plugin: Disable PWA Install Banner](https://community.unix.com/t/discourse-plugin-disable-pwa-install-banner/382133)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [March 18, 2021, 5:00am UTC](https://community.unix.com/t/discourse-plugin-disable-pwa-install-banner/382133 "2021-03-18T05:00:59Z")

</div>

Based on confusion and complaints by users when Discourse asks users to install a PWA (app) on their devices, I have written a stand-alone plugin for any Discourse admin who wishes to disable this PWA banner and install …

---

## [Discourse Plugin: Disable Composer Messages](https://community.unix.com/t/discourse-plugin-disable-composer-messages/382007)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [March 9, 2021, 11:44am UTC](https://community.unix.com/t/discourse-plugin-disable-composer-messages/382007 "2021-03-09T11:44:04Z")

</div>

We are now testing a new discourse plugin I just wrote today: discourse-disable-composer-messages This plugin permit discourse system admins to disable any or all of six "composer messages" which appear on the right sid…

---

## [Discourse Plugin: Limit About Stats to Staff](https://community.unix.com/t/discourse-plugin-limit-about-stats-to-staff/381992)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 0\
**Last updated:** [March 8, 2021, 4:11am UTC](https://community.unix.com/t/discourse-plugin-limit-about-stats-to-staff/381992 "2021-03-08T04:11:09Z")

</div>

Today I wrote a very simple plugin to limit the "About" page stats to staff only. Future Enhancements There is at least one Discourse job that has the potential to run in the background and send stats to Discourse. …

---

## [Discourse Disable New Features Notice Plugin](https://community.unix.com/t/discourse-disable-new-features-notice-plugin/381654)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 2\
**Last updated:** [March 5, 2021, 11:51pm UTC](https://community.unix.com/t/discourse-disable-new-features-notice-plugin/381654 "2021-03-05T23:51:51Z")

</div>

Plugin for Discourse Admins Discourse Disable New Features Notice Why this Plugin? Discourse recently added Ruby and EmberJS code to check for "new features" and to display these new features in the Discourse Admin Dash…

---

## [HINT: One Way to "Turn Off" Discourse Email Validation](https://community.unix.com/t/hint-one-way-to-turn-off-discourse-email-validation/381178)

<div class="topic-metadata">

**Author:** [@DiscourseDuck](https://community.unix.com/u/DiscourseDuck)\
**Replies:** 10\
**Last updated:** [December 22, 2020, 11:38am UTC](https://community.unix.com/t/hint-one-way-to-turn-off-discourse-email-validation/381178 "2020-12-22T11:38:15Z")

</div>

REFERENCE: Hey onecame Of course it is not recommended to bypass email activation for many reasons (anti-spam, anti-fraud, etc.) and my guest is that 99.999% of forums would never do this. However, if you really wan…

---

## [Discourse Priority Action Mailer Plugin](https://community.unix.com/t/discourse-priority-action-mailer-plugin/380941)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [December 10, 2020, 10:55am UTC](https://community.unix.com/t/discourse-priority-action-mailer-plugin/380941 "2020-12-10T10:55:38Z")

</div>

Repo: Discourse Priority Action Mailer Plugin What Does This Plugin Do? This plugin adds two new SMTP "channels" in addition to the standard Discourse default SMTP channel. One channel is for "high priority" emails; w…

---

## [An Easy Way to Setup the gon gem in a Discourse Plugin](https://community.unix.com/t/an-easy-way-to-setup-the-gon-gem-in-a-discourse-plugin/380693)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [December 4, 2020, 9:45am UTC](https://community.unix.com/t/an-easy-way-to-setup-the-gon-gem-in-a-discourse-plugin/380693 "2020-12-04T09:45:55Z")

</div>

If you need to send some data to your javascript files in Discourse and you don't want to do this the long way, winding way through views and parsing and other strange framework headaches, consider using the gon gem. H…

---

## [Creating "Higher Priority" smtp\_settings in Discourse Software Mailers - A Future Plugin Idea](https://community.unix.com/t/creating-higher-priority-smtp-settings-in-discourse-software-mailers-a-future-plugin-idea/380865)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 6\
**Last updated:** [December 1, 2020, 1:06pm UTC](https://community.unix.com/t/creating-higher-priority-smtp-settings-in-discourse-software-mailers-a-future-plugin-idea/380865 "2020-12-01T13:06:46Z")

</div>

When we first migrated to Discourse months ago, the default digest settings, combined with a large number of legacy user accounts ported over from our original forums, caused a flood of email from the new Discourse setup…

---

## [Note on Our Current Discourse Plugins](https://community.unix.com/t/note-on-our-current-discourse-plugins/380946)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [December 1, 2020, 10:20am UTC](https://community.unix.com/t/note-on-our-current-discourse-plugins/380946 "2020-12-01T10:20:03Z")

</div>

When looking at our 9 active Discourse plugins, I just noticed that a full half (five) of them were written by me. I was a bit surprised to see this!

---

## [Discourse plugin method confusion: after\_initialize](https://community.unix.com/t/discourse-plugin-method-confusion-after-initialize/380858)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 0\
**Last updated:** [November 23, 2020, 6:11am UTC](https://community.unix.com/t/discourse-plugin-method-confusion-after-initialize/380858 "2020-11-23T06:11:08Z")

</div>

The Discourse class Plugin::Instance has this method: class Plugin::Instance def after\_initialize(&block) initializers \<\< block end end Ruby on Rails has a Active Record callback called after\_initialize The…

---

## [Ruby on Rails for PHP Developers](https://community.unix.com/t/ruby-on-rails-for-php-developers/379443)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 10:45am UTC](https://community.unix.com/t/ruby-on-rails-for-php-developers/379443 "2020-11-11T10:45:31Z")

</div>

Well, I'm still struggling with Ruby when coding Discourse plugins. I'm OK with Javascript; but cannot get my head around Ruby as a server-side language after years of PHP. Today, I found this PDF file, which helped a…

---

## [Installing ERD on macOS for Rails Development](https://community.unix.com/t/installing-erd-on-macos-for-rails-development/379632)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 0\
**Last updated:** [August 17, 2020, 6:50am UTC](https://community.unix.com/t/installing-erd-on-macos-for-rails-development/379632 "2020-08-17T06:50:44Z")

</div>

Recently, I helped a client migrate their legacy desktop application to a web based app. One of the tools I used was ERD. Here is a sample of the ERD view of an unfinished Rails app I am working on: I also tested …

---

## [PR to fix bug in Discourse "notebook" plugin tutorial](https://community.unix.com/t/pr-to-fix-bug-in-discourse-notebook-plugin-tutorial/379513)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 2\
**Last updated:** [August 16, 2020, 1:55pm UTC](https://community.unix.com/t/pr-to-fix-bug-in-discourse-notebook-plugin-tutorial/379513 "2020-08-16T13:55:56Z")

</div>

Just submitted a PR to fix this Discourse plugin tutorial: The notebook tutorial had an error due to this issue: Which I fixed and tested with the PR: and it works again: Hope this helps. PS: Slowly, I'm ma…

---

## [A plugin for debugging the Discourse rails plugin generator](https://community.unix.com/t/a-plugin-for-debugging-the-discourse-rails-plugin-generator/379570)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 6\
**Last updated:** [August 13, 2020, 6:09pm UTC](https://community.unix.com/t/a-plugin-for-debugging-the-discourse-rails-plugin-generator/379570 "2020-08-13T18:09:15Z")

</div>

Discourse has a rails plugin generator which generates a basic Discourse plugin scaffolding. So, I created a "hello world" plugin with this generator using rails g plugin hello-world and added a bunch of Ruby statemen…

---

## [Firing Up Discourse for Plugin Development on macOS (the easy way)](https://community.unix.com/t/firing-up-discourse-for-plugin-development-on-macos-the-easy-way/379349)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 3:26am UTC](https://community.unix.com/t/firing-up-discourse-for-plugin-development-on-macos-the-easy-way/379349 "2020-08-10T03:26:52Z")

</div>

A lot of people seem to have problems after they install all the prerequisites, to develop for Discourse on macOS. Let me show you how I do it when I login to my mac. First, I run a very simple script called setrails i…

---

## [Discourse Plugin: Remove Canonical Links](https://community.unix.com/t/discourse-plugin-remove-canonical-links/379533)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 0\
**Last updated:** [August 9, 2020, 3:58am UTC](https://community.unix.com/t/discourse-plugin-remove-canonical-links/379533 "2020-08-09T03:58:58Z")

</div>

Is this the most simple, but useful, Discourse plugin in the world? Here is a simple Discourse plugin I created today for two reasons: Remove all canonical links from Discourse Demonstrate overriding Ruby modules in…

---

## [Discourse Container Names Admin Plugin](https://community.unix.com/t/discourse-container-names-admin-plugin/379320)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 0\
**Last updated:** [July 22, 2020, 9:14am UTC](https://community.unix.com/t/discourse-container-names-admin-plugin/379320 "2020-07-22T09:14:36Z")

</div>

I am happy to share this first public Discourse admin plugin which adds the names of containers (specified in the main app yml file), to the backups tab of the admin page. This utility plugin is useful for Discourse sys…

---

## [Discourse Plugin Dev Notes: neo-revive-discourse](https://community.unix.com/t/discourse-plugin-dev-notes-neo-revive-discourse/378468)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 13\
**Last updated:** [May 20, 2020, 2:39pm UTC](https://community.unix.com/t/discourse-plugin-dev-notes-neo-revive-discourse/378468 "2020-05-20T14:39:18Z")

</div>

Yesterday I forked the discourse official ad plugin with an eye toward running ads to unregistered users many months from now, maybe next year, if traffic significantly goes up, based on search engine SEO voodoo and magi…

---

## [\[DONE\] Requirements for Discourse Plugin for Topic Serializer (API) v2](https://community.unix.com/t/done-requirements-for-discourse-plugin-for-topic-serializer-api-v2/378385)

<div class="topic-metadata">

**Author:** [@Neo](https://community.unix.com/u/Neo)\
**Replies:** 5\
**Last updated:** [May 15, 2020, 4:29am UTC](https://community.unix.com/t/done-requirements-for-discourse-plugin-for-topic-serializer-api-v2/378385 "2020-05-15T04:29:48Z")

</div>

Proposed Plugin Overview: Plugin Outlet: topic-category Discourse plugin to add a integer value from the topic\_custom\_fields postgres table and insert that value as follows into the appropriate topic JSON API serializer…

---

## [Ruby-bbcode-to-md discourse plugin bug report by madeingermany](https://community.unix.com/t/ruby-bbcode-to-md-discourse-plugin-bug-report-by-madeingermany/377691)

<div class="topic-metadata">

**Author:** [@MadeInGermany](https://community.unix.com/u/MadeInGermany)\
**Replies:** 26\
**Last updated:** [March 30, 2020, 3:30am UTC](https://community.unix.com/t/ruby-bbcode-to-md-discourse-plugin-bug-report-by-madeingermany/377691 "2020-03-30T03:30:53Z")

</div>

Just posted with a Duckduckgo browser. I still don't have a clue how to properly post code ...edit: now I got it! It looks like the import from Unix.com is missing some "\[" characters within formatted code.

[Next page](https://community.unix.com/c/discourse/discourse-plugins/22.md?page=1)
