# Development

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

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

**Page:** 11

---

## [How to rewrite post dates for certain categories (narrative project roleplay)](https://meta.discourse.org/t/how-to-rewrite-post-dates-for-certain-categories-narrative-project-roleplay/370139)

<div class="topic-metadata">

**Author:** [@Ambient.Impact](https://meta.discourse.org/u/Ambient.Impact)\
**Replies:** 2\
**Last updated:** [June 14, 2025, 6:44pm UTC](https://meta.discourse.org/t/how-to-rewrite-post-dates-for-certain-categories-narrative-project-roleplay/370139 "2025-06-14T18:44:15Z")

</div>

Hi there. For an upcoming season of a near future sci-fi narrative project, we want to try and rewrite the dates in all posts in certain categories on our Discourse to specific day/month/years. I’m it sounds strange, but…

---

## [In a component, how do I find out the base URI of the forum?](https://meta.discourse.org/t/in-a-component-how-do-i-find-out-the-base-uri-of-the-forum/370106)

<div class="topic-metadata">

**Author:** [@Willy](https://meta.discourse.org/u/Willy)\
**Replies:** 2\
**Last updated:** [June 13, 2025, 8:59pm UTC](https://meta.discourse.org/t/in-a-component-how-do-i-find-out-the-base-uri-of-the-forum/370106 "2025-06-13T20:59:14Z")

</div>

If my component is installed on three different forums: https://forum.someone.com/ https://other.com/forum https://player.com/ How do I extract the base URI if I’m in a subdirectory like https://forum.someone.com/m…

---

## [Handling the 'component-template-resolving' deprecation](https://meta.discourse.org/t/handling-the-component-template-resolving-deprecation/370019)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**Replies:** 2\
**Last updated:** [June 13, 2025, 3:12pm UTC](https://meta.discourse.org/t/handling-the-component-template-resolving-deprecation/370019 "2025-06-13T15:12:38Z")

</div>

As part of our preparation for the Ember 6 upgrade, we have now enabled warning banners for the “component template resolving” deprecation. To find more information about the issue, open up the browser developer cons…

---

## [Social layout available anywhere?](https://meta.discourse.org/t/social-layout-available-anywhere/369742)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 2\
**Last updated:** [June 11, 2025, 10:45pm UTC](https://meta.discourse.org/t/social-layout-available-anywhere/369742 "2025-06-11T22:45:54Z")

</div>

Continuing the discussion from A more social Discourse layout: Is this layout’s code still available somewhere, or tucked away in a theme/component?

---

## [Backend code](https://meta.discourse.org/t/backend-code/257537)

<div class="topic-metadata">

**Author:** [@Julien\_Bonnier](https://meta.discourse.org/u/Julien_Bonnier)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 11:47pm UTC](https://meta.discourse.org/t/backend-code/257537 "2023-03-08T23:47:57Z")

</div>

Hello, I’m trying to find a way to execute some code in the backend. The ultimate goal is to call the Maxmind API and redirect users coming from outside of Quebec to another site. I found this post and I understand th…

---

## [Can explain mechanism of pagination](https://meta.discourse.org/t/can-explain-mechanism-of-pagination/369736)

<div class="topic-metadata">

**Author:** [@Mohamed\_Alagha](https://meta.discourse.org/u/Mohamed_Alagha)\
**Replies:** 1\
**Last updated:** [June 11, 2025, 1:31pm UTC](https://meta.discourse.org/t/can-explain-mechanism-of-pagination/369736 "2025-06-11T13:31:14Z")

</div>

​Can explain the mechanism of pagination at least.json user\_actions.json and so on is there like page approach ( ?page=1, page=2 ) or with offset only ( offset=0, offset=30, offset=60 ) is and it’s global ( topics, repl…

---

## [New topics on Message Bus](https://meta.discourse.org/t/new-topics-on-message-bus/369717)

<div class="topic-metadata">

**Author:** [@themadseventeen](https://meta.discourse.org/u/themadseventeen)\
**Replies:** 1\
**Last updated:** [June 11, 2025, 11:13am UTC](https://meta.discourse.org/t/new-topics-on-message-bus/369717 "2025-06-11T11:13:26Z")

</div>

A message bus channel for a topic that was just created does not have any messages regarding the first post. However the last message id is not 0. Is this indented behavior?

---

## [Hide/insert content on landing page](https://meta.discourse.org/t/hide-insert-content-on-landing-page/369369)

<div class="topic-metadata">

**Author:** [@OsaIsacson](https://meta.discourse.org/u/OsaIsacson)\
**Replies:** 4\
**Last updated:** [June 10, 2025, 8:44am UTC](https://meta.discourse.org/t/hide-insert-content-on-landing-page/369369 "2025-06-10T08:44:00Z")

</div>

I have made a custom homepage by: a) adding the class .custom-homepage to the landing page. I use this to simply target the content I want to hide/adjust on that specific page via my custom css. b) add any new componen…

---

## [Proposed changes to discourse-setup because Digital Ocean blocks outbound smtp](https://meta.discourse.org/t/proposed-changes-to-discourse-setup-because-digital-ocean-blocks-outbound-smtp/66778)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 28\
**Last updated:** [June 9, 2025, 10:17pm UTC](https://meta.discourse.org/t/proposed-changes-to-discourse-setup-because-digital-ocean-blocks-outbound-smtp/66778 "2025-06-09T22:17:41Z")

</div>

Continuing the discussion from Digital Ocean is blocking outgoing mail!: It seems that Digital Ocean is blocking out bound SMTP traffic for at least some customers. My guess is that soon you’ll have to jump through hoop…

---

## [How to add message button next to profile name on the posts](https://meta.discourse.org/t/how-to-add-message-button-next-to-profile-name-on-the-posts/368717)

<div class="topic-metadata">

**Author:** [@sallypf](https://meta.discourse.org/u/sallypf)\
**Replies:** 4\
**Last updated:** [June 7, 2025, 4:09pm UTC](https://meta.discourse.org/t/how-to-add-message-button-next-to-profile-name-on-the-posts/368717 "2025-06-07T16:09:11Z")

</div>

Hello, Is there a way to add message button next to user’s name on the posts, please see the screenshot below.

---

## [Where to find all the events for on()?](https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 2\
**Last updated:** [June 7, 2025, 5:10am UTC](https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192 "2025-06-07T05:10:41Z")

</div>

I’ve looked at some plugins, and they seem to have some events like on(:post\_edited) or on(:site\_settings\_changed). I’m wondering, where does one find that these exist? Is there a list of all these… “events”?

---

## [Exploring make and n8n for Razorpay and Discourse integration](https://meta.discourse.org/t/exploring-make-and-n8n-for-razorpay-and-discourse-integration/369116)

<div class="topic-metadata">

**Author:** [@MihirR](https://meta.discourse.org/u/MihirR)\
**Replies:** 3\
**Last updated:** [June 6, 2025, 5:27pm UTC](https://meta.discourse.org/t/exploring-make-and-n8n-for-razorpay-and-discourse-integration/369116 "2025-06-06T17:27:04Z")

</div>

Since there’s no official plugin or native support for Razorpay in Discourse (unlike Stripe), I’m exploring the possibility of using Make (Integromat) or n8n to automate the flow. Has anyone tried using Razorpay webhook…

---

## [How to change homepage after login before first page loads](https://meta.discourse.org/t/how-to-change-homepage-after-login-before-first-page-loads/369042)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [June 5, 2025, 7:33pm UTC](https://meta.discourse.org/t/how-to-change-homepage-after-login-before-first-page-loads/369042 "2025-06-05T19:33:09Z")

</div>

I have a landing page theme component at https://ejopa.discourse.group/ It works great. I need for it not to show for logged in users. I have this code, that sets the home page in the initializer: export default apiIni…

---

## [Is it possible to pass params to the api that creates Community Links?](https://meta.discourse.org/t/is-it-possible-to-pass-params-to-the-api-that-creates-community-links/368857)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 9\
**Last updated:** [June 4, 2025, 3:48pm UTC](https://meta.discourse.org/t/is-it-possible-to-pass-params-to-the-api-that-creates-community-links/368857 "2025-06-04T15:48:16Z")

</div>

e.g. api.addCommunitySectionLink({ name: "intersection-navigator", route:"tags.intersection", title: I18n.t("tag\_intersection\_navigator.link.title"), text: I18n.t("tag\_intersec…

---

## [Hide Custom Header Links from anon](https://meta.discourse.org/t/hide-custom-header-links-from-anon/277626)

<div class="topic-metadata">

**Author:** [@Rhidian](https://meta.discourse.org/u/Rhidian)\
**Replies:** 4\
**Last updated:** [June 3, 2025, 3:46pm UTC](https://meta.discourse.org/t/hide-custom-header-links-from-anon/277626 "2025-06-03T15:46:22Z")

</div>

Great theme component. Thank you. Is there a way to hide the links if the user has to login to view the site content? This is what my site looks like on the login page with the theme enabled.

---

## [PostCreator not sending PM](https://meta.discourse.org/t/postcreator-not-sending-pm/368518)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 9\
**Last updated:** [June 2, 2025, 1:39pm UTC](https://meta.discourse.org/t/postcreator-not-sending-pm/368518 "2025-06-02T13:39:35Z")

</div>

For some weird reason, PMs are not sent to the Admins group on my dev install. The job is running, so I don’t see why the PM wouldn’t be sent, even though its sending criteria is met?

---

## [How to add Data Explorer Queries automatically from a Plugin?](https://meta.discourse.org/t/how-to-add-data-explorer-queries-automatically-from-a-plugin/368511)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 8\
**Last updated:** [June 2, 2025, 10:02am UTC](https://meta.discourse.org/t/how-to-add-data-explorer-queries-automatically-from-a-plugin/368511 "2025-06-02T10:02:17Z")

</div>

I’ve got a suspicion there is a missing API here. Data Explorer has become more and more useful as part of a Plugin workflow, but: How do we reliably but tolerantly add Data Explorer queries from a third party plugin s…

---

## [FLUX.1 Kontext Max as a custom tool for Discourse AI](https://meta.discourse.org/t/flux-1-kontext-max-as-a-custom-tool-for-discourse-ai/368497)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 0\
**Last updated:** [June 2, 2025, 7:23am UTC](https://meta.discourse.org/t/flux-1-kontext-max-as-a-custom-tool-for-discourse-ai/368497 "2025-06-02T07:23:05Z")

</div>

Last week, Flux released a very impressive model called FLUX.1 Kontext. Announcement Blog by Black Forest Labs It is particularly interesting because it is slightly cheaper than the OpenAI models, which are available vi…

---

## [Trouble with theme lint at "install JS Dependencies” step](https://meta.discourse.org/t/trouble-with-theme-lint-at-install-js-dependencies-step/368423)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 8\
**Last updated:** [June 1, 2025, 6:13pm UTC](https://meta.discourse.org/t/trouble-with-theme-lint-at-install-js-dependencies-step/368423 "2025-06-01T18:13:41Z")

</div>

I copied \[package.json\](https://github.com/discourse/discourse-theme-skeleton/blob/main/package.json) from the latest discourse-theme-skeleton/package.json at main · discourse/discourse-theme-skeleton · GitHub It’s not …

---

## [How to hide fields (title, category, tag input) when creating a new topic with openNewTopic](https://meta.discourse.org/t/how-to-hide-fields-title-category-tag-input-when-creating-a-new-topic-with-opennewtopic/368367)

<div class="topic-metadata">

**Author:** [@kuaza](https://meta.discourse.org/u/kuaza)\
**Replies:** 2\
**Last updated:** [June 1, 2025, 9:28am UTC](https://meta.discourse.org/t/how-to-hide-fields-title-category-tag-input-when-creating-a-new-topic-with-opennewtopic/368367 "2025-06-01T09:28:52Z")

</div>

When the “Create New Topic” button is clicked, I wish to display solely the message input fields. The other sections can be adjusted after the topic is initiated with AI. https://github.com/discourse/discourse-new-topic…

---

## [Integration with RIOT API. It is possible?](https://meta.discourse.org/t/integration-with-riot-api-it-is-possible/32174)

<div class="topic-metadata">

**Author:** [@bekircem](https://meta.discourse.org/u/bekircem)\
**Replies:** 7\
**Last updated:** [May 30, 2025, 9:48pm UTC](https://meta.discourse.org/t/integration-with-riot-api-it-is-possible/32174 "2025-05-30T21:48:21Z")

</div>

Hi, I am created League of Legends forum with Discourse. I wonder, can i use RIOT API with Discourse for champions and item icons? https://github.com/mikamai/ruby-lol https://github.com/thumblemonks/riot-rails

---

## [Creating jobs in a plugin](https://meta.discourse.org/t/creating-jobs-in-a-plugin/367998)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 1\
**Last updated:** [May 29, 2025, 2:22am UTC](https://meta.discourse.org/t/creating-jobs-in-a-plugin/367998 "2025-05-29T02:22:00Z")

</div>

Continuing the discussion from here: How exactly does one create their own custom job that runs periodically? Is it very difficult to achieve?

---

## [Toggling Visibility within a Topic connector](https://meta.discourse.org/t/toggling-visibility-within-a-topic-connector/367898)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 6\
**Last updated:** [May 28, 2025, 7:55am UTC](https://meta.discourse.org/t/toggling-visibility-within-a-topic-connector/367898 "2025-05-28T07:55:44Z")

</div>

I would like to access the Topic Controller’s toggleVisibility action within a component via a connector. I see there is a precedent for this. Would the following PR be accepted?: to \<span\> \<PluginOut…

---

## [Override or change AboutPageUser](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720)

<div class="topic-metadata">

**Author:** [@aest](https://meta.discourse.org/u/aest)\
**Replies:** 6\
**Last updated:** [May 27, 2025, 1:22pm UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720 "2025-05-27T13:22:11Z")

</div>

Hi! I’m currently updating a theme component that’s going to be affected by upcoming core changes in Discourse (Removing support for "template overrides" and mobile-specific templates). In order to retain the customizat…

---

## [New Ubuntu Release 25.04](https://meta.discourse.org/t/new-ubuntu-release-25-04/366712)

<div class="topic-metadata">

**Author:** [@Architect](https://meta.discourse.org/u/Architect)\
**Replies:** 17\
**Last updated:** [May 26, 2025, 9:15pm UTC](https://meta.discourse.org/t/new-ubuntu-release-25-04/366712 "2025-05-26T21:15:07Z")

</div>

Good day, Have completed upgrade for the new Ubuntu version 25.04, Plucky Puffin, what a great name lol. This seems to be working fine to run discourse. Here is some information about the new release: I’m not sure…

---

## [Are API keys in theme components okay?](https://meta.discourse.org/t/are-api-keys-in-theme-components-okay/367528)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 2\
**Last updated:** [May 25, 2025, 1:02pm UTC](https://meta.discourse.org/t/are-api-keys-in-theme-components-okay/367528 "2025-05-25T13:02:46Z")

</div>

If I were to make a TC that requires the admin/moderator to input an API key as part of a theme setting, would that be safe? I know I could do a plugin which is safer, but a plugin seems like much more work.

---

## [Set plugin name to capitals?](https://meta.discourse.org/t/set-plugin-name-to-capitals/367381)

<div class="topic-metadata">

**Author:** [@tknospdr](https://meta.discourse.org/u/tknospdr)\
**Replies:** 20\
**Last updated:** [May 25, 2025, 2:48am UTC](https://meta.discourse.org/t/set-plugin-name-to-capitals/367381 "2025-05-25T02:48:55Z")

</div>

This is probably a dumb question, but my slight OCD is kicking in. I created a plugin but only the first word of the name is capitalized. I looked at a few other plugin.rb files and don’t see any capitalized words in t…

---

## [Custom Topic Filters: URL Params Not Reaching \`TopicQuery.options\`](https://meta.discourse.org/t/custom-topic-filters-url-params-not-reaching-topicquery-options/367291)

<div class="topic-metadata">

**Author:** [@SubStrider](https://meta.discourse.org/u/SubStrider)\
**Replies:** 2\
**Last updated:** [May 23, 2025, 11:51am UTC](https://meta.discourse.org/t/custom-topic-filters-url-params-not-reaching-topicquery-options/367291 "2025-05-23T11:51:16Z")

</div>

While building a plugin with custom topic list filters (e.g., by price, location) using URL query parameters. The URL updates correctly (e.g., ...?market\_item\_statuses=Available), but the parameters aren’t appearing in t…

---

## [There was an error while trying to write to \`/src/Gemfile.lock\`. It is likely that you need to grant write permissions for that path](https://meta.discourse.org/t/there-was-an-error-while-trying-to-write-to-src-gemfile-lock-it-is-likely-that-you-need-to-grant-write-permissions-for-that-path/334048)

<div class="topic-metadata">

**Author:** [@sidt](https://meta.discourse.org/u/sidt)\
**Replies:** 2\
**Last updated:** [May 22, 2025, 9:51pm UTC](https://meta.discourse.org/t/there-was-an-error-while-trying-to-write-to-src-gemfile-lock-it-is-likely-that-you-need-to-grant-write-permissions-for-that-path/334048 "2025-05-22T21:51:40Z")

</div>

Get the following error, while trying docker instructions from https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009. $ d/boot\_dev --init; Using source in: /local/discourse Using data in: …

---

## [How handle a long topic create form](https://meta.discourse.org/t/how-handle-a-long-topic-create-form/366995)

<div class="topic-metadata">

**Author:** [@SubStrider](https://meta.discourse.org/u/SubStrider)\
**Replies:** 4\
**Last updated:** [May 22, 2025, 5:10pm UTC](https://meta.discourse.org/t/how-handle-a-long-topic-create-form/366995 "2025-05-22T17:10:37Z")

</div>

Please see the screenshot. Functionally it is working if I drag the create window up to the top. However from UX perspective, I need to resolve this. Any suggestions on how to handle a really long create form?

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

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