# Development

**URL:** https://meta.discourse.org/c/dev/7.md?page=119

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 120

---

## [Migration: suppressing system topic close/re-open messages](https://meta.discourse.org/t/migration-suppressing-system-topic-close-re-open-messages/90292)

<div class="topic-metadata">

**Author:** [@bletch](https://meta.discourse.org/u/bletch)\
**Replies:** 6\
**Last updated:** [June 22, 2018, 6:40am UTC](https://meta.discourse.org/t/migration-suppressing-system-topic-close-re-open-messages/90292 "2018-06-22T06:40:07Z")

</div>

tl;dr can I suppress the system response to community flags during a migration? Hi, I’ve written a migrator for MVC Forum which has community flags (up and downvote). I wanted to maintain our downvotes as well as our up…

---

## [New official direct SQL access API for Discourse (mini\_sql)](https://meta.discourse.org/t/new-official-direct-sql-access-api-for-discourse-mini-sql/90441)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 0\
**Last updated:** [June 22, 2018, 2:14am UTC](https://meta.discourse.org/t/new-official-direct-sql-access-api-for-discourse-mini-sql/90441 "2018-06-22T02:14:17Z")

</div>

I just finished “officializing” and “extracting” our direct DB access helpers in Discourse. I would like to cover what was done and what this means to plugin authors and core contributors. From the very first version of…

---

## [\[Redis\] How are MessageBus and Redis working](https://meta.discourse.org/t/redis-how-are-messagebus-and-redis-working/90229)

<div class="topic-metadata">

**Author:** [@Sanjay1](https://meta.discourse.org/u/Sanjay1)\
**Replies:** 3\
**Last updated:** [June 19, 2018, 6:13pm UTC](https://meta.discourse.org/t/redis-how-are-messagebus-and-redis-working/90229 "2018-06-19T18:13:49Z")

</div>

Hi All, I kind of started investigating how, Redis is used with Discourse and this lead me to MessageBus gem, And looking into the gem as well as the code, I can see is used to interface with Redis its self via another…

---

## [How can I make my own Discourse plugins?](https://meta.discourse.org/t/how-can-i-make-my-own-discourse-plugins/90032)

<div class="topic-metadata">

**Author:** [@Blinq](https://meta.discourse.org/u/Blinq)\
**Replies:** 5\
**Last updated:** [June 17, 2018, 7:53pm UTC](https://meta.discourse.org/t/how-can-i-make-my-own-discourse-plugins/90032 "2018-06-17T19:53:11Z")

</div>

Hi, I want to make my own discourse plugins and what languages I need to know and what tools/programs/apps I need to do so. I appreciate it.

---

## [Update upload URL for importers](https://meta.discourse.org/t/update-upload-url-for-importers/87669)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [June 17, 2018, 9:06pm UTC](https://meta.discourse.org/t/update-upload-url-for-importers/87669 "2018-06-17T21:06:55Z")

</div>

Uploads now generate Markdown like: !\[square-abc-640|500x500\](upload://md1vKocQHFmG9K4vpC57cKCTQv9.png) script/import\_scripts/base/uploader.rb does this: def embedded\_image\_html(upload) image\_width = \[upload…

---

## [Update "About Category" from the console](https://meta.discourse.org/t/update-about-category-from-the-console/89999)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [June 16, 2018, 1:19am UTC](https://meta.discourse.org/t/update-about-category-from-the-console/89999 "2018-06-16T01:19:05Z")

</div>

I’ve got a site with 750+ categories and need to change the text in the “About this category” post to "Blah. Category Name. Blah’. I’ve tried doing something like this: desc='Blah. %s Blah.' c = Category.where("name l…

---

## [Please adopt my plugins?](https://meta.discourse.org/t/please-adopt-my-plugins/45950)

<div class="topic-metadata">

**Author:** [@rcfox](https://meta.discourse.org/u/rcfox)\
**Replies:** 5\
**Last updated:** [June 15, 2018, 11:33pm UTC](https://meta.discourse.org/t/please-adopt-my-plugins/45950 "2018-06-15T23:33:40Z")

</div>

About a year and a half ago, I was working on a Discourse instance for the company that I worked for, and in the process developed a couple of plugins that others have come to appreciate. Unfortunately, I’m no longer adm…

---

## [Color scheme outputs unexpected colors](https://meta.discourse.org/t/color-scheme-outputs-unexpected-colors/90008)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 10:21pm UTC](https://meta.discourse.org/t/color-scheme-outputs-unexpected-colors/90008 "2018-06-15T22:21:46Z")

</div>

Today we manually entered a color scheme in a forum, all the colors at once (well, we only changed tertiary, quaternary, success and love) and then a lot of text in the admin interface (like site settings descriptions .…

---

## [My plugin that hacks bookmarks into social shares](https://meta.discourse.org/t/my-plugin-that-hacks-bookmarks-into-social-shares/89701)

<div class="topic-metadata">

**Author:** [@jonst0kes](https://meta.discourse.org/u/jonst0kes)\
**Replies:** 3\
**Last updated:** [June 14, 2018, 3:45pm UTC](https://meta.discourse.org/t/my-plugin-that-hacks-bookmarks-into-social-shares/89701 "2018-06-14T15:45:28Z")

</div>

I’m an advanced rails dev with intermediate JS skills (not Ember, tho), so I decided to hack together a plugin for a new (not yet even soft-launched) community that lets me use my Discourse profile as a kind of blog. He…

---

## [Make forum available on a subpath via additional route](https://meta.discourse.org/t/make-forum-available-on-a-subpath-via-additional-route/89453)

<div class="topic-metadata">

**Author:** [@kleinfreund](https://meta.discourse.org/u/kleinfreund)\
**Replies:** 4\
**Last updated:** [June 9, 2018, 6:04pm UTC](https://meta.discourse.org/t/make-forum-available-on-a-subpath-via-additional-route/89453 "2018-06-09T18:04:33Z")

</div>

I’m trying to reroute the forum from the root path / to a subpath (i.e. /forum) in order to show another page at the root path. For now, I just want be able to show the forum at /forum. I do not want to install Discours…

---

## [Poll migration - problem and advice](https://meta.discourse.org/t/poll-migration-problem-and-advice/89392)

<div class="topic-metadata">

**Author:** [@bletch](https://meta.discourse.org/u/bletch)\
**Replies:** 5\
**Last updated:** [June 8, 2018, 11:45pm UTC](https://meta.discourse.org/t/poll-migration-problem-and-advice/89392 "2018-06-08T23:45:09Z")

</div>

Hi, my chosen approach to creating polls during a migration is functional but not without issues. tl;dr - Is there a way that I can call Post.save as if I were a system user (to skip validation) - and is this advisable …

---

## [Is there a property or observable that is triggered on transition change?](https://meta.discourse.org/t/is-there-a-property-or-observable-that-is-triggered-on-transition-change/89395)

<div class="topic-metadata">

**Author:** [@coderberry](https://meta.discourse.org/u/coderberry)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 9:28pm UTC](https://meta.discourse.org/t/is-there-a-property-or-observable-that-is-triggered-on-transition-change/89395 "2018-06-07T21:28:51Z")

</div>

I would like to trigger a function each time a URL is changed. Is there a way to do this within a plugin? Thanks!

---

## [Can I access foundation sass variables in a plugin?](https://meta.discourse.org/t/can-i-access-foundation-sass-variables-in-a-plugin/89368)

<div class="topic-metadata">

**Author:** [@coderberry](https://meta.discourse.org/u/coderberry)\
**Replies:** 3\
**Last updated:** [June 7, 2018, 3:43pm UTC](https://meta.discourse.org/t/can-i-access-foundation-sass-variables-in-a-plugin/89368 "2018-06-07T15:43:45Z")

</div>

I would like to be able to access the foundation sass variables to support themes in the plugin I am working on. Is this possible? For example, if I choose the ‘dark’ theme, I want my content to follow the same color sc…

---

## [Fix for terminal window columns and rows mismatch inside the container](https://meta.discourse.org/t/fix-for-terminal-window-columns-and-rows-mismatch-inside-the-container/89222)

<div class="topic-metadata">

**Author:** [@cmwebdev](https://meta.discourse.org/u/cmwebdev)\
**Replies:** 3\
**Last updated:** [June 6, 2018, 11:45pm UTC](https://meta.discourse.org/t/fix-for-terminal-window-columns-and-rows-mismatch-inside-the-container/89222 "2018-06-06T23:45:46Z")

</div>

I have figured out a simple workaround to a problem that was driving me CRAZY with the Docker container. Whenever I run ./launcher enter app, the columns and rows of the shell session from inside the container never matc…

---

## [Important changes to Plugin Outlets for Ember 2.10](https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136)

<div class="topic-metadata">

**Author:** [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Replies:** 23\
**Last updated:** [June 1, 2018, 11:45pm UTC](https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136 "2018-06-01T23:45:12Z")

</div>

Shortly I will be merging a branch of Discourse into master that updates us to the latest stable version of Ember, which is 2.10. This is exciting because we’ve been behind Ember’s stable branch for a while and we’ve fin…

---

## [Ionic support integration](https://meta.discourse.org/t/ionic-support-integration/88854)

<div class="topic-metadata">

**Author:** [@Rusdy\_Cool](https://meta.discourse.org/u/Rusdy_Cool)\
**Replies:** 2\
**Last updated:** [June 1, 2018, 2:17am UTC](https://meta.discourse.org/t/ionic-support-integration/88854 "2018-06-01T02:17:27Z")

</div>

Hi, I would like to integrate dicourse in my ionic app, any suggestions?

---

## [Moderation Plugin](https://meta.discourse.org/t/moderation-plugin/88305)

<div class="topic-metadata">

**Author:** [@richhat](https://meta.discourse.org/u/richhat)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 3:57pm UTC](https://meta.discourse.org/t/moderation-plugin/88305 "2018-05-30T15:57:38Z")

</div>

Community Sift is implementing a moderation plugin for Discourse. Ideally, moderators would be presented with the classification results of a post in either the “Needs Approval” or “Flagged” for moderation queues. Woul…

---

## [How long does it take to compile a fork of the discourse docker image?](https://meta.discourse.org/t/how-long-does-it-take-to-compile-a-fork-of-the-discourse-docker-image/88697)

<div class="topic-metadata">

**Author:** [@sudoman](https://meta.discourse.org/u/sudoman)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 8:55am UTC](https://meta.discourse.org/t/how-long-does-it-take-to-compile-a-fork-of-the-discourse-docker-image/88697 "2018-05-30T08:55:34Z")

</div>

Since non-docker installs are not supported and apparently difficult to install, I’m wondering how long does it take to compile a fork of your docker image? Is it possible to re-use the discourse/base build and to swap i…

---

## [PR to add asciimath](https://meta.discourse.org/t/pr-to-add-asciimath/253651)

<div class="topic-metadata">

**Author:** [@mcmcclur](https://meta.discourse.org/u/mcmcclur)\
**Replies:** 4\
**Last updated:** [May 27, 2018, 3:37am UTC](https://meta.discourse.org/t/pr-to-add-asciimath/253651 "2018-05-27T03:37:59Z")

</div>

I’ve just submitted a pull request to modify the plugin so that it can process input expressed in asciimath, as well as LaTeX. The code is on GitHub and (for a brief time only) you can see it in action on this temporary …

---

## [How to change Topic progress](https://meta.discourse.org/t/how-to-change-topic-progress/88225)

<div class="topic-metadata">

**Author:** [@keyboardstaff](https://meta.discourse.org/u/keyboardstaff)\
**Replies:** 0\
**Last updated:** [May 23, 2018, 9:24am UTC](https://meta.discourse.org/t/how-to-change-topic-progress/88225 "2018-05-23T09:24:31Z")

</div>

Hi! Ask how to change the time bar of this post to this style? import tn from 'discourse/components/topic-navigation'; export default { name: 'always-mobile-timeline', initialize: function(){ /\* This is mos…

---

## [REST Javascript Login (or API Key Generation)?](https://meta.discourse.org/t/rest-javascript-login-or-api-key-generation/87635)

<div class="topic-metadata">

**Author:** [@reinchek](https://meta.discourse.org/u/reinchek)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 1:18pm UTC](https://meta.discourse.org/t/rest-javascript-login-or-api-key-generation/87635 "2018-05-16T13:18:56Z")

</div>

Hi all, i’m embedding the possibility to post discourse’s topic from external site through javascript. For this i need to generate an user’s api key, but if user isn’t logged on discourse is needed to shown a login form…

---

## [Is there a way to check validity of a new username via the API before actually trying to register?](https://meta.discourse.org/t/is-there-a-way-to-check-validity-of-a-new-username-via-the-api-before-actually-trying-to-register/88153)

<div class="topic-metadata">

**Author:** [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)\
**Replies:** 2\
**Last updated:** [May 22, 2018, 5:06pm UTC](https://meta.discourse.org/t/is-there-a-way-to-check-validity-of-a-new-username-via-the-api-before-actually-trying-to-register/88153 "2018-05-22T17:06:01Z")

</div>

Or alternatively is there a PHP implementation of the username rule set that anyone here knows of?

---

## [How to make a theme component for TL-based banner](https://meta.discourse.org/t/how-to-make-a-theme-component-for-tl-based-banner/88014)

<div class="topic-metadata">

**Author:** [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 5:56pm UTC](https://meta.discourse.org/t/how-to-make-a-theme-component-for-tl-based-banner/88014 "2018-05-21T17:56:46Z")

</div>

it should be possible to write the banner-topic in different \<div\>'s and then use the condition for trust level mentioned here to show-hide the corresponding div to user, i.e.: if (Discourse.User.current() && trust \>=…

---

## [Request for help on finding a user's full name in a theme component context](https://meta.discourse.org/t/request-for-help-on-finding-a-users-full-name-in-a-theme-component-context/87128)

<div class="topic-metadata">

**Author:** [@tshenry](https://meta.discourse.org/u/tshenry)\
**Replies:** 6\
**Last updated:** [May 21, 2018, 10:01am UTC](https://meta.discourse.org/t/request-for-help-on-finding-a-users-full-name-in-a-theme-component-context/87128 "2018-05-21T10:01:06Z")

</div>

I’m trying to inject a user’s full name into the featured topic handlebars template. I have no problem getting a test value into the template, but I cannot seem to get the value I want. In the code below, I would ideally…

---

## [Accessing Custom Plugin Settings](https://meta.discourse.org/t/accessing-custom-plugin-settings/87930)

<div class="topic-metadata">

**Author:** [@Gnisha](https://meta.discourse.org/u/Gnisha)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 6:35am UTC](https://meta.discourse.org/t/accessing-custom-plugin-settings/87930 "2018-05-21T06:35:44Z")

</div>

Hello. I’ve read some of the guides on creating your own plugins along with accessing custom plugin settings, but so far I haven’t been able to get anything to work. So, I have the following in my settings.yml: plugin…

---

## [Possible to remove/suppress small\_action](https://meta.discourse.org/t/possible-to-remove-suppress-small-action/87851)

<div class="topic-metadata">

**Author:** [@jordan1909](https://meta.discourse.org/u/jordan1909)\
**Replies:** 2\
**Last updated:** [May 18, 2018, 7:01pm UTC](https://meta.discourse.org/t/possible-to-remove-suppress-small-action/87851 "2018-05-18T19:01:28Z")

</div>

Is it possible to delete the add\_small\_action item that shows up in some cases. I have written a plugin that will round-robin assign our support team to specific support cases, the issue however is if the topic gets mov…

---

## [Wiki Post and the method of storage in the database](https://meta.discourse.org/t/wiki-post-and-the-method-of-storage-in-the-database/87616)

<div class="topic-metadata">

**Author:** [@Stranik](https://meta.discourse.org/u/Stranik)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 9:51am UTC](https://meta.discourse.org/t/wiki-post-and-the-method-of-storage-in-the-database/87616 "2018-05-16T09:51:45Z")

</div>

Hi. Where can I get acquainted, how information is stored in the Wiki post? For example, I am interested in this question. There is a Wiki post: We see 14 changes over time. Each time a change is made, a separate …

---

## [How to create an api key on the admin panel](https://meta.discourse.org/t/how-to-create-an-api-key-on-the-admin-panel/87383)

<div class="topic-metadata">

**Author:** [@mattman](https://meta.discourse.org/u/mattman)\
**Replies:** 11\
**Last updated:** [May 16, 2018, 2:42am UTC](https://meta.discourse.org/t/how-to-create-an-api-key-on-the-admin-panel/87383 "2018-05-16T02:42:02Z")

</div>

I just got Discourse setup on Digital Ocean and I’m trying to tie it into my app on Bubble. I found the API docs https://docs.discourse.org/ which say that I need to create an API key on the admin panel. However, I …

---

## [Rewriting an invite page ember js controller in plugin](https://meta.discourse.org/t/rewriting-an-invite-page-ember-js-controller-in-plugin/87368)

<div class="topic-metadata">

**Author:** [@nikitabytsko](https://meta.discourse.org/u/nikitabytsko)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 6:31am UTC](https://meta.discourse.org/t/rewriting-an-invite-page-ember-js-controller-in-plugin/87368 "2018-05-15T06:31:25Z")

</div>

Good day. First of all, sry for bad English. I’m noob in discourse and i’m writing a small plugin to change the invite page. I understand how to change .hbs file, but i don’t know how to change invite.js.es6 file. I wann…

---

## [Extracting discourse's text diffing functionality](https://meta.discourse.org/t/extracting-discourses-text-diffing-functionality/87236)

<div class="topic-metadata">

**Author:** [@gdpelican](https://meta.discourse.org/u/gdpelican)\
**Replies:** 3\
**Last updated:** [May 14, 2018, 12:00am UTC](https://meta.discourse.org/t/extracting-discourses-text-diffing-functionality/87236 "2018-05-14T00:00:52Z")

</div>

I’ve recently found myself with a need for Discourse’s excellent post diffing functionality in a project. Normally for a project like this I’d take a look at Discourse’s code and re-implement it to my taste, but this…

[Previous page](https://meta.discourse.org/c/dev/7.md?page=118)

[Next page](https://meta.discourse.org/c/dev/7.md?page=120)
