# Development

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

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

**Page:** 40

---

## [Add a color banner after the header](https://meta.discourse.org/t/add-a-color-banner-after-the-header/282481)

<div class="topic-metadata">

**Author:** [@Joe\_Nguyen](https://meta.discourse.org/u/Joe_Nguyen)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 3:33pm UTC](https://meta.discourse.org/t/add-a-color-banner-after-the-header/282481 "2023-10-17T15:33:05Z")

</div>

Hello Community Members! I’ve been attempting to add a color banner below the header but haven’t had any success so far. I’ve tried various CSS and HTML codes, even creating a custom component, but the banner keeps appe…

---

## [How to assign a \`external\_id\` to a topic?](https://meta.discourse.org/t/how-to-assign-a-external-id-to-a-topic/282478)

<div class="topic-metadata">

**Author:** [@mesos33](https://meta.discourse.org/u/mesos33)\
**Replies:** 2\
**Last updated:** [October 17, 2023, 2:08pm UTC](https://meta.discourse.org/t/how-to-assign-a-external-id-to-a-topic/282478 "2023-10-17T14:08:55Z")

</div>

I know that there’s a way to get a topic via external ID, but is there a way to assign an external\_id to a topic without one?

---

## [Different CSS changes for different color schemes](https://meta.discourse.org/t/different-css-changes-for-different-color-schemes/282436)

<div class="topic-metadata">

**Author:** [@Renato\_Mendes](https://meta.discourse.org/u/Renato_Mendes)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 1:56pm UTC](https://meta.discourse.org/t/different-css-changes-for-different-color-schemes/282436 "2023-10-17T13:56:59Z")

</div>

Hey! As I’ve been able to understand so far, any change in CSS is applied to both light and dark mode, which doesn’t make much sense. Most recently, I have to deal with this problem: on dark mode, the wrapped text look…

---

## [How to batch post](https://meta.discourse.org/t/how-to-batch-post/281909)

<div class="topic-metadata">

**Author:** [@Alex\_王](https://meta.discourse.org/u/Alex_%E7%8E%8B)\
**Replies:** 3\
**Last updated:** [October 14, 2023, 11:37pm UTC](https://meta.discourse.org/t/how-to-batch-post/281909 "2023-10-14T23:37:50Z")

</div>

I have some posts that include the TITLE as well as the body. I want to write a script to post this data in bulk on my discourse. Which api of Discourse should I call? By the way, I noticed that there are some columns i…

---

## [Bulk creating users with rails etc](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716)

<div class="topic-metadata">

**Author:** [@PrettyGirl](https://meta.discourse.org/u/PrettyGirl)\
**Replies:** 10\
**Last updated:** [October 14, 2023, 6:30pm UTC](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716 "2023-10-14T18:30:26Z")

</div>

I want to add bulk usernames (to create initial dummy users to create posts). So I was trying with creating a rake file, and loading it and then running it. But had no success. The rake file doesn’t even gets loaded som…

---

## [Force download pdf on IOS](https://meta.discourse.org/t/force-download-pdf-on-ios/282047)

<div class="topic-metadata">

**Author:** [@Rafael\_Melo\_Silva](https://meta.discourse.org/u/Rafael_Melo_Silva)\
**Replies:** 0\
**Last updated:** [October 12, 2023, 5:36pm UTC](https://meta.discourse.org/t/force-download-pdf-on-ios/282047 "2023-10-12T17:36:03Z")

</div>

For download an upload pdf on ios i should use after the link: ?wtn-download-file=true I made a javascript to do it dinamically and change all my upload links as follow: \<script\> $('a.attachment\[href$=".pdf"\]').attr…

---

## [Managing Gem Version Conflicts in Discourse Plugins](https://meta.discourse.org/t/managing-gem-version-conflicts-in-discourse-plugins/281976)

<div class="topic-metadata">

**Author:** [@wings](https://meta.discourse.org/u/wings)\
**Replies:** 2\
**Last updated:** [October 13, 2023, 2:48am UTC](https://meta.discourse.org/t/managing-gem-version-conflicts-in-discourse-plugins/281976 "2023-10-13T02:48:59Z")

</div>

Hi, I am building a plugin for Discourse using external gems. I’ve already incorporated some suggestions from other posts regarding the use of external gems, such as Requiring external gems and Plugin using own gem - #3 …

---

## [Hide parts of a post](https://meta.discourse.org/t/hide-parts-of-a-post/282068)

<div class="topic-metadata">

**Author:** [@Airw0lf](https://meta.discourse.org/u/Airw0lf)\
**Replies:** 1\
**Last updated:** [October 12, 2023, 8:27pm UTC](https://meta.discourse.org/t/hide-parts-of-a-post/282068 "2023-10-12T20:27:21Z")

</div>

See also this post: We have some text included in the following html tags. \<details\> \<summary\>Antwoord\</summary\> Some tekst or code \</details\> Is there a way to hide this part for users who do not belong to a cer…

---

## [How can I see all current settings for Discourse?](https://meta.discourse.org/t/how-can-i-see-all-current-settings-for-discourse/281931)

<div class="topic-metadata">

**Author:** [@aas](https://meta.discourse.org/u/aas)\
**Replies:** 3\
**Last updated:** [October 12, 2023, 2:09pm UTC](https://meta.discourse.org/t/how-can-i-see-all-current-settings-for-discourse/281931 "2023-10-12T14:09:53Z")

</div>

I can use the following to print settings that were set via the env section of my app.yml: docker exec app env | grep DISCOURSE How can I print all the settings that are currently being used in my running instance? It…

---

## [New to gsoc](https://meta.discourse.org/t/new-to-gsoc/281941)

<div class="topic-metadata">

**Author:** [@Akvs\_2021](https://meta.discourse.org/u/Akvs_2021)\
**Replies:** 4\
**Last updated:** [October 12, 2023, 11:48am UTC](https://meta.discourse.org/t/new-to-gsoc/281941 "2023-10-12T11:48:23Z")

</div>

I’m completely new to contributing in projects, never contributed even in one project My About I’m a first year student at IIT-M, pursuing BS. Data Science. I’m quite familiar with python programming. I’ve programmed…

---

## [Overriding .gjs files - not possible?](https://meta.discourse.org/t/overriding-gjs-files-not-possible/281759)

<div class="topic-metadata">

**Author:** [@Sören\_Geier](https://meta.discourse.org/u/S%C3%B6ren_Geier)\
**Replies:** 2\
**Last updated:** [October 10, 2023, 4:36pm UTC](https://meta.discourse.org/t/overriding-gjs-files-not-possible/281759 "2023-10-10T16:36:38Z")

</div>

Hello, with a recent update one of our components broke. The component was previously extending the inline quote button which was quote-button.hbs. This file doesnt exist enymore - instead all the code was moved into a …

---

## [Posting chat message from discourse chat bot to some API](https://meta.discourse.org/t/posting-chat-message-from-discourse-chat-bot-to-some-api/281618)

<div class="topic-metadata">

**Author:** [@Ashok\_kumar2](https://meta.discourse.org/u/Ashok_kumar2)\
**Replies:** 1\
**Last updated:** [October 9, 2023, 12:44pm UTC](https://meta.discourse.org/t/posting-chat-message-from-discourse-chat-bot-to-some-api/281618 "2023-10-09T12:44:29Z")

</div>

I have been trying to figure out that how can we post discourse bot chat message to some API? Is there any way to this?

---

## [Custom plugin broke with 3.2.0.beta2-dev (Replacing HomeLogo)](https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482)

<div class="topic-metadata">

**Author:** [@felixoi](https://meta.discourse.org/u/felixoi)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 4:32am UTC](https://meta.discourse.org/t/custom-plugin-broke-with-3-2-0-beta2-dev-replacing-homelogo/281482 "2023-10-09T04:32:21Z")

</div>

Hey, we’ve been using Discourse for a lot of years now. At some point a former dev of our organization created a plugin to replace the default Home-Logo widget with a custom one to fit our general navigation style. Afte…

---

## [Is there any way to change the background of the my website in Discourse](https://meta.discourse.org/t/is-there-any-way-to-change-the-background-of-the-my-website-in-discourse/229990)

<div class="topic-metadata">

**Author:** [@Lord\_Praise](https://meta.discourse.org/u/Lord_Praise)\
**Replies:** 3\
**Last updated:** [June 15, 2022, 9:00am UTC](https://meta.discourse.org/t/is-there-any-way-to-change-the-background-of-the-my-website-in-discourse/229990 "2022-06-15T09:00:04Z")

</div>

just like this forum, how it is possible to upload a background picture on my site? Any answers are welcomed

---

## [Hide edit pencil for non-staff users](https://meta.discourse.org/t/hide-edit-pencil-for-non-staff-users/281184)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 7:14pm UTC](https://meta.discourse.org/t/hide-edit-pencil-for-non-staff-users/281184 "2023-10-05T19:14:18Z")

</div>

Continuing the discussion from Hide edits icon for members?: I’ve unset edit history visible to public but the orange pencil icon still appears on the post. I’d like to hide the pencil only for people who cannot see the…

---

## [Discourse\_user\_auto\_activation not installing](https://meta.discourse.org/t/discourse-user-auto-activation-not-installing/274914)

<div class="topic-metadata">

**Author:** [@geekyouth](https://meta.discourse.org/u/geekyouth)\
**Replies:** 2\
**Last updated:** [October 4, 2023, 12:43am UTC](https://meta.discourse.org/t/discourse-user-auto-activation-not-installing/274914 "2023-10-04T00:43:34Z")

</div>

Plugin name is ‘’, but plugin directory is named ‘discourse\_user\_auto\_activation’ Building Building cleaning up cleaning up cleaning up Cannot read properties of undefined (reading ‘cleanup’) Stack Trace and Error Re…

---

## [Embed Discourse using external\_id](https://meta.discourse.org/t/embed-discourse-using-external-id/266171)

<div class="topic-metadata">

**Author:** [@peterd](https://meta.discourse.org/u/peterd)\
**Replies:** 3\
**Last updated:** [October 3, 2023, 6:21am UTC](https://meta.discourse.org/t/embed-discourse-using-external-id/266171 "2023-10-03T06:21:18Z")

</div>

Hi all, I’m migrating my community to Discourse. I have a lot of existing content in my current community. It seems that the Javascript embed option is a viable way to show topics and comments in my site’s pages. To ma…

---

## [What is the new \`external\_id\` feature for topics used for?](https://meta.discourse.org/t/what-is-the-new-external-id-feature-for-topics-used-for/218203)

<div class="topic-metadata">

**Author:** [@mattdm](https://meta.discourse.org/u/mattdm)\
**Replies:** 6\
**Last updated:** [October 3, 2023, 6:02am UTC](https://meta.discourse.org/t/what-is-the-new-external-id-feature-for-topics-used-for/218203 "2023-10-03T06:02:35Z")

</div>

From https://meta.discourse.org/t/2-9-0-beta2-security-fix-and-more/218086: Add support for external\_id to be used when creating and fetching topics. This is an API-only change I have several (experimental at this po…

---

## [Send PM to an email adress from a plugin](https://meta.discourse.org/t/send-pm-to-an-email-adress-from-a-plugin/280702)

<div class="topic-metadata">

**Author:** [@Luicid](https://meta.discourse.org/u/Luicid)\
**Replies:** 4\
**Last updated:** [October 2, 2023, 1:00pm UTC](https://meta.discourse.org/t/send-pm-to-an-email-adress-from-a-plugin/280702 "2023-10-02T13:00:33Z")

</div>

Hello, I’m building a plugin and I need to send something to a user’s email. I use creator = PostCreator.new(test\_user, { target\_recipients: "someone@toto.com", archetype: Archetype.private\_message, …

---

## [New th in topic table](https://meta.discourse.org/t/new-th-in-topic-table/280116)

<div class="topic-metadata">

**Author:** [@Shatabdi\_Dash](https://meta.discourse.org/u/Shatabdi_Dash)\
**Replies:** 8\
**Last updated:** [September 30, 2023, 12:25pm UTC](https://meta.discourse.org/t/new-th-in-topic-table/280116 "2023-09-30T12:25:22Z")

</div>

I want to create a new th in the topic table \<topic-list.ember-view\> in the thead class . Can anyone tell me how can I do this.

---

## [Fast Highlight](https://meta.discourse.org/t/fast-highlight/277528)

<div class="topic-metadata">

**Author:** [@denvergeeks](https://meta.discourse.org/u/denvergeeks)\
**Replies:** 48\
**Last updated:** [September 30, 2023, 6:43am UTC](https://meta.discourse.org/t/fast-highlight/277528 "2023-09-30T06:43:48Z")

</div>

All this needs now is a “Highlight” button! Could a Theme Component work for this, or would it need to be a Plugin? Any existing starting points would be stellar for me to get started looking into it! Maybe duplicate…

---

## [How to change category names via theme-component](https://meta.discourse.org/t/how-to-change-category-names-via-theme-component/279742)

<div class="topic-metadata">

**Author:** [@thoka](https://meta.discourse.org/u/thoka)\
**Replies:** 1\
**Last updated:** [September 29, 2023, 6:00pm UTC](https://meta.discourse.org/t/how-to-change-category-names-via-theme-component/279742 "2023-09-29T18:00:31Z")

</div>

I’m seeking for advice, how to change category titles in different areas of the interface. Background: We are using quite long category titles for our school community, to give users enough background to know, which aud…

---

## [I'm trying to create Display Google One Tap](https://meta.discourse.org/t/im-trying-to-create-display-google-one-tap/280535)

<div class="topic-metadata">

**Author:** [@islamafify4000](https://meta.discourse.org/u/islamafify4000)\
**Replies:** 2\
**Last updated:** [September 29, 2023, 3:32pm UTC](https://meta.discourse.org/t/im-trying-to-create-display-google-one-tap/280535 "2023-09-29T15:32:09Z")

</div>

I’m trying to create something to encourage users to register, but after clicking Continue, it says the page does not exist \<script src="https://accounts.google.com/gsi/client" async\>\</script\> \<div id="g\_id\_onload" …

---

## [Change ownership of "Made this a banner on" or Closed on" (small action posts)](https://meta.discourse.org/t/change-ownership-of-made-this-a-banner-on-or-closed-on-small-action-posts/210189)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Replies:** 11\
**Last updated:** [September 29, 2023, 1:11pm UTC](https://meta.discourse.org/t/change-ownership-of-made-this-a-banner-on-or-closed-on-small-action-posts/210189 "2023-09-29T13:11:51Z")

</div>

Is it possible to change ownership of these pseudo-posts? (Or whatever they are called!) Thanks.

---

## [PGN viewer theme component just released](https://meta.discourse.org/t/pgn-viewer-theme-component-just-released/280520)

<div class="topic-metadata">

**Author:** [@happycactus](https://meta.discourse.org/u/happycactus)\
**Replies:** 2\
**Last updated:** [September 29, 2023, 10:27am UTC](https://meta.discourse.org/t/pgn-viewer-theme-component-just-released/280520 "2023-09-29T10:27:37Z")

</div>

Hello, I created a theme component to render PGN (Portable Game Notation) strings into an interactive chessboard, using PgnViewerJS. The component is still under development but it’s somehow usable. The theme let the …

---

## [Get all categories via API including subcategories](https://meta.discourse.org/t/get-all-categories-via-api-including-subcategories/154683)

<div class="topic-metadata">

**Author:** [@gar1t](https://meta.discourse.org/u/gar1t)\
**Replies:** 4\
**Last updated:** [September 29, 2023, 5:05am UTC](https://meta.discourse.org/t/get-all-categories-via-api-including-subcategories/154683 "2023-09-29T05:05:07Z")

</div>

The /categories.json API call returns only top-level categories, at least on my server. I can read subcategories using /c/\<id\>.json but I don’t know how to discover those IDs.

---

## [Is there a way to serve in-house ads based on the current user's location?](https://meta.discourse.org/t/is-there-a-way-to-serve-in-house-ads-based-on-the-current-users-location/280263)

<div class="topic-metadata">

**Author:** [@hyphalos](https://meta.discourse.org/u/hyphalos)\
**Replies:** 5\
**Last updated:** [September 29, 2023, 4:00am UTC](https://meta.discourse.org/t/is-there-a-way-to-serve-in-house-ads-based-on-the-current-users-location/280263 "2023-09-29T04:00:50Z")

</div>

Hello! I just wanted to check, is there a Discourse way to serve in-house ads based on the current user’s location? I understand we have: House Ads in the official Ad Plugin ready for serving the ads, but I’d just like …

---

## [Issues on loading a js asset from a Theme Component](https://meta.discourse.org/t/issues-on-loading-a-js-asset-from-a-theme-component/279792)

<div class="topic-metadata">

**Author:** [@happycactus](https://meta.discourse.org/u/happycactus)\
**Replies:** 18\
**Last updated:** [September 28, 2023, 9:36pm UTC](https://meta.discourse.org/t/issues-on-loading-a-js-asset-from-a-theme-component/279792 "2023-09-28T21:36:28Z")

</div>

Hi, first time developing on Discourse, so sorry for the silly questions. I’m building a theme component to display PGNs (chessboard and matches). The component is not theoretically difficult, there is a js component f…

---

## [Using existing Microsoft Account Auth to pull Xbox Live Gamertag data?](https://meta.discourse.org/t/using-existing-microsoft-account-auth-to-pull-xbox-live-gamertag-data/239853)

<div class="topic-metadata">

**Author:** [@Sikamikanico](https://meta.discourse.org/u/Sikamikanico)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 2:43pm UTC](https://meta.discourse.org/t/using-existing-microsoft-account-auth-to-pull-xbox-live-gamertag-data/239853 "2023-09-28T14:43:36Z")

</div>

Hey folks - I run XboxEra.com and our forums (forum.xboxera.com) via Discourse. We have a plugin to allow users to login/signup via their existing Microsoft accounts. Now, I can’t seem to find ANY documentation, but I …

---

## [Styling categories, and pinning items to the top?](https://meta.discourse.org/t/styling-categories-and-pinning-items-to-the-top/278944)

<div class="topic-metadata">

**Author:** [@treyfrancisco](https://meta.discourse.org/u/treyfrancisco)\
**Replies:** 2\
**Last updated:** [September 27, 2023, 9:55pm UTC](https://meta.discourse.org/t/styling-categories-and-pinning-items-to-the-top/278944 "2023-09-27T21:55:41Z")

</div>

I’m new to Discourse! Implementing a community for my company. I love what Woot has done: https://forums.woot.com/ Does anyone know how to: Style those left Category modules? Pin items to the top? e.g. Bag o Crap Prim…

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

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