# Development

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

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

**Page:** 33

---

## [API Filter users by emails, including secondary emails](https://meta.discourse.org/t/api-filter-users-by-emails-including-secondary-emails/296910)

<div class="topic-metadata">

**Author:** [@oca](https://meta.discourse.org/u/oca)\
**Replies:** 2\
**Last updated:** [February 29, 2024, 9:31am UTC](https://meta.discourse.org/t/api-filter-users-by-emails-including-secondary-emails/296910 "2024-02-29T09:31:50Z")

</div>

Hello, I would like to match users from a list of email addresses coming from an other app, in order to add all the users to one group, and remove members that are not in the . I’ve got a script doing that from the API. …

---

## [Change the headings of preferences settings](https://meta.discourse.org/t/change-the-headings-of-preferences-settings/296166)

<div class="topic-metadata">

**Author:** [@karlson4ik](https://meta.discourse.org/u/karlson4ik)\
**Replies:** 8\
**Last updated:** [February 29, 2024, 8:57am UTC](https://meta.discourse.org/t/change-the-headings-of-preferences-settings/296166 "2024-02-29T08:57:20Z")

</div>

How can I change these headers? Or can I remove them completely because I don’t need them?

---

## [What's the process to get a theme-component PR reviewed?](https://meta.discourse.org/t/whats-the-process-to-get-a-theme-component-pr-reviewed/296789)

<div class="topic-metadata">

**Author:** [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**Replies:** 5\
**Last updated:** [February 29, 2024, 7:09am UTC](https://meta.discourse.org/t/whats-the-process-to-get-a-theme-component-pr-reviewed/296789 "2024-02-29T07:09:00Z")

</div>

My first run at this PR was pretty messy, I admit. I’ve since closed the initial PR, squashed commits and resubmitted. Is there a typical timeline for plugin PR review? Did I flub in not first asking for the functional…

---

## [Site automatically exits read-only mode when enabled by 'discourse enable\_readonly'](https://meta.discourse.org/t/site-automatically-exits-read-only-mode-when-enabled-by-discourse-enable-readonly/296844)

<div class="topic-metadata">

**Author:** [@RhysGoodwin](https://meta.discourse.org/u/RhysGoodwin)\
**Replies:** 9\
**Last updated:** [February 29, 2024, 12:20am UTC](https://meta.discourse.org/t/site-automatically-exits-read-only-mode-when-enabled-by-discourse-enable-readonly/296844 "2024-02-29T00:20:50Z")

</div>

Hi folks, I’m setting up some automation for deployment and migration with Ansible but I’ve got an issue with read-only mode. When I enabled read-only with: docker exec app discourse enable\_readonly or ./launcher en…

---

## [modifyClass does not override action?](https://meta.discourse.org/t/modifyclass-does-not-override-action/297051)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**Replies:** 4\
**Last updated:** [February 28, 2024, 5:23pm UTC](https://meta.discourse.org/t/modifyclass-does-not-override-action/297051 "2024-02-28T17:23:41Z")

</div>

I’m working on fixing deprecations in GitHub - paviliondev/discourse-legal-tools: Tools to help with legal compliance when using Discourse · GitHub and I found that the api.modifyClass('controller:user-activity', {}); do…

---

## [Can I have sidebar links that don't resolve an url to a route](https://meta.discourse.org/t/can-i-have-sidebar-links-that-dont-resolve-an-url-to-a-route/297067)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 0\
**Last updated:** [February 28, 2024, 12:38pm UTC](https://meta.discourse.org/t/can-i-have-sidebar-links-that-dont-resolve-an-url-to-a-route/297067 "2024-02-28T12:38:39Z")

</div>

I have a forum that has discovery.latest set as homepage. I still want to render custom landing components at the root URL /of the forum and a plain list view on the specific /latest route. This works well toggling betw…

---

## [Improve dice rolling for discourse-narrative-bot](https://meta.discourse.org/t/improve-dice-rolling-for-discourse-narrative-bot/115177)

<div class="topic-metadata">

**Author:** [@neemiasvf](https://meta.discourse.org/u/neemiasvf)\
**Replies:** 9\
**Last updated:** [February 28, 2024, 12:08pm UTC](https://meta.discourse.org/t/improve-dice-rolling-for-discourse-narrative-bot/115177 "2024-02-28T12:08:51Z")

</div>

Although @discobot has a dice roller, it’s too simple. It’s not yet capable of rolling complex dice and formulas for specific needs. So, I’d like to improve this feature and make it possible to run dice like 1d20+5, 1d20…

---

## [Show different ads on different categories](https://meta.discourse.org/t/show-different-ads-on-different-categories/148849)

<div class="topic-metadata">

**Author:** [@Windsooon](https://meta.discourse.org/u/Windsooon)\
**Replies:** 12\
**Last updated:** [February 28, 2024, 7:51am UTC](https://meta.discourse.org/t/show-different-ads-on-different-categories/148849 "2024-02-28T07:51:09Z")

</div>

I have three ads A, B, C and three categories named a, b, c. How to display ad A on a, ad B on b and ad C on C? I can’t find this in the ad plugin settings. Any ideas? Thank you.

---

## [External ID not getting saved in topic created by API](https://meta.discourse.org/t/external-id-not-getting-saved-in-topic-created-by-api/296935)

<div class="topic-metadata">

**Author:** [@37Rb](https://meta.discourse.org/u/37Rb)\
**Replies:** 0\
**Last updated:** [February 27, 2024, 5:56pm UTC](https://meta.discourse.org/t/external-id-not-getting-saved-in-topic-created-by-api/296935 "2024-02-27T17:56:06Z")

</div>

I’m importing topics with a script and trying to set the external\_id for each topic but it’s not working. I can see that the external\_id field is included in the POST to create the topic. The topic is created successfull…

---

## [Template Button Relocation](https://meta.discourse.org/t/template-button-relocation/288660)

<div class="topic-metadata">

**Author:** [@Aizada\_M](https://meta.discourse.org/u/Aizada_M)\
**Replies:** 3\
**Last updated:** [February 26, 2024, 10:17pm UTC](https://meta.discourse.org/t/template-button-relocation/288660 "2024-02-26T22:17:04Z")

</div>

Continuing the discussion from Discourse Templates: Greetings! I want to allow users to use templates in the post editor, but it is very difficult to explain to everyone that the templates are inside the gear button …

---

## [Create apikey for user programmatically as admin](https://meta.discourse.org/t/create-apikey-for-user-programmatically-as-admin/209733)

<div class="topic-metadata">

**Author:** [@Noone](https://meta.discourse.org/u/Noone)\
**Replies:** 8\
**Last updated:** [February 26, 2024, 9:49am UTC](https://meta.discourse.org/t/create-apikey-for-user-programmatically-as-admin/209733 "2024-02-26T09:49:17Z")

</div>

Hello everyone, happy halloween and happy holidays. Is there a way to create an apikey for each user created as an admin, there is User API keys specification which needs user approval , is there a way to create per us…

---

## [Onebox parser m3u8 link and play with videojs](https://meta.discourse.org/t/onebox-parser-m3u8-link-and-play-with-videojs/296426)

<div class="topic-metadata">

**Author:** [@Creatures\_Prehistori](https://meta.discourse.org/u/Creatures_Prehistori)\
**Replies:** 4\
**Last updated:** [February 26, 2024, 9:39am UTC](https://meta.discourse.org/t/onebox-parser-m3u8-link-and-play-with-videojs/296426 "2024-02-26T09:39:25Z")

</div>

I edit file lib\\onebox\\engine\\video\_onebox.rb to parser link that endwith m3u8. However, when I paste the m3u8 link from an external site, the video fails to parse correctly. If I upload a file to the website, get an m…

---

## [Are Post Voting votes/replies accessible via API?](https://meta.discourse.org/t/are-post-voting-votes-replies-accessible-via-api/296640)

<div class="topic-metadata">

**Author:** [@dig.gerald.yeong](https://meta.discourse.org/u/dig.gerald.yeong)\
**Replies:** 2\
**Last updated:** [February 25, 2024, 9:56am UTC](https://meta.discourse.org/t/are-post-voting-votes-replies-accessible-via-api/296640 "2024-02-25T09:56:14Z")

</div>

Will the votes/answers be accessible via discourse’s APIs?

---

## [How to resize 'Modern Category + Group Boxes' thumbnail via CSS](https://meta.discourse.org/t/how-to-resize-modern-category-group-boxes-thumbnail-via-css/296561)

<div class="topic-metadata">

**Author:** [@HisFocus](https://meta.discourse.org/u/HisFocus)\
**Replies:** 2\
**Last updated:** [February 24, 2024, 1:32am UTC](https://meta.discourse.org/t/how-to-resize-modern-category-group-boxes-thumbnail-via-css/296561 "2024-02-24T01:32:17Z")

</div>

I am looking to resize the ‘Modern Category + Group Boxes’ thumbnail via CSS. If I use the default setting to use an image, the image increases the size of the thumbnail, (even if I use a smaller image). I’m sure that …

---

## [X/Twitter onebox caching question](https://meta.discourse.org/t/x-twitter-onebox-caching-question/296493)

<div class="topic-metadata">

**Author:** [@ninermac](https://meta.discourse.org/u/ninermac)\
**Replies:** 1\
**Last updated:** [February 23, 2024, 4:11pm UTC](https://meta.discourse.org/t/x-twitter-onebox-caching-question/296493 "2024-02-23T16:11:53Z")

</div>

I’m considering subscribing to the X API basic tier at 10k reads a month. In looking around it looks like discourse caches the onebox except if html is rebuilt or a rebake? What I’d really like to do is cache any X/Twit…

---

## [Edit profile access button!](https://meta.discourse.org/t/edit-profile-access-button/296298)

<div class="topic-metadata">

**Author:** [@hamdictn](https://meta.discourse.org/u/hamdictn)\
**Replies:** 6\
**Last updated:** [February 22, 2024, 3:48pm UTC](https://meta.discourse.org/t/edit-profile-access-button/296298 "2024-02-22T15:48:59Z")

</div>

Hello, thank you again for your previous help. But I would like to edit something that I see as negative in terms of user experience, if there is a way to do it. As in the picture below, when the user clicks on the …

---

## [openNewMessage missing tags parameter](https://meta.discourse.org/t/opennewmessage-missing-tags-parameter/296335)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 0\
**Last updated:** [February 22, 2024, 3:23pm UTC](https://meta.discourse.org/t/opennewmessage-missing-tags-parameter/296335 "2024-02-22T15:23:24Z")

</div>

I’m writing a plugin that needs to create PM that includes a tag. composer.openNewTopic includes a tags parameter, but openNewMessage does not. https://github.com/discourse/discourse/blob/main/app/assets/javascripts/di…

---

## [Increase rate limit for API?](https://meta.discourse.org/t/increase-rate-limit-for-api/296032)

<div class="topic-metadata">

**Author:** [@Shauny](https://meta.discourse.org/u/Shauny)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 5:34pm UTC](https://meta.discourse.org/t/increase-rate-limit-for-api/296032 "2024-02-20T17:34:57Z")

</div>

Is there a rate limit for posting to the API? I have set up my site to grant badges to users on the forum based on stuff they achieve on my main site, and I am doing bulk API calls to add in the historical ones now as i…

---

## [How to get posts viewed by a user via APIs?](https://meta.discourse.org/t/how-to-get-posts-viewed-by-a-user-via-apis/296028)

<div class="topic-metadata">

**Author:** [@armingrudd](https://meta.discourse.org/u/armingrudd)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 1:44pm UTC](https://meta.discourse.org/t/how-to-get-posts-viewed-by-a-user-via-apis/296028 "2024-02-20T13:44:35Z")

</div>

Hi, Is it possible to get the posts (IDs) that user has viewed? The use case here is to filter topics within a timeframe and count viewed topics in the custom timeframe. Since “post read” is one of the user statistics …

---

## [Discourse Drafts api Not working](https://meta.discourse.org/t/discourse-drafts-api-not-working/265036)

<div class="topic-metadata">

**Author:** [@fahadaslam98](https://meta.discourse.org/u/fahadaslam98)\
**Replies:** 3\
**Last updated:** [February 20, 2024, 11:03am UTC](https://meta.discourse.org/t/discourse-drafts-api-not-working/265036 "2024-02-20T11:03:11Z")

</div>

I am facing an issue while implementing the drafts API using spring boot. All the APIs are working but this one API is giving me a tough time and I am unable to understand the issue. Has anyone implemented this and coul…

---

## [How to get User's topic's post count?](https://meta.discourse.org/t/how-to-get-users-topics-post-count/296022)

<div class="topic-metadata">

**Author:** [@omppatil](https://meta.discourse.org/u/omppatil)\
**Replies:** 0\
**Last updated:** [February 20, 2024, 7:10am UTC](https://meta.discourse.org/t/how-to-get-users-topics-post-count/296022 "2024-02-20T07:10:46Z")

</div>

Hi!, I want to get the count of user’s posts in a specific topic, it can be reply to a post or reply to the topic and how to get the data-user-card 's post count of a specific user? I would appreciate some help. Thank y…

---

## [Unpin a topic with API?](https://meta.discourse.org/t/unpin-a-topic-with-api/296001)

<div class="topic-metadata">

**Author:** [@fbpbdmin](https://meta.discourse.org/u/fbpbdmin)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 5:41am UTC](https://meta.discourse.org/t/unpin-a-topic-with-api/296001 "2024-02-20T05:41:05Z")

</div>

hey, wonder if could unpin a topic with API call ? this one has no status to be set as unpinned. thanks

---

## [What's the maximum number of categories we can have?](https://meta.discourse.org/t/whats-the-maximum-number-of-categories-we-can-have/57022)

<div class="topic-metadata">

**Author:** [@whizkid77](https://meta.discourse.org/u/whizkid77)\
**Replies:** 23\
**Last updated:** [February 19, 2024, 8:59pm UTC](https://meta.discourse.org/t/whats-the-maximum-number-of-categories-we-can-have/57022 "2024-02-19T20:59:10Z")

</div>

I’m considering using Discourse as the backend for my website and app, but I haven’t seen any documentation on its scaling limits. What’s the maximum number of categories we can have? Is it 1000? 10,000? 100,000? I p…

---

## [M3U8 file support](https://meta.discourse.org/t/m3u8-file-support/293584)

<div class="topic-metadata">

**Author:** [@Creatures\_Prehistori](https://meta.discourse.org/u/Creatures_Prehistori)\
**Replies:** 4\
**Last updated:** [February 17, 2024, 9:54pm UTC](https://meta.discourse.org/t/m3u8-file-support/293584 "2024-02-17T21:54:13Z")

</div>

I wish to play m3u8 video files within my post. What methods are available for parsing video links? I encountered an error when pasting the video link: Sorry, we were unable to generate a preview for this web page, be…

---

## [{{d-button}} or \<DButton\>? That is the question](https://meta.discourse.org/t/d-button-or-dbutton-that-is-the-question/295526)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 6\
**Last updated:** [February 16, 2024, 8:12pm UTC](https://meta.discourse.org/t/d-button-or-dbutton-that-is-the-question/295526 "2024-02-16T20:12:59Z")

</div>

Continuing the discussion from DButton no longer supports @action as a string. Please refactor to use an closure action instead: This saved me! My question now (besides how did it take me 9 months to do this) is wheth…

---

## [How do I see the variables, css and CSS that come by default in Discourse?](https://meta.discourse.org/t/how-do-i-see-the-variables-css-and-css-that-come-by-default-in-discourse/295448)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**Replies:** 2\
**Last updated:** [February 15, 2024, 3:12pm UTC](https://meta.discourse.org/t/how-do-i-see-the-variables-css-and-css-that-come-by-default-in-discourse/295448 "2024-02-15T15:12:25Z")

</div>

I want to see the styles that are already applied in discourse by default, is there any way to see the css and csss and variables page?

---

## [SVGs missing from new install](https://meta.discourse.org/t/svgs-missing-from-new-install/294754)

<div class="topic-metadata">

**Author:** [@ewd910](https://meta.discourse.org/u/ewd910)\
**Replies:** 11\
**Last updated:** [February 13, 2024, 7:49pm UTC](https://meta.discourse.org/t/svgs-missing-from-new-install/294754 "2024-02-13T19:49:02Z")

</div>

Hi, any idea what could have caused my site to lose all the svg icons, and is there any way to get them back? It’s a brand new docker installation

---

## [Link custom user field to external website](https://meta.discourse.org/t/link-custom-user-field-to-external-website/294894)

<div class="topic-metadata">

**Author:** [@jtbayly](https://meta.discourse.org/u/jtbayly)\
**Replies:** 10\
**Last updated:** [February 13, 2024, 2:44am UTC](https://meta.discourse.org/t/link-custom-user-field-to-external-website/294894 "2024-02-13T02:44:29Z")

</div>

I currently have a theme component that displays a custom user profile field as a link on the user profile, card, etc. I did something like this. That guide is now outdated because of Ember 5. Does anybody have any gu…

---

## [Message-bus is duplicating headers in Discourse chat](https://meta.discourse.org/t/message-bus-is-duplicating-headers-in-discourse-chat/294607)

<div class="topic-metadata">

**Author:** [@jandres](https://meta.discourse.org/u/jandres)\
**Replies:** 6\
**Last updated:** [February 13, 2024, 2:35am UTC](https://meta.discourse.org/t/message-bus-is-duplicating-headers-in-discourse-chat/294607 "2024-02-13T02:35:17Z")

</div>

Hello guys I am trying to understand how works the message-bus feature used by discourse to stay online with new messages and events. Specifically I am insterested in how is used in the recent Discourse chat plugin. Ba…

---

## [Remove about page](https://meta.discourse.org/t/remove-about-page/256566)

<div class="topic-metadata">

**Author:** [@Julien\_Bonnier](https://meta.discourse.org/u/Julien_Bonnier)\
**Replies:** 7\
**Last updated:** [February 11, 2024, 11:48am UTC](https://meta.discourse.org/t/remove-about-page/256566 "2024-02-11T11:48:43Z")

</div>

Hi, Is there any way to remove the about page or at least control the information that is in it? Like not displaying some administrators.

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

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