# Development

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

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

**Page:** 56

---

## [How to always show sidebar as menu panel?](https://meta.discourse.org/t/how-to-always-show-sidebar-as-menu-panel/248859)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 3\
**Last updated:** [December 21, 2022, 10:28am UTC](https://meta.discourse.org/t/how-to-always-show-sidebar-as-menu-panel/248859 "2022-12-21T10:28:10Z")

</div>

On a community I’ve enabled the sidebar and adjusted the panel view like that: I’d always like to use that panel menu and not switch between panel and sidebar depending on view-width. Is there a simple declaration to…

---

## [Problem running bin/ember-cli](https://meta.discourse.org/t/problem-running-bin-ember-cli/249545)

<div class="topic-metadata">

**Author:** [@Clement2005](https://meta.discourse.org/u/Clement2005)\
**Replies:** 5\
**Last updated:** [December 21, 2022, 7:27am UTC](https://meta.discourse.org/t/problem-running-bin-ember-cli/249545 "2022-12-21T07:27:52Z")

</div>

I’m trying to set up a development environment on Ubuntu and so after doing the following; cd ~/discourse bin/ember-cli Proxying to http://127.0.0.1:3000 ⠋ building… \[ember-auto-import-webpack\]Killed It always stops…

---

## [Header search in custom header](https://meta.discourse.org/t/header-search-in-custom-header/249481)

<div class="topic-metadata">

**Author:** [@misham](https://meta.discourse.org/u/misham)\
**Replies:** 2\
**Last updated:** [December 21, 2022, 7:16am UTC](https://meta.discourse.org/t/header-search-in-custom-header/249481 "2022-12-21T07:16:26Z")

</div>

HI! I want to insert default search in my custom header here so it is almost the same (with autocomplete). How it can be done? This search:

---

## [Insert search in custom header](https://meta.discourse.org/t/insert-search-in-custom-header/249375)

<div class="topic-metadata">

**Author:** [@misham](https://meta.discourse.org/u/misham)\
**Replies:** 3\
**Last updated:** [December 20, 2022, 8:23pm UTC](https://meta.discourse.org/t/insert-search-in-custom-header/249375 "2022-12-20T20:23:29Z")

</div>

Hi! I try to make custom header and want to insert my header after the main header like this Imgur: The magic of the Internet. However I didn’t found how can I reuse the search from the default header, can it be pasted a…

---

## [Send notification from Theme Component](https://meta.discourse.org/t/send-notification-from-theme-component/249470)

<div class="topic-metadata">

**Author:** [@Sören\_Geier](https://meta.discourse.org/u/S%C3%B6ren_Geier)\
**Replies:** 1\
**Last updated:** [December 20, 2022, 12:33pm UTC](https://meta.discourse.org/t/send-notification-from-theme-component/249470 "2022-12-20T12:33:06Z")

</div>

Hello, I am currently building a very cool Theme component where after a certain action of a user another user should get a notification e.g. the post owner. I was not able to find any snippets to pull this off from a t…

---

## [Get user profiles from list of user ids, from within a Theme component](https://meta.discourse.org/t/get-user-profiles-from-list-of-user-ids-from-within-a-theme-component/249368)

<div class="topic-metadata">

**Author:** [@Sören\_Geier](https://meta.discourse.org/u/S%C3%B6ren_Geier)\
**Replies:** 2\
**Last updated:** [December 20, 2022, 9:51am UTC](https://meta.discourse.org/t/get-user-profiles-from-list-of-user-ids-from-within-a-theme-component/249368 "2022-12-20T09:51:04Z")

</div>

Hello, is there an easy and straight forward way to get a list of user profiles back by passing a list of user ids that I am interested in? I am only interested in the users’ names to be honest to display those in a to…

---

## [Use discourse information and basic calculations in custom css?](https://meta.discourse.org/t/use-discourse-information-and-basic-calculations-in-custom-css/249057)

<div class="topic-metadata">

**Author:** [@Matt0x01](https://meta.discourse.org/u/Matt0x01)\
**Replies:** 11\
**Last updated:** [December 19, 2022, 3:42pm UTC](https://meta.discourse.org/t/use-discourse-information-and-basic-calculations-in-custom-css/249057 "2022-12-19T15:42:58Z")

</div>

Hi all, I’m trying to find a way to show # of topics in categories on the front page and if theres a way to further sort them based on their tags? And any idea how to do simple math using the #'s above with javascript? …

---

## [Click event listener for dynamically pushed html](https://meta.discourse.org/t/click-event-listener-for-dynamically-pushed-html/249358)

<div class="topic-metadata">

**Author:** [@ss90](https://meta.discourse.org/u/ss90)\
**Replies:** 1\
**Last updated:** [December 19, 2022, 12:15pm UTC](https://meta.discourse.org/t/click-event-listener-for-dynamically-pushed-html/249358 "2022-12-19T12:15:37Z")

</div>

Hello, after last discourse update my code for catching events for dynamically pushed html stopped working. Could anyone give me pointers how i can accomplish that?

---

## [How I fixed Ajax Request to external resource errors (CSP) inside Discourse](https://meta.discourse.org/t/how-i-fixed-ajax-request-to-external-resource-errors-csp-inside-discourse/249115)

<div class="topic-metadata">

**Author:** [@Sören\_Geier](https://meta.discourse.org/u/S%C3%B6ren_Geier)\
**Replies:** 0\
**Last updated:** [December 16, 2022, 12:08pm UTC](https://meta.discourse.org/t/how-i-fixed-ajax-request-to-external-resource-errors-csp-inside-discourse/249115 "2022-12-16T12:08:55Z")

</div>

If you are having trouble with an AJAX request and think the error might be due to the strict-origin-when-cross-origin Content Security Policy (CSP) directive, there are a few things you can try to fix the issue (observe…

---

## [Discourse Likes API](https://meta.discourse.org/t/discourse-likes-api/249009)

<div class="topic-metadata">

**Author:** [@Ajay\_Dev\_M](https://meta.discourse.org/u/Ajay_Dev_M)\
**Replies:** 6\
**Last updated:** [December 16, 2022, 1:13pm UTC](https://meta.discourse.org/t/discourse-likes-api/249009 "2022-12-16T13:13:41Z")

</div>

I’m trying to integrate my discourse community to my project. I’m using ‘/post.json’ API to fetch the latest post. I also need to fetch the Likes of the post not only the count but also the user details who liked. Is the…

---

## [Python \> Get post content if mentioned](https://meta.discourse.org/t/python-get-post-content-if-mentioned/248309)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**Replies:** 6\
**Last updated:** [December 16, 2022, 1:17am UTC](https://meta.discourse.org/t/python-get-post-content-if-mentioned/248309 "2022-12-16T01:17:14Z")

</div>

I am playing around with python. To be specific: I am looking this API docs: Discourse API Docs / Discourse API Docs I am new (learning) with Python, and am trying to simply receive the posts if @UserA gets mentione…

---

## [Why getUserById doesn't return the user's email?](https://meta.discourse.org/t/why-getuserbyid-doesnt-return-the-users-email/249084)

<div class="topic-metadata">

**Author:** [@Lucas\_Alves](https://meta.discourse.org/u/Lucas_Alves)\
**Replies:** 2\
**Last updated:** [December 16, 2022, 1:13am UTC](https://meta.discourse.org/t/why-getuserbyid-doesnt-return-the-users-email/249084 "2022-12-16T01:13:17Z")

</div>

I’m currently working with the webhooks, but the only way that I have to link my users with treehouse is through email. Why that field doesn’t return when we’re using https://{defaultHost}/admin/users/{id}.json ?

---

## [How to create a login on my front-end application to a specific Discourse site?](https://meta.discourse.org/t/how-to-create-a-login-on-my-front-end-application-to-a-specific-discourse-site/248892)

<div class="topic-metadata">

**Author:** [@Roie\_Natan](https://meta.discourse.org/u/Roie_Natan)\
**Replies:** 10\
**Last updated:** [December 14, 2022, 2:10pm UTC](https://meta.discourse.org/t/how-to-create-a-login-on-my-front-end-application-to-a-specific-discourse-site/248892 "2022-12-14T14:10:22Z")

</div>

Hello, I’m trying to create a login process to discourse from my front-end app. How should I do it? Thanks :folded\_hands:

---

## [Multiple development instances](https://meta.discourse.org/t/multiple-development-instances/51651)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 3\
**Last updated:** [December 13, 2022, 8:00pm UTC](https://meta.discourse.org/t/multiple-development-instances/51651 "2022-12-13T20:00:29Z")

</div>

On my development box, I find myself needing multiple instances. One site I’m importing is on stable, others use importers that I am developing. Right now what I do is when switching jobs, I switch branches in git and ru…

---

## [Javascript pop up block help](https://meta.discourse.org/t/javascript-pop-up-block-help/248711)

<div class="topic-metadata">

**Author:** [@Matt0x01](https://meta.discourse.org/u/Matt0x01)\
**Replies:** 3\
**Last updated:** [December 13, 2022, 2:16pm UTC](https://meta.discourse.org/t/javascript-pop-up-block-help/248711 "2022-12-13T14:16:31Z")

</div>

Hey so I’m not really knowledgeable with javascript and tried using ChatGPT to generate a script that allows elements in a field to display a pop up block with information upon being clicked. The elements are in a table …

---

## [Groups API - manually syncing group membership?](https://meta.discourse.org/t/groups-api-manually-syncing-group-membership/154521)

<div class="topic-metadata">

**Author:** [@Judith](https://meta.discourse.org/u/Judith)\
**Replies:** 8\
**Last updated:** [December 13, 2022, 1:14pm UTC](https://meta.discourse.org/t/groups-api-manually-syncing-group-membership/154521 "2022-12-13T13:14:26Z")

</div>

I seem to have boxed myself into a corner here.. I have a membership site (also in Rails) and I’m using the Discourse API in order to automatically create and populate restricted forum groups for all of my user groups. …

---

## [Disable editor buttons converting to select on mobile](https://meta.discourse.org/t/disable-editor-buttons-converting-to-select-on-mobile/248784)

<div class="topic-metadata">

**Author:** [@misham](https://meta.discourse.org/u/misham)\
**Replies:** 1\
**Last updated:** [December 13, 2022, 12:34pm UTC](https://meta.discourse.org/t/disable-editor-buttons-converting-to-select-on-mobile/248784 "2022-12-13T12:34:53Z")

</div>

Hi, is there any way to disable converting these buttons to select on mobile . Options button shows many items. I’d like to display them as simple buttons

---

## [Inserting user avatar in custom place as widget throws error](https://meta.discourse.org/t/inserting-user-avatar-in-custom-place-as-widget-throws-error/248635)

<div class="topic-metadata">

**Author:** [@misham](https://meta.discourse.org/u/misham)\
**Replies:** 0\
**Last updated:** [December 12, 2022, 8:40am UTC](https://meta.discourse.org/t/inserting-user-avatar-in-custom-place-as-widget-throws-error/248635 "2022-12-12T08:40:30Z")

</div>

Hi. I want to add avatar photo with link to profile in custom menu, and do this in template or as a widget. However when I create my own widget and use this.attach it throws error I think there is no such data, bu…

---

## [Theme component: save additional meta data per post](https://meta.discourse.org/t/theme-component-save-additional-meta-data-per-post/248529)

<div class="topic-metadata">

**Author:** [@Sören\_Geier](https://meta.discourse.org/u/S%C3%B6ren_Geier)\
**Replies:** 2\
**Last updated:** [December 11, 2022, 7:37pm UTC](https://meta.discourse.org/t/theme-component-save-additional-meta-data-per-post/248529 "2022-12-11T19:37:57Z")

</div>

Hi everybody, is there a way, in the context of a managed Discourse installation and a theme component, to save additional metadata per post? I am working on a feature that allows users to like a particular piece of te…

---

## [My markdown extension works in preview but not on cooked](https://meta.discourse.org/t/my-markdown-extension-works-in-preview-but-not-on-cooked/108544)

<div class="topic-metadata">

**Author:** [@scottf](https://meta.discourse.org/u/scottf)\
**Replies:** 6\
**Last updated:** [December 9, 2022, 11:13pm UTC](https://meta.discourse.org/t/my-markdown-extension-works-in-preview-but-not-on-cooked/108544 "2022-12-09T23:13:34Z")

</div>

I have followed these instructions to create a Block BBCode markdown extension for Discourse. The plugin works when previewing and editing a topic. However, when I actually post the Topic, the raw BBCode mark up appears…

---

## [Integrate Appzi feedback tool to front-end of discourse](https://meta.discourse.org/t/integrate-appzi-feedback-tool-to-front-end-of-discourse/248424)

<div class="topic-metadata">

**Author:** [@singhankit16](https://meta.discourse.org/u/singhankit16)\
**Replies:** 1\
**Last updated:** [December 9, 2022, 9:21pm UTC](https://meta.discourse.org/t/integrate-appzi-feedback-tool-to-front-end-of-discourse/248424 "2022-12-09T21:21:09Z")

</div>

Hi, Can we integrate Appzi feedback tool to Discourse front-end UI ? Appzi integration is typically a token which is to be called Wondering how and where I should add this line so that feedback button gets added to D…

---

## [Whitelisting elements in Discourse Plugin](https://meta.discourse.org/t/whitelisting-elements-in-discourse-plugin/109727)

<div class="topic-metadata">

**Author:** [@timuism](https://meta.discourse.org/u/timuism)\
**Replies:** 5\
**Last updated:** [December 9, 2022, 10:42am UTC](https://meta.discourse.org/t/whitelisting-elements-in-discourse-plugin/109727 "2022-12-09T10:42:17Z")

</div>

Hello! I’m super new to discourse, but I am trying to make a plugin that basically creates a bunch of markdown rules. I am using Developer’s Guide to Markdown Extensions as well as the discourse-markdown/quotes.js.es6 fo…

---

## [Disable topic buttons converting to select on mobile](https://meta.discourse.org/t/disable-topic-buttons-converting-to-select-on-mobile/248266)

<div class="topic-metadata">

**Author:** [@misham](https://meta.discourse.org/u/misham)\
**Replies:** 1\
**Last updated:** [December 8, 2022, 9:06pm UTC](https://meta.discourse.org/t/disable-topic-buttons-converting-to-select-on-mobile/248266 "2022-12-08T21:06:21Z")

</div>

Hi, is there any way to disable converting these buttons to select on mobile Imgur: The magic of the Internet? I’d like to display them as simple buttons !\[|32x32\](https://d3bpeqsaub0i6y.cloudfront.net/user\_avatar/meta.…

---

## [Trouble on adding a simple unit test for Youtube oneboxing](https://meta.discourse.org/t/trouble-on-adding-a-simple-unit-test-for-youtube-oneboxing/247546)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**Replies:** 8\
**Last updated:** [December 6, 2022, 5:47pm UTC](https://meta.discourse.org/t/trouble-on-adding-a-simple-unit-test-for-youtube-oneboxing/247546 "2022-12-06T17:47:28Z")

</div>

Hi! I want to add support of /shorts/ Youtube link. My modification of the YoutubeOnebox class works, but it is required that I add a test in youtube\_onebox.rb and my test doesn’t work. Similar to the “can parse youtu…

---

## [Altering sidebar template from remote theme](https://meta.discourse.org/t/altering-sidebar-template-from-remote-theme/246490)

<div class="topic-metadata">

**Author:** [@kaden-stytch](https://meta.discourse.org/u/kaden-stytch)\
**Replies:** 5\
**Last updated:** [December 5, 2022, 3:17pm UTC](https://meta.discourse.org/t/altering-sidebar-template-from-remote-theme/246490 "2022-12-05T15:17:41Z")

</div>

Hi! I have a remote theme and I would like to override the components/sidebar/common/community-section template or component. I’ve tried overriding the handlebars template in my remote theme with /javascripts/discourse/…

---

## [403 Forbidden denying a user](https://meta.discourse.org/t/403-forbidden-denying-a-user/247712)

<div class="topic-metadata">

**Author:** [@iota](https://meta.discourse.org/u/iota)\
**Replies:** 7\
**Last updated:** [December 5, 2022, 9:57am UTC](https://meta.discourse.org/t/403-forbidden-denying-a-user/247712 "2022-12-05T09:57:54Z")

</div>

Hello all, I decided to spin up a Discourse Forum on my server but I have ran into some issues for instance when I try to allow a user or deny a user I get 403 Forbidden, If I try to edit a forum made by system I get 403…

---

## [Setting: enable experimental topic timeline groups](https://meta.discourse.org/t/setting-enable-experimental-topic-timeline-groups/247650)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**Replies:** 2\
**Last updated:** [December 4, 2022, 9:39am UTC](https://meta.discourse.org/t/setting-enable-experimental-topic-timeline-groups/247650 "2022-12-04T09:39:42Z")

</div>

I saw this experimental feature and enabled it for staff, but nothing seems to change, is there more info about this setting? enable experimental topic timeline groups Searching gave me zero hits :thinking:

---

## [Recent Discourse update broke plugin outlet in strange way](https://meta.discourse.org/t/recent-discourse-update-broke-plugin-outlet-in-strange-way/247398)

<div class="topic-metadata">

**Author:** [@LeoDavidson](https://meta.discourse.org/u/LeoDavidson)\
**Replies:** 3\
**Last updated:** [December 2, 2022, 1:05pm UTC](https://meta.discourse.org/t/recent-discourse-update-broke-plugin-outlet-in-strange-way/247398 "2022-12-02T13:05:47Z")

</div>

One of the changes to Discourse in the last week or so broke my plugin and I cannot work out what is actually wrong or how to fix it. Plugin worked fine for years until this point. The plugin does various things, but th…

---

## [User fields empty for addPosterIcons when creating new post](https://meta.discourse.org/t/user-fields-empty-for-addpostericons-when-creating-new-post/247328)

<div class="topic-metadata">

**Author:** [@daniyal](https://meta.discourse.org/u/daniyal)\
**Replies:** 0\
**Last updated:** [December 1, 2022, 12:25pm UTC](https://meta.discourse.org/t/user-fields-empty-for-addpostericons-when-creating-new-post/247328 "2022-12-01T12:25:44Z")

</div>

I am currently adding user social accounts in custom fields. Using plugin api’s addPosterIcons function to render the social accounts in front of username but the user custom fields are empty for a newly created post. W…

---

## [Customising 'Showcased Categories' to show a Most Active feed rather than Latest](https://meta.discourse.org/t/customising-showcased-categories-to-show-a-most-active-feed-rather-than-latest/247323)

<div class="topic-metadata">

**Author:** [@ksavani](https://meta.discourse.org/u/ksavani)\
**Replies:** 1\
**Last updated:** [December 1, 2022, 10:58am UTC](https://meta.discourse.org/t/customising-showcased-categories-to-show-a-most-active-feed-rather-than-latest/247323 "2022-12-01T10:58:56Z")

</div>

I want to customize showcase categories component. can you please let me know how can i do that ? I want to customise the second box so that it only displays topics with the Highest replies in the last 30 days, so that…

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

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