# Development

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

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

**Page:** 94

---

## [Which Regex Implementation Does Discourse Use?](https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**Replies:** 5\
**Last updated:** [April 29, 2020, 12:11am UTC](https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935 "2020-04-29T00:11:30Z")

</div>

I’m working on some regex stuff for an import project and I ran into some issues. Just curious, which regex implementation does Discourse use?

---

## [Theme component to show indicator if current user has replied to a topic?](https://meta.discourse.org/t/theme-component-to-show-indicator-if-current-user-has-replied-to-a-topic/149514)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 3\
**Last updated:** [April 28, 2020, 11:37pm UTC](https://meta.discourse.org/t/theme-component-to-show-indicator-if-current-user-has-replied-to-a-topic/149514 "2020-04-28T23:37:20Z")

</div>

Someone has asked if there is a way to get an indicator showing whether the current user has replied to a topic. But I think that the category load has only the frequent post and no info on the current poster, right? So …

---

## [How/where to customize markdown parser](https://meta.discourse.org/t/how-where-to-customize-markdown-parser/147538)

<div class="topic-metadata">

**Author:** [@mentalstring](https://meta.discourse.org/u/mentalstring)\
**Replies:** 4\
**Last updated:** [April 28, 2020, 9:34pm UTC](https://meta.discourse.org/t/how-where-to-customize-markdown-parser/147538 "2020-04-28T21:34:26Z")

</div>

I’m preparing a Discourse instance using SSO and it’s important for us to support the existing usernames which have underscore&dashes on any position. I have managed to do the regex updates on Discourse code for this to …

---

## [Add additional button post menu](https://meta.discourse.org/t/add-additional-button-post-menu/149439)

<div class="topic-metadata">

**Author:** [@marek](https://meta.discourse.org/u/marek)\
**Replies:** 3\
**Last updated:** [April 28, 2020, 3:08pm UTC](https://meta.discourse.org/t/add-additional-button-post-menu/149439 "2020-04-28T15:08:29Z")

</div>

Hey. I’m quite new to Discourse plugin making, but I was wondering if anyone could help me explaining how to add additional button to post menu. As far as I can see, this should be handled via custom plugin. For exampl…

---

## [I am unable to create a new topic by API using CURL or POSTMAN](https://meta.discourse.org/t/i-am-unable-to-create-a-new-topic-by-api-using-curl-or-postman/149592)

<div class="topic-metadata">

**Author:** [@Faizan\_Zahid](https://meta.discourse.org/u/Faizan_Zahid)\
**Replies:** 1\
**Last updated:** [April 28, 2020, 1:49pm UTC](https://meta.discourse.org/t/i-am-unable-to-create-a-new-topic-by-api-using-curl-or-postman/149592 "2020-04-28T13:49:10Z")

</div>

My CURL request is, curl -X POST "https://mysite.com/posts.json" \\ -H "Api-Key: mykey" \\ -H "Api-Username: system" \\ -H "title: How many hours are in a year and How many seconds are in a year?" \\ -H "raw: this is my fi…

---

## [CORS error when trying to load custom font](https://meta.discourse.org/t/cors-error-when-trying-to-load-custom-font/149302)

<div class="topic-metadata">

**Author:** [@cjk77](https://meta.discourse.org/u/cjk77)\
**Replies:** 4\
**Last updated:** [April 28, 2020, 1:51am UTC](https://meta.discourse.org/t/cors-error-when-trying-to-load-custom-font/149302 "2020-04-28T01:51:18Z")

</div>

I’m trying to make use of a special font in one of my theme components. I’ve followed the instructions in this post: Here’s the CSS in my component: @font-face { font-family: 'northwood'; font-style: regular; s…

---

## [Best Workflow for Maintaining Themes?](https://meta.discourse.org/t/best-workflow-for-maintaining-themes/148931)

<div class="topic-metadata">

**Author:** [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)\
**Replies:** 6\
**Last updated:** [April 27, 2020, 11:06pm UTC](https://meta.discourse.org/t/best-workflow-for-maintaining-themes/148931 "2020-04-27T23:06:42Z")

</div>

Hi all, I wanted to ask what the recommended or best method of maintaining your edits/customizations on say an existing theme is? I’d like as an example to make edits to @rewphus’s fantastic Material Design Stock Theme …

---

## [How do I force the text color on a colored background](https://meta.discourse.org/t/how-do-i-force-the-text-color-on-a-colored-background/149509)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**Replies:** 2\
**Last updated:** [April 27, 2020, 8:18pm UTC](https://meta.discourse.org/t/how-do-i-force-the-text-color-on-a-colored-background/149509 "2020-04-27T20:18:49Z")

</div>

Hi. I’m trying to create a theme and here’s what my theme color shows: I’d like to have a white text on all elements using this blue background rather than the black text chosen by Discourse. Where can I force the t…

---

## [What is the best way to Integrate Trello with Discourse?](https://meta.discourse.org/t/what-is-the-best-way-to-integrate-trello-with-discourse/108532)

<div class="topic-metadata">

**Author:** [@Andy02](https://meta.discourse.org/u/Andy02)\
**Replies:** 10\
**Last updated:** [April 27, 2020, 7:08pm UTC](https://meta.discourse.org/t/what-is-the-best-way-to-integrate-trello-with-discourse/108532 "2020-04-27T19:08:44Z")

</div>

Our community use Trello for project management and Discourse for Community building and discussion. The two are too distant, and i often find members have been using the Trello chat feature which is terrible and normall…

---

## [How to get all latest/top messages in non-private categories?](https://meta.discourse.org/t/how-to-get-all-latest-top-messages-in-non-private-categories/149457)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**Replies:** 5\
**Last updated:** [April 27, 2020, 2:28pm UTC](https://meta.discourse.org/t/how-to-get-all-latest-top-messages-in-non-private-categories/149457 "2020-04-27T14:28:06Z")

</div>

Here’s my situation: I am using Discourse via SSO. A member of my main site may have never visited the forums (yet), but I want to show them the latest/hot topics, to entice them to click and see what they’re missing. H…

---

## [Possible to use system API key to get "hot" and "latest" topics for specific user?](https://meta.discourse.org/t/possible-to-use-system-api-key-to-get-hot-and-latest-topics-for-specific-user/149352)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**Replies:** 4\
**Last updated:** [April 27, 2020, 7:06am UTC](https://meta.discourse.org/t/possible-to-use-system-api-key-to-get-hot-and-latest-topics-for-specific-user/149352 "2020-04-27T07:06:43Z")

</div>

Here’s my use case: I want to show the top 5 latest and hottest topics on my forum home page. I need it to be filtered by what is appropriate for a particular Discourse user - for example, some of my users have access to…

---

## [Rails command to mass promote users to TL2?](https://meta.discourse.org/t/rails-command-to-mass-promote-users-to-tl2/149238)

<div class="topic-metadata">

**Author:** [@Queth](https://meta.discourse.org/u/Queth)\
**Replies:** 9\
**Last updated:** [April 25, 2020, 12:50pm UTC](https://meta.discourse.org/t/rails-command-to-mass-promote-users-to-tl2/149238 "2020-04-25T12:50:07Z")

</div>

Hello, I am opening a new topic for this since I think my questions in a Previous topic about this have been looked over since I originally marked it as resolved, but it isn’t. case: I migrated to discourse, and member…

---

## [Discourse + Ghost integration, console error](https://meta.discourse.org/t/discourse-ghost-integration-console-error/149109)

<div class="topic-metadata">

**Author:** [@porcorosso](https://meta.discourse.org/u/porcorosso)\
**Replies:** 1\
**Last updated:** [April 25, 2020, 8:39am UTC](https://meta.discourse.org/t/discourse-ghost-integration-console-error/149109 "2020-04-25T08:39:23Z")

</div>

Hello, Folowing this page I used this code in order to integrate Discourse’s comments on my Ghost js V3 blog : \<div id='discourse-comments'\>\</div\> \<script type="text/javascript"\> if (window.location.pathname.ind…

---

## [In onebox, how to display random descriptions](https://meta.discourse.org/t/in-onebox-how-to-display-random-descriptions/149220)

<div class="topic-metadata">

**Author:** [@hoangviet](https://meta.discourse.org/u/hoangviet)\
**Replies:** 11\
**Last updated:** [April 25, 2020, 3:46am UTC](https://meta.discourse.org/t/in-onebox-how-to-display-random-descriptions/149220 "2020-04-25T03:46:55Z")

</div>

The default Onebox takes description as the first paragraph in the original article, I want to describe it as random (get a random paragraph in the original article) For example: I do not want to describe in the defau…

---

## [What HTML can you customize?](https://meta.discourse.org/t/what-html-can-you-customize/149176)

<div class="topic-metadata">

**Author:** [@JQ331](https://meta.discourse.org/u/JQ331)\
**Replies:** 9\
**Last updated:** [April 24, 2020, 6:30pm UTC](https://meta.discourse.org/t/what-html-can-you-customize/149176 "2020-04-24T18:30:07Z")

</div>

As someone new to Discourse, I’m trying to understand what can be customized and how. I know there are different themes and theme components available, and I also understand that in theory I can edit html, css, and javas…

---

## [Postgres.template.yml and the multi-container configuration](https://meta.discourse.org/t/postgres-template-yml-and-the-multi-container-configuration/149100)

<div class="topic-metadata">

**Author:** [@neounix](https://meta.discourse.org/u/neounix)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 6:32am UTC](https://meta.discourse.org/t/postgres-template-yml-and-the-multi-container-configuration/149100 "2020-04-24T06:32:33Z")

</div>

Noticed that when we moved into multi-container mode, restoring the DB resulted in unexpected site down time (while the backup is loaded into the DB): So, I did some digging around in postgres.template.yml and noticed t…

---

## [Fix a bug in a voice record plugin](https://meta.discourse.org/t/fix-a-bug-in-a-voice-record-plugin/148905)

<div class="topic-metadata">

**Author:** [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)\
**Replies:** 3\
**Last updated:** [April 23, 2020, 10:50pm UTC](https://meta.discourse.org/t/fix-a-bug-in-a-voice-record-plugin/148905 "2020-04-23T22:50:05Z")

</div>

I installed this plugin: GitHub - synweap15/discourse-voice-record: Voice recording plugin for Discourse · GitHub Have a fresh and latest version of Discourse. Got a problem: there is no a microphone icon but a place f…

---

## [Best Course of Action on Supporting Custom BBCode?](https://meta.discourse.org/t/best-course-of-action-on-supporting-custom-bbcode/148941)

<div class="topic-metadata">

**Author:** [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)\
**Replies:** 10\
**Last updated:** [April 24, 2020, 7:02am UTC](https://meta.discourse.org/t/best-course-of-action-on-supporting-custom-bbcode/148941 "2020-04-24T07:02:22Z")

</div>

Hi all, We are definitely looking at Discourse as an alternative to our forum software for a varity of reasons but one of the big things we have to figure out is what to do with all the bbcode we support on our site whi…

---

## [Putting all bookmarked topics on the front page](https://meta.discourse.org/t/putting-all-bookmarked-topics-on-the-front-page/149025)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**Replies:** 2\
**Last updated:** [April 23, 2020, 6:56pm UTC](https://meta.discourse.org/t/putting-all-bookmarked-topics-on-the-front-page/149025 "2020-04-23T18:56:16Z")

</div>

Right now I believe the “front page” of the forums can be latest, new, unread, category list. How hard would it be to create something (theme? plugin?) that offered the list of bookmarked topics on the front page? I’d …

---

## [Running Discourse with SSL in Development](https://meta.discourse.org/t/running-discourse-with-ssl-in-development/149009)

<div class="topic-metadata">

**Author:** [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)\
**Replies:** 4\
**Last updated:** [April 23, 2020, 4:10pm UTC](https://meta.discourse.org/t/running-discourse-with-ssl-in-development/149009 "2020-04-23T16:10:17Z")

</div>

Hello, I was looking if there was a solution but only topics that don’t provide help with this issue. I’m trying to get SSL running locally in Discourse. Looking at Rails tutorials to make this they recommend using the -…

---

## [API POST for New User](https://meta.discourse.org/t/api-post-for-new-user/148676)

<div class="topic-metadata">

**Author:** [@waffleslop](https://meta.discourse.org/u/waffleslop)\
**Replies:** 22\
**Last updated:** [April 23, 2020, 1:00pm UTC](https://meta.discourse.org/t/api-post-for-new-user/148676 "2020-04-23T13:00:43Z")

</div>

I am attempting to make a POST request via API to create a new user. Use case: Creating a new user once a credit card form is submitted on a Wordpress site. Ultimately, this will be fired from Google Tag Manager using J…

---

## [Hiding specific users from](https://meta.discourse.org/t/hiding-specific-users-from/148790)

<div class="topic-metadata">

**Author:** [@sam.sykes](https://meta.discourse.org/u/sam.sykes)\
**Replies:** 5\
**Last updated:** [April 22, 2020, 10:17pm UTC](https://meta.discourse.org/t/hiding-specific-users-from/148790 "2020-04-22T22:17:00Z")

</div>

I thought I’d share some simple JavaScript to hide specific users from the Users list. I imagine this could be way more graceful if done via a plugin, but I am not brave enough to do that yet! Also, this needs to be done…

---

## [I’d like to start developing for Discourse, where should I begin?](https://meta.discourse.org/t/i-d-like-to-start-developing-for-discourse-where-should-i-begin/148810)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**Replies:** 11\
**Last updated:** [April 22, 2020, 4:06pm UTC](https://meta.discourse.org/t/i-d-like-to-start-developing-for-discourse-where-should-i-begin/148810 "2020-04-22T16:06:18Z")

</div>

I used to develop plugins for a legacy forum platform many years ago that used PHP and MySQL. I was really pleased with some of the things I was able to do and so were my members. I’ve never worked with Ruby on Rails be…

---

## [Tiny feature request for core: add 3 classes](https://meta.discourse.org/t/tiny-feature-request-for-core-add-3-classes/148725)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**Replies:** 6\
**Last updated:** [April 22, 2020, 12:27pm UTC](https://meta.discourse.org/t/tiny-feature-request-for-core-add-3-classes/148725 "2020-04-22T12:27:53Z")

</div>

Hi, I’m working on styling the ‘quote’ box… is it possible for Discourse core to gain classes on the down arrow (see quote in context) and the up arrow (jump to quoted message)? And-- more importantly-- could there a…

---

## [Theme development in CI/CD fashion](https://meta.discourse.org/t/theme-development-in-ci-cd-fashion/148714)

<div class="topic-metadata">

**Author:** [@zcuric](https://meta.discourse.org/u/zcuric)\
**Replies:** 11\
**Last updated:** [April 21, 2020, 1:14pm UTC](https://meta.discourse.org/t/theme-development-in-ci-cd-fashion/148714 "2020-04-21T13:14:16Z")

</div>

Hi, do you guys have suggestion how to approach theme deployment in CI/CD fashion? Client expects new theme releases every two weeks and we would like to ship theme in automated process. We are using discourse docker. W…

---

## [jQuery(?) fade effect override](https://meta.discourse.org/t/jquery-fade-effect-override/148651)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**Replies:** 3\
**Last updated:** [April 20, 2020, 6:54pm UTC](https://meta.discourse.org/t/jquery-fade-effect-override/148651 "2020-04-20T18:54:16Z")

</div>

Hi, when you nav to a specific post, the UI highlights the DIV for a second. The problem is that I’ve changed the default background color of that div to white, which is now different from the site background color. Can…

---

## [Template for serving through an .onion address with Docker](https://meta.discourse.org/t/template-for-serving-through-an-onion-address-with-docker/41536)

<div class="topic-metadata">

**Author:** [@RomeoPapa](https://meta.discourse.org/u/RomeoPapa)\
**Replies:** 7\
**Last updated:** [April 20, 2020, 5:18pm UTC](https://meta.discourse.org/t/template-for-serving-through-an-onion-address-with-docker/41536 "2020-04-20T17:18:40Z")

</div>

Hi there, I’ve submitted a pull request to discourse\_docker. It creates a new onion.conf file in the nginx config folder. The new onion.conf is created by copying nginx.sample.conf and editing that copy. This new confi…

---

## [Discourse Code Modification for personal use](https://meta.discourse.org/t/discourse-code-modification-for-personal-use/148610)

<div class="topic-metadata">

**Author:** [@suman0099](https://meta.discourse.org/u/suman0099)\
**Replies:** 2\
**Last updated:** [April 20, 2020, 12:59pm UTC](https://meta.discourse.org/t/discourse-code-modification-for-personal-use/148610 "2020-04-20T12:59:11Z")

</div>

Is there any guide for making changes to discourse codebase for adding features or changing UI. I don’t want to use Theme Component or Plugin API

---

## [API documentation is incorrect for updating a single post](https://meta.discourse.org/t/api-documentation-is-incorrect-for-updating-a-single-post/148428)

<div class="topic-metadata">

**Author:** [@balupton](https://meta.discourse.org/u/balupton)\
**Replies:** 0\
**Last updated:** [April 18, 2020, 9:44am UTC](https://meta.discourse.org/t/api-documentation-is-incorrect-for-updating-a-single-post/148428 "2020-04-18T09:44:22Z")

</div>

it is a put request, yet the response says it is a post response, which is confusing

---

## [Estimating historical read time for a large forum import](https://meta.discourse.org/t/estimating-historical-read-time-for-a-large-forum-import/148356)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**Replies:** 4\
**Last updated:** [April 18, 2020, 6:52am UTC](https://meta.discourse.org/t/estimating-historical-read-time-for-a-large-forum-import/148356 "2020-04-18T06:52:35Z")

</div>

I’m in the process of migrating a legacy forum with about 1.3 million posts and two decades of history to Discourse. What I would like to avoid is for every user to show 0 read time from the start upon the successful mi…

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

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