# Development

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

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

**Page:** 98

---

## [Long Polling Message Bus Notifications from React Application](https://meta.discourse.org/t/long-polling-message-bus-notifications-from-react-application/142722)

<div class="topic-metadata">

**Author:** [@StanLindsey](https://meta.discourse.org/u/StanLindsey)\
**Replies:** 4\
**Last updated:** [February 27, 2020, 11:09am UTC](https://meta.discourse.org/t/long-polling-message-bus-notifications-from-react-application/142722 "2020-02-27T11:09:38Z")

</div>

Hi all, I’m currently building a React frontend to a headless Discourse server. I am in the process of implementing the notifications count, similar to the one over the users avatar on here. I’d like this to be updated…

---

## [Submitting hidden fields in account creation form](https://meta.discourse.org/t/submitting-hidden-fields-in-account-creation-form/142169)

<div class="topic-metadata">

**Author:** [@agmontpetit](https://meta.discourse.org/u/agmontpetit)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 2:32pm UTC](https://meta.discourse.org/t/submitting-hidden-fields-in-account-creation-form/142169 "2020-02-26T14:32:24Z")

</div>

I’m trying to add UTM params as user custom fields when the user creates an account. My plan was the following: Add user custom fields in Discourse admin settings Parse the UTM params from the URL and store them in a c…

---

## [How can I remove the 'Replies' column from the home page](https://meta.discourse.org/t/how-can-i-remove-the-replies-column-from-the-home-page/142247)

<div class="topic-metadata">

**Author:** [@Monika\_Gupta](https://meta.discourse.org/u/Monika_Gupta)\
**Replies:** 2\
**Last updated:** [February 25, 2020, 5:25am UTC](https://meta.discourse.org/t/how-can-i-remove-the-replies-column-from-the-home-page/142247 "2020-02-25T05:25:16Z")

</div>

Hi…we are a new community & want to remove the ‘Replies’ column from the home page. Kindy help.

---

## [How to get a docker image of discourse using bash on windows 10?](https://meta.discourse.org/t/how-to-get-a-docker-image-of-discourse-using-bash-on-windows-10/64756)

<div class="topic-metadata">

**Author:** [@golden\_eagle](https://meta.discourse.org/u/golden_eagle)\
**Replies:** 4\
**Last updated:** [June 19, 2017, 7:35pm UTC](https://meta.discourse.org/t/how-to-get-a-docker-image-of-discourse-using-bash-on-windows-10/64756 "2017-06-19T19:35:11Z")

</div>

I am very new to the concept of Docker. Can somebody help me out on how to get a docker image of discourse for Windows 10 via bash ( I have Ubuntu 14.04.5 LTS on my bash)?

---

## [Docker setup for development](https://meta.discourse.org/t/docker-setup-for-development/72354)

<div class="topic-metadata">

**Author:** [@drew0101](https://meta.discourse.org/u/drew0101)\
**Replies:** 16\
**Last updated:** [October 19, 2017, 11:31am UTC](https://meta.discourse.org/t/docker-setup-for-development/72354 "2017-10-19T11:31:18Z")

</div>

Hello, I am working on setting up Discourse locally and am very confused. I have read that the “The only officially supported installs of Discourse are Docker based.” (discourse/docs/INSTALL.md at main · discourse/discou…

---

## [Can we customize the home page?](https://meta.discourse.org/t/can-we-customize-the-home-page/142439)

<div class="topic-metadata">

**Author:** [@Sankalp\_Kumar](https://meta.discourse.org/u/Sankalp_Kumar)\
**Replies:** 2\
**Last updated:** [February 24, 2020, 1:30pm UTC](https://meta.discourse.org/t/can-we-customize-the-home-page/142439 "2020-02-24T13:30:59Z")

</div>

Hi..Can we customize the home page?

---

## [Need help getting an "enable plugin" setting feature to work](https://meta.discourse.org/t/need-help-getting-an-enable-plugin-setting-feature-to-work/141709)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**Replies:** 4\
**Last updated:** [February 23, 2020, 1:51am UTC](https://meta.discourse.org/t/need-help-getting-an-enable-plugin-setting-feature-to-work/141709 "2020-02-23T01:51:15Z")

</div>

I’m working on a markdown plugin and I’m having trouble adding a site setting to allow you to disable the feature. I wrote the plugin by following the structure of Discourse Footnote, which has a setting allowing you to …

---

## [How to ask a user to create a password for the account made for him?](https://meta.discourse.org/t/how-to-ask-a-user-to-create-a-password-for-the-account-made-for-him/141825)

<div class="topic-metadata">

**Author:** [@dm.linov](https://meta.discourse.org/u/dm.linov)\
**Replies:** 2\
**Last updated:** [February 22, 2020, 8:05pm UTC](https://meta.discourse.org/t/how-to-ask-a-user-to-create-a-password-for-the-account-made-for-him/141825 "2020-02-22T20:05:56Z")

</div>

We have a feedback form on our website, which is mostly used for support questions. I want questions posted there to become new topics on our forum, powered by Discourse. I am trying to implement the following sequence …

---

## [Pros/Cons of using Theme instead of Plugin for customization](https://meta.discourse.org/t/pros-cons-of-using-theme-instead-of-plugin-for-customization/142255)

<div class="topic-metadata">

**Author:** [@Overgrow](https://meta.discourse.org/u/Overgrow)\
**Replies:** 3\
**Last updated:** [February 22, 2020, 12:17am UTC](https://meta.discourse.org/t/pros-cons-of-using-theme-instead-of-plugin-for-customization/142255 "2020-02-22T00:17:56Z")

</div>

I’ve noticed that for design customization, Themes are recommended to be used instead of Plugins. What are the benefits? From development view I see Themes like too cumbersome. I need one more tool to be able to see cod…

---

## [Creating a new topic from a different application](https://meta.discourse.org/t/creating-a-new-topic-from-a-different-application/142154)

<div class="topic-metadata">

**Author:** [@Robert\_Fay](https://meta.discourse.org/u/Robert_Fay)\
**Replies:** 1\
**Last updated:** [February 20, 2020, 4:55pm UTC](https://meta.discourse.org/t/creating-a-new-topic-from-a-different-application/142154 "2020-02-20T16:55:41Z")

</div>

Hello, We currently have software that we use at my company to keep notes for technical support interactions with our customers. This is self-created using C#. We have been able to integrate this with our discourse sof…

---

## [Setting active class on nav-pills \> li for about, faqs, tos](https://meta.discourse.org/t/setting-active-class-on-nav-pills-li-for-about-faqs-tos/138401)

<div class="topic-metadata">

**Author:** [@scottrepreneur](https://meta.discourse.org/u/scottrepreneur)\
**Replies:** 5\
**Last updated:** [February 20, 2020, 4:02pm UTC](https://meta.discourse.org/t/setting-active-class-on-nav-pills-li-for-about-faqs-tos/138401 "2020-02-20T16:02:49Z")

</div>

It looks like there’s a small bug in setting the active class on the nav-pills for about, faqs, tos, etc. The active class is being properly set for the child link \<a /\>, but being added to the element twice and lacking …

---

## [Rebuild app hangs](https://meta.discourse.org/t/rebuild-app-hangs/63111)

<div class="topic-metadata">

**Author:** [@rimian](https://meta.discourse.org/u/rimian)\
**Replies:** 3\
**Last updated:** [May 24, 2017, 4:50am UTC](https://meta.discourse.org/t/rebuild-app-hangs/63111 "2017-05-24T04:50:49Z")

</div>

My staging server hangs when I rebuild it. Previously it was working OK: DEBUG -- : Delivering messages \[\] to client xxxxxxxx for user 1 (chunked) What would this be?

---

## [Discourse setup script hostname validation for Let's Encrypt](https://meta.discourse.org/t/discourse-setup-script-hostname-validation-for-lets-encrypt/141911)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Replies:** 13\
**Last updated:** [February 19, 2020, 7:29pm UTC](https://meta.discourse.org/t/discourse-setup-script-hostname-validation-for-lets-encrypt/141911 "2020-02-19T19:29:42Z")

</div>

I don’t think that’s the case anymore. https://github.com/discourse/discourse\_docker/commit/026a664e77844c7b0d67a5609f08e67f1e436d5f

---

## [Splitting between plugin and theme](https://meta.discourse.org/t/splitting-between-plugin-and-theme/141895)

<div class="topic-metadata">

**Author:** [@agmontpetit](https://meta.discourse.org/u/agmontpetit)\
**Replies:** 2\
**Last updated:** [February 19, 2020, 2:23pm UTC](https://meta.discourse.org/t/splitting-between-plugin-and-theme/141895 "2020-02-19T14:23:56Z")

</div>

We are developing a plugin that serializes a new attribute (an image) in the topic list (using TopicListItemSerializer). However, it doesn’t make sense displaying this image in the context of the regular Discourse UI. Th…

---

## [Has anyone successfully gotten Discourse running in AWS ECS / similar?](https://meta.discourse.org/t/has-anyone-successfully-gotten-discourse-running-in-aws-ecs-similar/141694)

<div class="topic-metadata">

**Author:** [@lktmxjv](https://meta.discourse.org/u/lktmxjv)\
**Replies:** 6\
**Last updated:** [February 19, 2020, 2:02pm UTC](https://meta.discourse.org/t/has-anyone-successfully-gotten-discourse-running-in-aws-ecs-similar/141694 "2020-02-19T14:02:56Z")

</div>

I’ve read threads like this and others, and it seems like to date, there’s no easy way to pop a Discourse image into something like ECS, or GKE or whatever container orchestration you like and have it work easily… I use…

---

## [Enable components according to user groups or trust levels](https://meta.discourse.org/t/enable-components-according-to-user-groups-or-trust-levels/142009)

<div class="topic-metadata">

**Author:** [@Rina\_Fallingstar](https://meta.discourse.org/u/Rina_Fallingstar)\
**Replies:** 2\
**Last updated:** [February 19, 2020, 2:05pm UTC](https://meta.discourse.org/t/enable-components-according-to-user-groups-or-trust-levels/142009 "2020-02-19T14:05:29Z")

</div>

Is it possible to make visible certain components according to trust levels or for example if users are in a certain group? I have some custom javascript and css features that I made for my discourse, but I wish that th…

---

## [First Byte Time vs CDN?](https://meta.discourse.org/t/first-byte-time-vs-cdn/141899)

<div class="topic-metadata">

**Author:** [@eextra](https://meta.discourse.org/u/eextra)\
**Replies:** 15\
**Last updated:** [February 19, 2020, 1:00pm UTC](https://meta.discourse.org/t/first-byte-time-vs-cdn/141899 "2020-02-19T13:00:09Z")

</div>

What are the differences between loading a page using CDN and what kind of prodivers are you using? I have much longer loading time to use with cdn. Can I do something wrong or don’t know about something ? maybe i shoul…

---

## [Get user by e-mail](https://meta.discourse.org/t/get-user-by-e-mail/141831)

<div class="topic-metadata">

**Author:** [@dm.linov](https://meta.discourse.org/u/dm.linov)\
**Replies:** 6\
**Last updated:** [February 17, 2020, 8:14pm UTC](https://meta.discourse.org/t/get-user-by-e-mail/141831 "2020-02-17T20:14:29Z")

</div>

We are creating users and topics via API. We need to check if a user with such email had been created before. If yes, then we create a topic from the existing user. So I need an API call “get username by email, if any”.…

---

## [Achieveving the same fading page transition as NodeBB?](https://meta.discourse.org/t/achieveving-the-same-fading-page-transition-as-nodebb/141678)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**Replies:** 5\
**Last updated:** [February 15, 2020, 7:43pm UTC](https://meta.discourse.org/t/achieveving-the-same-fading-page-transition-as-nodebb/141678 "2020-02-15T19:43:39Z")

</div>

Hi. One thing I like more in NodeBB than Discourse is the page transition effect. The main difference is that on Discourse, the content HTML is removed as soon as you click a link, whereas, on NodeBB, the content is ke…

---

## [Display list of topics by array of topics ids](https://meta.discourse.org/t/display-list-of-topics-by-array-of-topics-ids/86778)

<div class="topic-metadata">

**Author:** [@adopilot](https://meta.discourse.org/u/adopilot)\
**Replies:** 1\
**Last updated:** [February 15, 2020, 12:03am UTC](https://meta.discourse.org/t/display-list-of-topics-by-array-of-topics-ids/86778 "2020-02-15T00:03:14Z")

</div>

In our company we use discourse for everyday business. Discourse is deeply integrated in our erp software. For better organization of topics,our erp holds many kind of topics ids and posts ids. In some parts of our ap…

---

## [Understanding how trust level works](https://meta.discourse.org/t/understanding-how-trust-level-works/141593)

<div class="topic-metadata">

**Author:** [@Varsii](https://meta.discourse.org/u/Varsii)\
**Replies:** 1\
**Last updated:** [February 14, 2020, 10:40am UTC](https://meta.discourse.org/t/understanding-how-trust-level-works/141593 "2020-02-14T10:40:15Z")

</div>

Hello, I use the following code in order to get user’s trust level: const trustLevel = helper.attrs.user\_trust\_level; const trustLevelName = trustLevel ? Discourse.Site.currentProp('trustLevels').findBy('id', trustLeve…

---

## [Setting a password for a user with ruby](https://meta.discourse.org/t/setting-a-password-for-a-user-with-ruby/141455)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 12:59am UTC](https://meta.discourse.org/t/setting-a-password-for-a-user-with-ruby/141455 "2020-02-14T00:59:50Z")

</div>

How do you change a user password in ruby console?

---

## [Unable to replace topic-list-item.raw.hbs / topic-list-item.hbr on mobile](https://meta.discourse.org/t/unable-to-replace-topic-list-item-raw-hbs-topic-list-item-hbr-on-mobile/141395)

<div class="topic-metadata">

**Author:** [@duranmla](https://meta.discourse.org/u/duranmla)\
**Replies:** 10\
**Last updated:** [February 13, 2020, 2:05pm UTC](https://meta.discourse.org/t/unable-to-replace-topic-list-item-raw-hbs-topic-list-item-hbr-on-mobile/141395 "2020-02-13T14:05:28Z")

</div>

Hello everyone, I am doing a theme to customise several aspects from the default Discourse, with that in mind, one of the things I need to customise is the topic-list-item which seems to be fairly simple, I add on my th…

---

## [Get Latest topic for Current user](https://meta.discourse.org/t/get-latest-topic-for-current-user/138806)

<div class="topic-metadata">

**Author:** [@neerajsingh](https://meta.discourse.org/u/neerajsingh)\
**Replies:** 3\
**Last updated:** [February 13, 2020, 8:52am UTC](https://meta.discourse.org/t/get-latest-topic-for-current-user/138806 "2020-02-13T08:52:09Z")

</div>

I want to get the latest topic for the current user. currently, I am using this API (topics/created-by/username.json). but I want the latest topics I have a username and want to get a user topic. .

---

## [Development in dockerized install](https://meta.discourse.org/t/development-in-dockerized-install/75833)

<div class="topic-metadata">

**Author:** [@AntonS](https://meta.discourse.org/u/AntonS)\
**Replies:** 1\
**Last updated:** [December 11, 2017, 5:31pm UTC](https://meta.discourse.org/t/development-in-dockerized-install/75833 "2017-12-11T17:31:54Z")

</div>

I am using digitalocean one-click app for Discourse. I don’t have a lot of experience with Docker and Discourse, and I couldn’t find any recommended ways for creating theme/plugin inside dockerized environment. As far a…

---

## [Get topics a user is active in](https://meta.discourse.org/t/get-topics-a-user-is-active-in/76130)

<div class="topic-metadata">

**Author:** [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)\
**Replies:** 3\
**Last updated:** [February 12, 2020, 6:24am UTC](https://meta.discourse.org/t/get-topics-a-user-is-active-in/76130 "2020-02-12T06:24:13Z")

</div>

Is there an API endpoint to get all the topics a user has posted in, or perhaps all topics a user has started? We’ve got WordPress and Discourse working together but my client wants to display a list of the user’s topics…

---

## [Database performance recommendations (by Azure PSQL)](https://meta.discourse.org/t/database-performance-recommendations-by-azure-psql/141166)

<div class="topic-metadata">

**Author:** [@klopsknoedel](https://meta.discourse.org/u/klopsknoedel)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 9:10am UTC](https://meta.discourse.org/t/database-performance-recommendations-by-azure-psql/141166 "2020-02-11T09:10:26Z")

</div>

Hi, we’re hosting our discourse-based forum on azure with a “Azure Database for PostgreSQL” instance. One of the advantages of this service are the performance recommendations based on “database characteristics” and usa…

---

## [Banner diference mobile/web](https://meta.discourse.org/t/banner-diference-mobile-web/141220)

<div class="topic-metadata">

**Author:** [@jenni\_alencar](https://meta.discourse.org/u/jenni_alencar)\
**Replies:** 7\
**Last updated:** [February 10, 2020, 8:51pm UTC](https://meta.discourse.org/t/banner-diference-mobile-web/141220 "2020-02-10T20:51:07Z")

</div>

Is it possible to place a banner in the community and it only appears in the web version and does not appear in the mobile version? Thanks!

---

## [Add a plugin based custom user field to the create account form?](https://meta.discourse.org/t/add-a-plugin-based-custom-user-field-to-the-create-account-form/141088)

<div class="topic-metadata">

**Author:** [@davidnewkerk](https://meta.discourse.org/u/davidnewkerk)\
**Replies:** 1\
**Last updated:** [February 9, 2020, 8:39am UTC](https://meta.discourse.org/t/add-a-plugin-based-custom-user-field-to-the-create-account-form/141088 "2020-02-09T08:39:10Z")

</div>

I’ve added a custom user field using a plugin, following the example at: This works great and the custom field appears on the user’s profile edit page, and the value can be edited and saved. I’d like to get this field…

---

## [SetUpComponent not being called for topic list tags plugin outlet](https://meta.discourse.org/t/setupcomponent-not-being-called-for-topic-list-tags-plugin-outlet/58358)

<div class="topic-metadata">

**Author:** [@net\_deamon](https://meta.discourse.org/u/net_deamon)\
**Replies:** 3\
**Last updated:** [February 7, 2020, 12:14pm UTC](https://meta.discourse.org/t/setupcomponent-not-being-called-for-topic-list-tags-plugin-outlet/58358 "2020-02-07T12:14:40Z")

</div>

If I add a plugin outlet in list item, ie \<plugin name\>/assests/javascripts/discourse/templates/list/connectors/topic-list-tags/\<unique name\>.raw.hbs Where should I add the js.es6 file for this outlet? I tried it in f…

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

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