# Development

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

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

**Page:** 26

---

## [How to get pending posts using the API?](https://meta.discourse.org/t/how-to-get-pending-posts-using-the-api/312171)

<div class="topic-metadata">

**Author:** [@尔德\_王](https://meta.discourse.org/u/%E5%B0%94%E5%BE%B7_%E7%8E%8B)\
**Replies:** 0\
**Last updated:** [June 15, 2024, 2:00am UTC](https://meta.discourse.org/t/how-to-get-pending-posts-using-the-api/312171 "2024-06-15T02:00:56Z")

</div>

Is there an http api to get pending posts and replies? I can’t find it in the discourse api docs

---

## [Problem with the CSS in the Fully theme](https://meta.discourse.org/t/problem-with-the-css-in-the-fully-theme/312129)

<div class="topic-metadata">

**Author:** [@Renato\_Mendes](https://meta.discourse.org/u/Renato_Mendes)\
**Replies:** 3\
**Last updated:** [June 14, 2024, 7:59pm UTC](https://meta.discourse.org/t/problem-with-the-css-in-the-fully-theme/312129 "2024-06-14T19:59:07Z")

</div>

Hey, guys! How can I change the CSS of the Fully theme? There’s no button there… :confused:

---

## [Add extra info to category box](https://meta.discourse.org/t/add-extra-info-to-category-box/312119)

<div class="topic-metadata">

**Author:** [@wendellverli](https://meta.discourse.org/u/wendellverli)\
**Replies:** 0\
**Last updated:** [June 14, 2024, 4:03pm UTC](https://meta.discourse.org/t/add-extra-info-to-category-box/312119 "2024-06-14T16:03:56Z")

</div>

Is there someone that could help to work on this for the parent category? Image, Icon, Title, Brief Description, There is a possibility to add topic list (up to 3) for that one category… From what I have read be…

---

## [Issues with Theme Components \[JavaScript\]](https://meta.discourse.org/t/issues-with-theme-components-javascript/312027)

<div class="topic-metadata">

**Author:** [@Monikas](https://meta.discourse.org/u/Monikas)\
**Replies:** 0\
**Last updated:** [June 14, 2024, 3:10am UTC](https://meta.discourse.org/t/issues-with-theme-components-javascript/312027 "2024-06-14T03:10:35Z")

</div>

I have a problem with JavaScript. When I upload it, it doesn’t work. If I write everything into an HTML file and open it locally, it works fine. But when I put it into a theme component, it doesn’t work. The button d…

---

## [Can the Versatile Banner be updated by API?](https://meta.discourse.org/t/can-the-versatile-banner-be-updated-by-api/311889)

<div class="topic-metadata">

**Author:** [@barto\_95](https://meta.discourse.org/u/barto_95)\
**Replies:** 0\
**Last updated:** [June 13, 2024, 8:14am UTC](https://meta.discourse.org/t/can-the-versatile-banner-be-updated-by-api/311889 "2024-06-13T08:14:44Z")

</div>

Hi, it’s possible to change the banner with API ? if yes, possible to show the request ? Is for annonced the birthday of member

---

## [Plugin Api Version](https://meta.discourse.org/t/plugin-api-version/203703)

<div class="topic-metadata">

**Author:** [@Usman\_Shahid](https://meta.discourse.org/u/Usman_Shahid)\
**Replies:** 3\
**Last updated:** [June 13, 2024, 12:56am UTC](https://meta.discourse.org/t/plugin-api-version/203703 "2024-06-13T00:56:23Z")

</div>

Where do I find which versions of discourse support which plugin api version. Currently I am using pluginapi v 0.8 because I found it in discourse theme guide. But I haven’t been able to locate plugin api versions and th…

---

## [How to make topic's custom\_fields must present](https://meta.discourse.org/t/how-to-make-topics-custom-fields-must-present/311725)

<div class="topic-metadata">

**Author:** [@blue-sky](https://meta.discourse.org/u/blue-sky)\
**Replies:** 4\
**Last updated:** [June 12, 2024, 12:48pm UTC](https://meta.discourse.org/t/how-to-make-topics-custom-fields-must-present/311725 "2024-06-12T12:48:24Z")

</div>

can i make topic’s custom\_fields must present when creating topics? the custom field is provided by a plugin.

---

## [TC/Plugin architecture: should we have more control over classes?](https://meta.discourse.org/t/tc-plugin-architecture-should-we-have-more-control-over-classes/311532)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 4\
**Last updated:** [June 12, 2024, 12:28pm UTC](https://meta.discourse.org/t/tc-plugin-architecture-should-we-have-more-control-over-classes/311532 "2024-06-12T12:28:35Z")

</div>

I recently moved a small component over to .gjs on Locations Plugin. It adds an alternative form of Location to the website and locations outlet on the user profile. At the same time it hides the redundant location inf…

---

## [Bootbox is now deprecated](https://meta.discourse.org/t/bootbox-is-now-deprecated/244902)

<div class="topic-metadata">

**Author:** [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Replies:** 8\
**Last updated:** [June 12, 2024, 7:56am UTC](https://meta.discourse.org/t/bootbox-is-now-deprecated/244902 "2024-06-12T07:56:07Z")

</div>

As of this commit: the bootbox library for dialogs is now deprecated. Developers, please use the dialog service in core instead of bootbox in your custom themes and plugins. The bootbox library will be removed from c…

---

## [How to get an API key](https://meta.discourse.org/t/how-to-get-an-api-key/223847)

<div class="topic-metadata">

**Author:** [@dsclrsr](https://meta.discourse.org/u/dsclrsr)\
**Replies:** 6\
**Last updated:** [June 11, 2024, 2:51pm UTC](https://meta.discourse.org/t/how-to-get-an-api-key/223847 "2024-06-11T14:51:09Z")

</div>

I’m trying to programmatically create a topic with Python on a Discourse instance where I have the admin role. The documentation states: you will need to create an API Key from the admin panel I have searched/looked…

---

## [Is there an api to set the primary group for a user](https://meta.discourse.org/t/is-there-an-api-to-set-the-primary-group-for-a-user/309611)

<div class="topic-metadata">

**Author:** [@Onlyanegg](https://meta.discourse.org/u/Onlyanegg)\
**Replies:** 12\
**Last updated:** [June 11, 2024, 8:40am UTC](https://meta.discourse.org/t/is-there-an-api-to-set-the-primary-group-for-a-user/309611 "2024-06-11T08:40:17Z")

</div>

Ideally I’d like to set the primary group when I invite a user to be the group I’m adding in the invite, but I don’t see a way to do that. Is there any way via the api to set the primary group for a user? Cheers

---

## [Finding all groups of the poster in a topic](https://meta.discourse.org/t/finding-all-groups-of-the-poster-in-a-topic/311377)

<div class="topic-metadata">

**Author:** [@Lumi](https://meta.discourse.org/u/Lumi)\
**Replies:** 5\
**Last updated:** [June 10, 2024, 5:56pm UTC](https://meta.discourse.org/t/finding-all-groups-of-the-poster-in-a-topic/311377 "2024-06-10T17:56:41Z")

</div>

I would like to show small flair for all groups of a user on every post in a topic (under the username). I have the basic functionality working, but I hit the wall on finding the groups of the user that made the post. In…

---

## [Checking User Existence Rake](https://meta.discourse.org/t/checking-user-existence-rake/311065)

<div class="topic-metadata">

**Author:** [@codethulu](https://meta.discourse.org/u/codethulu)\
**Replies:** 2\
**Last updated:** [June 10, 2024, 10:51am UTC](https://meta.discourse.org/t/checking-user-existence-rake/311065 "2024-06-10T10:51:00Z")

</div>

Hello all, I am currently working on the discourse-k8s-operator, where I have developed an action that requires checking if the user exists. There does not seem to be an existing rake task for this, however (we also noti…

---

## [Customizes the homepage to show topics based on user interests](https://meta.discourse.org/t/customizes-the-homepage-to-show-topics-based-on-user-interests/311283)

<div class="topic-metadata">

**Author:** [@kokoloman001](https://meta.discourse.org/u/kokoloman001)\
**Replies:** 3\
**Last updated:** [June 9, 2024, 6:33pm UTC](https://meta.discourse.org/t/customizes-the-homepage-to-show-topics-based-on-user-interests/311283 "2024-06-09T18:33:51Z")

</div>

I want to hear what you think about this plugin. I’m working on a plugin that will let visitors choose a new topic to display on the homepage depending on their interests. I wrote down the idea and drew this step out, bu…

---

## [Discourse Audio Message](https://meta.discourse.org/t/discourse-audio-message/270432)

<div class="topic-metadata">

**Author:** [@peter.be](https://meta.discourse.org/u/peter.be)\
**Replies:** 26\
**Last updated:** [June 9, 2024, 6:14pm UTC](https://meta.discourse.org/t/discourse-audio-message/270432 "2024-06-09T18:14:30Z")

</div>

:information\_source: Summary Discourse Audio Message allows users to directly record and attach audio messages to their posts. :hammer\_and\_wrench: Repository Link https://github.com/pbenkoe/discourse-audio-m…

---

## [How can I make some customizations with the discourse source code when set up with official docker install guides](https://meta.discourse.org/t/how-can-i-make-some-customizations-with-the-discourse-source-code-when-set-up-with-official-docker-install-guides/311291)

<div class="topic-metadata">

**Author:** [@blue-sky](https://meta.discourse.org/u/blue-sky)\
**Replies:** 3\
**Last updated:** [June 9, 2024, 12:28pm UTC](https://meta.discourse.org/t/how-can-i-make-some-customizations-with-the-discourse-source-code-when-set-up-with-official-docker-install-guides/311291 "2024-06-09T12:28:55Z")

</div>

If I set up a discourse forum for production with the official docker install guides. How can I make some customizations with the discourse source code? Make private docker images to replace the official one or something…

---

## [How to center Header Search?](https://meta.discourse.org/t/how-to-center-header-search/310522)

<div class="topic-metadata">

**Author:** [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Replies:** 9\
**Last updated:** [June 4, 2024, 4:06pm UTC](https://meta.discourse.org/t/how-to-center-header-search/310522 "2024-06-04T16:06:01Z")

</div>

Hi everyone! .search-menu.menu-panel-results, .search-menu-container.menu-panel-results { width: 600px; left: 150px; } .floating-search-input .search-banner-inner.wrap .search-menu .search-icon { left: 150p…

---

## [Flutter Mobile App for your Discourse Community](https://meta.discourse.org/t/flutter-mobile-app-for-your-discourse-community/299768)

<div class="topic-metadata">

**Author:** [@harithwick](https://meta.discourse.org/u/harithwick)\
**Replies:** 9\
**Last updated:** [June 9, 2024, 7:23am UTC](https://meta.discourse.org/t/flutter-mobile-app-for-your-discourse-community/299768 "2024-06-09T07:23:16Z")

</div>

Hey everyone, I’ve been working on a Flutter mobile app for my discourse community for the past 3-4 months. Was wondering if anyone else is interested in using Flutter to build a mobile application for their Discourse Co…

---

## [API gem methods have inconsistent response structures](https://meta.discourse.org/t/api-gem-methods-have-inconsistent-response-structures/311269)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**Replies:** 0\
**Last updated:** [June 9, 2024, 2:05am UTC](https://meta.discourse.org/t/api-gem-methods-have-inconsistent-response-structures/311269 "2024-06-09T02:05:13Z")

</div>

I’m not sure if this is worth mentioning, but I got stuck on it today when parsing responses from the gem’s create\_topic and edit\_post methods. create\_topic calls the post method. That method returns either response.bod…

---

## [Accessing user data from a Discourse Forum API](https://meta.discourse.org/t/accessing-user-data-from-a-discourse-forum-api/311248)

<div class="topic-metadata">

**Author:** [@EReeeN1208](https://meta.discourse.org/u/EReeeN1208)\
**Replies:** 1\
**Last updated:** [June 8, 2024, 7:58pm UTC](https://meta.discourse.org/t/accessing-user-data-from-a-discourse-forum-api/311248 "2024-06-08T19:58:55Z")

</div>

Hello, I want to access the user data (summary.json) located at https://www.chiefdelphi.com/u/ereeen1208/summary.json using Nextjs typescript for a project. (chiefdelphi is a discourse forum for FRC) I’ve tried using mul…

---

## [Theme component update issue](https://meta.discourse.org/t/theme-component-update-issue/311078)

<div class="topic-metadata">

**Author:** [@user14893](https://meta.discourse.org/u/user14893)\
**Replies:** 7\
**Last updated:** [June 7, 2024, 8:04am UTC](https://meta.discourse.org/t/theme-component-update-issue/311078 "2024-06-07T08:04:50Z")

</div>

Our site’s theme component won’t work with the latest Discourse version. Whenever we try fixing it in safe mode following console prompts, the site crashes as soon as we open the component. How can we fix this?

---

## [Widget integration for comments from discourse on the website using API](https://meta.discourse.org/t/widget-integration-for-comments-from-discourse-on-the-website-using-api/311085)

<div class="topic-metadata">

**Author:** [@Tanya\_Kulshrestha](https://meta.discourse.org/u/Tanya_Kulshrestha)\
**Replies:** 0\
**Last updated:** [June 7, 2024, 4:48am UTC](https://meta.discourse.org/t/widget-integration-for-comments-from-discourse-on-the-website-using-api/311085 "2024-06-07T04:48:29Z")

</div>

We are working on implementing a commenting system on our website using Discourse and are looking for advice on how to enhance the user experience. Our goal is to allow users to post comments directly on a single page wi…

---

## [Can I differentiate between two expert groups?](https://meta.discourse.org/t/can-i-differentiate-between-two-expert-groups/311436)

<div class="topic-metadata">

**Author:** [@putty](https://meta.discourse.org/u/putty)\
**Replies:** 1\
**Last updated:** [June 6, 2024, 1:45pm UTC](https://meta.discourse.org/t/can-i-differentiate-between-two-expert-groups/311436 "2024-06-06T13:45:30Z")

</div>

Is there a way to differentiate between two levels/types of experts? We currently use this plugin to flag when our experts (Ambassadors) have responded to a question. To spare you all the details, we are looking to creat…

---

## [JSON data structure when using webhook](https://meta.discourse.org/t/json-data-structure-when-using-webhook/310479)

<div class="topic-metadata">

**Author:** [@yangxuan](https://meta.discourse.org/u/yangxuan)\
**Replies:** 4\
**Last updated:** [June 6, 2024, 1:59am UTC](https://meta.discourse.org/t/json-data-structure-when-using-webhook/310479 "2024-06-06T01:59:10Z")

</div>

What is the specific JSON data structure that Discourse sends to other services when using webhook? Can you give me an example?

---

## [Onebox (deprecated) gem question on allowed domains & settings](https://meta.discourse.org/t/onebox-deprecated-gem-question-on-allowed-domains-settings/310589)

<div class="topic-metadata">

**Author:** [@fearlessfrog](https://meta.discourse.org/u/fearlessfrog)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 9:49pm UTC](https://meta.discourse.org/t/onebox-deprecated-gem-question-on-allowed-domains-settings/310589 "2024-06-05T21:49:22Z")

</div>

I was playing with the old onebox gem here discourse/onebox: (DEPRECATED) A gem for turning URLs into website previews (github.com) (I see it is deprecated, just trying to understand it a bit more) and couldn’t see how t…

---

## [Uploading a new file to a discourse AI persona](https://meta.discourse.org/t/uploading-a-new-file-to-a-discourse-ai-persona/310673)

<div class="topic-metadata">

**Author:** [@philip-ellis-sp](https://meta.discourse.org/u/philip-ellis-sp)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 7:27pm UTC](https://meta.discourse.org/t/uploading-a-new-file-to-a-discourse-ai-persona/310673 "2024-06-05T19:27:57Z")

</div>

I am trying to reverse engineer the API call to upload files to an AI persona, I’ve replicated the call in postman, and it gives me a 200 response back: But when I go back to the AI persona, the file is no where t…

---

## [Top contributors sidebar Backgound](https://meta.discourse.org/t/top-contributors-sidebar-backgound/310499)

<div class="topic-metadata">

**Author:** [@Nestor\_Matias](https://meta.discourse.org/u/Nestor_Matias)\
**Replies:** 15\
**Last updated:** [June 5, 2024, 3:37pm UTC](https://meta.discourse.org/t/top-contributors-sidebar-backgound/310499 "2024-06-05T15:37:12Z")

</div>

Hi Discourse i need some help i added this Top-contributor-sidebar theme to my Foum but i want to know how can i add or change the backgound of it? is there any way to custom the style.

---

## [Why don't background codes work in full screen chat page?](https://meta.discourse.org/t/why-dont-background-codes-work-in-full-screen-chat-page/310204)

<div class="topic-metadata">

**Author:** [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Replies:** 5\
**Last updated:** [June 4, 2024, 1:09pm UTC](https://meta.discourse.org/t/why-dont-background-codes-work-in-full-screen-chat-page/310204 "2024-06-04T13:09:05Z")

</div>

Hi everyone. Why don’t the codes that work for the home page work in the background of the chat room? There is a bad view right now, when the chat room is in full screen. My codes for background and body body { …

---

## [Asking about discourse invalid\_access](https://meta.discourse.org/t/asking-about-discourse-invalid-access/310237)

<div class="topic-metadata">

**Author:** [@wings](https://meta.discourse.org/u/wings)\
**Replies:** 2\
**Last updated:** [June 2, 2024, 1:14pm UTC](https://meta.discourse.org/t/asking-about-discourse-invalid-access/310237 "2024-06-02T13:14:31Z")

</div>

Hi, I would like to ask about the issue of invalid access due to cookies in Discourse. In my case, I am trying to access the Discourse API using a cookie obtained from /session.json after logging in. However, I encount…

---

## [Generate User Api Key Without User Approval](https://meta.discourse.org/t/generate-user-api-key-without-user-approval/310210)

<div class="topic-metadata">

**Author:** [@BrainFried](https://meta.discourse.org/u/BrainFried)\
**Replies:** 3\
**Last updated:** [June 2, 2024, 5:38am UTC](https://meta.discourse.org/t/generate-user-api-key-without-user-approval/310210 "2024-06-02T05:38:14Z")

</div>

I’m using Discourse headless, and I’m able to get User information using the Admin API key, but it was recommended to instead generate a user API for each user. So I’m trying to do that method instead but I don’t want th…

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

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