# Development

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

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

**Page:** 32

---

## [Create users using rest-api](https://meta.discourse.org/t/create-users-using-rest-api/299525)

<div class="topic-metadata">

**Author:** [@NubeBuster](https://meta.discourse.org/u/NubeBuster)\
**Replies:** 5\
**Last updated:** [March 15, 2024, 2:23pm UTC](https://meta.discourse.org/t/create-users-using-rest-api/299525 "2024-03-15T14:23:09Z")

</div>

http://forums.my-domain.net/users.json returns a 404 Is the documentation outdated?

---

## [How to integrate Discourse forum with ASP.NET Core with Angular Template](https://meta.discourse.org/t/how-to-integrate-discourse-forum-with-asp-net-core-with-angular-template/138143)

<div class="topic-metadata">

**Author:** [@Thottempudi](https://meta.discourse.org/u/Thottempudi)\
**Replies:** 3\
**Last updated:** [March 15, 2024, 1:58pm UTC](https://meta.discourse.org/t/how-to-integrate-discourse-forum-with-asp-net-core-with-angular-template/138143 "2024-03-15T13:58:37Z")

</div>

How to integrate a Discourse forum with ASP.NET Core and Angular?

---

## [Options for using an alternative AI provider?](https://meta.discourse.org/t/options-for-using-an-alternative-ai-provider/299790)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Replies:** 3\
**Last updated:** [March 14, 2024, 10:11pm UTC](https://meta.discourse.org/t/options-for-using-an-alternative-ai-provider/299790 "2024-03-14T22:11:48Z")

</div>

@Falco @sam are there any options if we want to use our own AI provider outside of what are available in the settings? e.g. if we’re hosting our own, if we’re using a service like mendable.ai, etc.

---

## [Creating a new post from an external link using a POST request rather than query parameters?](https://meta.discourse.org/t/creating-a-new-post-from-an-external-link-using-a-post-request-rather-than-query-parameters/298989)

<div class="topic-metadata">

**Author:** [@CubeCoders](https://meta.discourse.org/u/CubeCoders)\
**Replies:** 5\
**Last updated:** [March 14, 2024, 4:11pm UTC](https://meta.discourse.org/t/creating-a-new-post-from-an-external-link-using-a-post-request-rather-than-query-parameters/298989 "2024-03-14T16:11:48Z")

</div>

Right now I’m using the /new-topic?title=foo&body=bar URL to direct users to create a post that has pre-filled, generated content (that varies by user or post) from our application. But I’m limited by the maximum length …

---

## [JavaScript Execution Time](https://meta.discourse.org/t/javascript-execution-time/299356)

<div class="topic-metadata">

**Author:** [@abdul19](https://meta.discourse.org/u/abdul19)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 4:02pm UTC](https://meta.discourse.org/t/javascript-execution-time/299356 "2024-03-14T16:02:53Z")

</div>

Sometimes the JavaScript file is executed before the DOM is completely rendered. The problem caused by this is while trying to access the DOm elements, it gives an error saying the element does not exists. For the moment…

---

## [How does discourse create SEO friendly html tags when the site is written in Emberjs?](https://meta.discourse.org/t/how-does-discourse-create-seo-friendly-html-tags-when-the-site-is-written-in-emberjs/293724)

<div class="topic-metadata">

**Author:** [@rubydoob](https://meta.discourse.org/u/rubydoob)\
**Replies:** 6\
**Last updated:** [March 14, 2024, 3:29am UTC](https://meta.discourse.org/t/how-does-discourse-create-seo-friendly-html-tags-when-the-site-is-written-in-emberjs/293724 "2024-03-14T03:29:57Z")

</div>

Looking at the generated HTML I can see regular \<div\> tags for a forum thread along with its content in the HTML, looking like a regular html template. How does discourse generate this search engine friendly html when i…

---

## [Post unread count displaying incorrectly](https://meta.discourse.org/t/post-unread-count-displaying-incorrectly/299120)

<div class="topic-metadata">

**Author:** [@omppatil](https://meta.discourse.org/u/omppatil)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 6:28am UTC](https://meta.discourse.org/t/post-unread-count-displaying-incorrectly/299120 "2024-03-13T06:28:55Z")

</div>

Hi, I’ve encountered an issue: when a new post is created and the unread count is displayed for that topic, upon visiting the topic and then returning to the topic list, the unread count remains the same. This occurs fo…

---

## [How to avoid throttling limits with admin API key?](https://meta.discourse.org/t/how-to-avoid-throttling-limits-with-admin-api-key/274206)

<div class="topic-metadata">

**Author:** [@aas](https://meta.discourse.org/u/aas)\
**Replies:** 11\
**Last updated:** [March 12, 2024, 5:01pm UTC](https://meta.discourse.org/t/how-to-avoid-throttling-limits-with-admin-api-key/274206 "2024-03-12T17:01:36Z")

</div>

I am getting the, “429 Too Many Requests” message for API requests to my self-hosted instance even with DISCOURSE\_MAX\_ADMIN\_API\_REQS\_PER\_MINUTE increased to 600 I set this in the env section of app.yml and then ran ./…

---

## [Read public chat channel content from API](https://meta.discourse.org/t/read-public-chat-channel-content-from-api/296218)

<div class="topic-metadata">

**Author:** [@Leo\_Wong](https://meta.discourse.org/u/Leo_Wong)\
**Replies:** 4\
**Last updated:** [March 11, 2024, 9:38pm UTC](https://meta.discourse.org/t/read-public-chat-channel-content-from-api/296218 "2024-03-11T21:38:35Z")

</div>

Hello, is there any document that explains how to access the chat channel from the API? thank you

---

## [API size limits](https://meta.discourse.org/t/api-size-limits/298646)

<div class="topic-metadata">

**Author:** [@Isambard](https://meta.discourse.org/u/Isambard)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 7:03pm UTC](https://meta.discourse.org/t/api-size-limits/298646 "2024-03-11T19:03:56Z")

</div>

Are there any size limits on API calls? I’m looking to add 70’000 members into a group using the add group members API call which I guess is roughly 2 megabytes of payload data in the call.

---

## [Open the login popup Or trigger event when button is pressed](https://meta.discourse.org/t/open-the-login-popup-or-trigger-event-when-button-is-pressed/136385)

<div class="topic-metadata">

**Author:** [@Bcat](https://meta.discourse.org/u/Bcat)\
**Replies:** 10\
**Last updated:** [March 11, 2024, 4:43pm UTC](https://meta.discourse.org/t/open-the-login-popup-or-trigger-event-when-button-is-pressed/136385 "2024-03-11T16:43:06Z")

</div>

There is a simple way like: button has class: sign-up-button When clicked will open the registered Popup. Instead of using a: href is a signup I used api.decorateWidget ('post: after', helper But there is NAME:LOCATI…

---

## [Automatically append staff notice to user posts](https://meta.discourse.org/t/automatically-append-staff-notice-to-user-posts/254123)

<div class="topic-metadata">

**Author:** [@jhealey](https://meta.discourse.org/u/jhealey)\
**Replies:** 9\
**Last updated:** [March 11, 2024, 2:28pm UTC](https://meta.discourse.org/t/automatically-append-staff-notice-to-user-posts/254123 "2024-03-11T14:28:32Z")

</div>

Our system generates accounts for posting announcements, we were wondering if there was a way to add a separate staff notice that has its own icon that automatically appends to these posts so we can explain that it is an…

---

## [Predefined simple list setting for theme component](https://meta.discourse.org/t/predefined-simple-list-setting-for-theme-component/298787)

<div class="topic-metadata">

**Author:** [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 10:08am UTC](https://meta.discourse.org/t/predefined-simple-list-setting-for-theme-component/298787 "2024-03-11T10:08:47Z")

</div>

A recent PR introduced multiple list with predefined values. This is super useful! :smile: At least, for user experience, it’s a great change! (e.g., top menu) https://github.com/discourse/discourse/pull/23953 However…

---

## [How can I edit My Login Page](https://meta.discourse.org/t/how-can-i-edit-my-login-page/298027)

<div class="topic-metadata">

**Author:** [@user34](https://meta.discourse.org/u/user34)\
**Replies:** 11\
**Last updated:** [March 10, 2024, 4:58pm UTC](https://meta.discourse.org/t/how-can-i-edit-my-login-page/298027 "2024-03-10T16:58:20Z")

</div>

how can i edit my design of login page ?

---

## [Feature: "Like" specific text inside a post, not just the post itself (Video)](https://meta.discourse.org/t/feature-like-specific-text-inside-a-post-not-just-the-post-itself-video/248386)

<div class="topic-metadata">

**Author:** [@Sören\_Geier](https://meta.discourse.org/u/S%C3%B6ren_Geier)\
**Replies:** 13\
**Last updated:** [March 10, 2024, 8:47am UTC](https://meta.discourse.org/t/feature-like-specific-text-inside-a-post-not-just-the-post-itself-video/248386 "2024-03-10T08:47:45Z")

</div>

Hi Community, I have a programming question related to a new feature that I am building on a theme component. I prepared a short video to demonstrate what I already have and where I am blocked. Here is a short de…

---

## [How to add a new button inside quick-access-profile?](https://meta.discourse.org/t/how-to-add-a-new-button-inside-quick-access-profile/297978)

<div class="topic-metadata">

**Author:** [@Decrypt](https://meta.discourse.org/u/Decrypt)\
**Replies:** 2\
**Last updated:** [March 9, 2024, 10:30pm UTC](https://meta.discourse.org/t/how-to-add-a-new-button-inside-quick-access-profile/297978 "2024-03-09T22:30:19Z")

</div>

Hello ! Is it possible to add a new link on this section : It would be between “preference” and “notifications”. By either editing my theme or adding a new plugin. Thank you !

---

## [Googlebot is getting non-javascript version of the site](https://meta.discourse.org/t/googlebot-is-getting-non-javascript-version-of-the-site/222412)

<div class="topic-metadata">

**Author:** [@stance455](https://meta.discourse.org/u/stance455)\
**Replies:** 16\
**Last updated:** [March 9, 2024, 6:37pm UTC](https://meta.discourse.org/t/googlebot-is-getting-non-javascript-version-of-the-site/222412 "2024-03-09T18:37:47Z")

</div>

So I just noticed that Discourse serves a non-JS version of the site to Google.. I’ve been using JS to set the sites title, meta description, canonical, etc and seems google is getting really good at rendering client-si…

---

## [How to use the hugging face llama2 chat bot](https://meta.discourse.org/t/how-to-use-the-hugging-face-llama2-chat-bot/275760)

<div class="topic-metadata">

**Author:** [@JC\_ICE](https://meta.discourse.org/u/JC_ICE)\
**Replies:** 2\
**Last updated:** [March 9, 2024, 6:33pm UTC](https://meta.discourse.org/t/how-to-use-the-hugging-face-llama2-chat-bot/275760 "2024-03-09T18:33:08Z")

</div>

how to use the hugging face llama2 chat bot?

---

## [Trouble with register\_svg\_icon and paypal](https://meta.discourse.org/t/trouble-with-register-svg-icon-and-paypal/298410)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 3\
**Last updated:** [March 8, 2024, 4:52pm UTC](https://meta.discourse.org/t/trouble-with-register-svg-icon-and-paypal/298410 "2024-03-08T16:52:12Z")

</div>

I’ve got a plugin that uses register\_svg\_icon "paypal" #if respond\_to?(:register\_svg\_icon) but the paypal icon won’t render. A bunch of other ones do render. These seem to work (and aren’t already included in Discours…

---

## [Render a component within a Widget. (Using select-kit components within plugin code)](https://meta.discourse.org/t/render-a-component-within-a-widget-using-select-kit-components-within-plugin-code/84462)

<div class="topic-metadata">

**Author:** [@duranmla](https://meta.discourse.org/u/duranmla)\
**Replies:** 29\
**Last updated:** [March 6, 2024, 4:50pm UTC](https://meta.discourse.org/t/render-a-component-within-a-widget-using-select-kit-components-within-plugin-code/84462 "2024-03-06T16:50:43Z")

</div>

If we successfully define a select-kit component within a plugin we are easily able to use it within a \*.hbs template file using its pluginApiIdentifiers however, in order to attach that component within a widget using J…

---

## [Changing the login Page for Custom Themes](https://meta.discourse.org/t/changing-the-login-page-for-custom-themes/298109)

<div class="topic-metadata">

**Author:** [@Asad\_Abrar](https://meta.discourse.org/u/Asad_Abrar)\
**Replies:** 3\
**Last updated:** [March 6, 2024, 3:40pm UTC](https://meta.discourse.org/t/changing-the-login-page-for-custom-themes/298109 "2024-03-06T15:40:05Z")

</div>

hi We want to build a custom theme on discourse with a custom login page. Unable to find the code to change the design of the login Page. Can someone please help where to find the code repository of these two pages? We …

---

## [Add new action in rails controller](https://meta.discourse.org/t/add-new-action-in-rails-controller/298157)

<div class="topic-metadata">

**Author:** [@maaatt](https://meta.discourse.org/u/maaatt)\
**Replies:** 7\
**Last updated:** [March 6, 2024, 3:05pm UTC](https://meta.discourse.org/t/add-new-action-in-rails-controller/298157 "2024-03-06T15:05:54Z")

</div>

I’m building a plugin to add new exports in the users section. Instead to add new controller for every export I would like to extend the ExportCsvController and add new actions to it. How can I achieve this? Thanks

---

## [How to Edit Html and Css of Theme?](https://meta.discourse.org/t/how-to-edit-html-and-css-of-theme/297663)

<div class="topic-metadata">

**Author:** [@user34](https://meta.discourse.org/u/user34)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 6:16am UTC](https://meta.discourse.org/t/how-to-edit-html-and-css-of-theme/297663 "2024-03-03T06:16:46Z")

</div>

The option for edit CSS/HTML doesn’t exist when I got to CUSTOMIZE \> THEMES and choose the currently active theme. How to see the edit option? where i will go and edit and see the preview.

---

## [Is that a good option to make upload to local storage in new threads](https://meta.discourse.org/t/is-that-a-good-option-to-make-upload-to-local-storage-in-new-threads/297643)

<div class="topic-metadata">

**Author:** [@rkt](https://meta.discourse.org/u/rkt)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 6:01am UTC](https://meta.discourse.org/t/is-that-a-good-option-to-make-upload-to-local-storage-in-new-threads/297643 "2024-03-04T06:01:12Z")

</div>

Hi, I just find that the local storage function for uploads are implemented in the same thread of the Rails server, will that block the Rails server if too many uploads at the same time, so I just want to know if it is b…

---

## [Limit the number of characters displayed in the title](https://meta.discourse.org/t/limit-the-number-of-characters-displayed-in-the-title/297623)

<div class="topic-metadata">

**Author:** [@Gonerdot](https://meta.discourse.org/u/Gonerdot)\
**Replies:** 5\
**Last updated:** [March 2, 2024, 8:02pm UTC](https://meta.discourse.org/t/limit-the-number-of-characters-displayed-in-the-title/297623 "2024-03-02T20:02:45Z")

</div>

Hello! Please tell me how to limit the number of characters in a topic title when viewing a list of all topics.

---

## [Can it be done with CSS? Grouping categories on category page](https://meta.discourse.org/t/can-it-be-done-with-css-grouping-categories-on-category-page/112433)

<div class="topic-metadata">

**Author:** [@Cozdabuch](https://meta.discourse.org/u/Cozdabuch)\
**Replies:** 12\
**Last updated:** [March 2, 2024, 6:56am UTC](https://meta.discourse.org/t/can-it-be-done-with-css-grouping-categories-on-category-page/112433 "2024-03-02T06:56:31Z")

</div>

What I’d like to do (as I know there’s no baked in setting or feature set) is use CSS to group categories on the home page. I’m not looking to nest categories, but just group some together and possibly put a header on t…

---

## [When to use a plugin vs theme component?](https://meta.discourse.org/t/when-to-use-a-plugin-vs-theme-component/297052)

<div class="topic-metadata">

**Author:** [@maaatt](https://meta.discourse.org/u/maaatt)\
**Replies:** 12\
**Last updated:** [March 1, 2024, 5:26pm UTC](https://meta.discourse.org/t/when-to-use-a-plugin-vs-theme-component/297052 "2024-03-01T17:26:39Z")

</div>

I need to do little changes to some views: Eg: change the datetime format to extended one (DD/MM/YYY HH:MM) add a tooltip to long category titles view long category titles on two rows Do I need to c…

---

## [Site broken due to ember 5 upgrade](https://meta.discourse.org/t/site-broken-due-to-ember-5-upgrade/297213)

<div class="topic-metadata">

**Author:** [@Judith](https://meta.discourse.org/u/Judith)\
**Replies:** 15\
**Last updated:** [March 1, 2024, 2:04am UTC](https://meta.discourse.org/t/site-broken-due-to-ember-5-upgrade/297213 "2024-03-01T02:04:22Z")

</div>

WAY TOO SOON! I completely missed the announcement of this change because it got mixed with the winter holidays, and as a hobbyist I don’t read this forum very regularly. I only noticed once today’s update broke the si…

---

## [How to troubleshoot database errors in an outdated plugin?](https://meta.discourse.org/t/how-to-troubleshoot-database-errors-in-an-outdated-plugin/297339)

<div class="topic-metadata">

**Author:** [@zibetnu](https://meta.discourse.org/u/zibetnu)\
**Replies:** 5\
**Last updated:** [February 29, 2024, 11:21pm UTC](https://meta.discourse.org/t/how-to-troubleshoot-database-errors-in-an-outdated-plugin/297339 "2024-02-29T23:21:42Z")

</div>

I’m new to Discourse plugin development, and to start off I’m trying to update this quiz plugin to work with the latest version of Discourse. If it’s not too much trouble, I could use some help understanding how to trou…

---

## [Creating notifications via the API](https://meta.discourse.org/t/creating-notifications-via-the-api/173769)

<div class="topic-metadata">

**Author:** [@Mevo](https://meta.discourse.org/u/Mevo)\
**Replies:** 12\
**Last updated:** [February 29, 2024, 6:38pm UTC](https://meta.discourse.org/t/creating-notifications-via-the-api/173769 "2024-02-29T18:38:19Z")

</div>

Hi, a quick question: Can you send notifications to users with the API? (or another way). In the documentation, I found how to GET notifications of the user, how to mark them as read, but not how to POST some. If it isn…

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

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