# Development

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

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

**Page:** 27

---

## [How to hide the ‘add a comment’ option](https://meta.discourse.org/t/how-to-hide-the-add-a-comment-option/310206)

<div class="topic-metadata">

**Author:** [@Ahmed26](https://meta.discourse.org/u/Ahmed26)\
**Replies:** 0\
**Last updated:** [June 1, 2024, 5:12pm UTC](https://meta.discourse.org/t/how-to-hide-the-add-a-comment-option/310206 "2024-06-01T17:12:01Z")

</div>

How to hide the button marked in the picture?

---

## [How does user\_search\_data work?](https://meta.discourse.org/t/how-does-user-search-data-work/309664)

<div class="topic-metadata">

**Author:** [@Isambard](https://meta.discourse.org/u/Isambard)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 11:28pm UTC](https://meta.discourse.org/t/how-does-user-search-data-work/309664 "2024-05-31T23:28:51Z")

</div>

Looking at the user\_search\_data table, I was wondering how this works? The search data seems to break up the username into bits presumably to help searching. Is this documented anywhere? I noticed also that one or two u…

---

## [Confusion about API Authenticated User](https://meta.discourse.org/t/confusion-about-api-authenticated-user/310042)

<div class="topic-metadata">

**Author:** [@BrainFried](https://meta.discourse.org/u/BrainFried)\
**Replies:** 3\
**Last updated:** [May 31, 2024, 6:13am UTC](https://meta.discourse.org/t/confusion-about-api-authenticated-user/310042 "2024-05-31T06:13:14Z")

</div>

I have a question more about the security of using the API because I think I’m missing some trivial concept with my lack of experience. I have a headless implementation of discourse to integrate into my frontend and I’v…

---

## [Delete all posts by a user on entire site with API?](https://meta.discourse.org/t/delete-all-posts-by-a-user-on-entire-site-with-api/302332)

<div class="topic-metadata">

**Author:** [@45thj5ej](https://meta.discourse.org/u/45thj5ej)\
**Replies:** 19\
**Last updated:** [May 30, 2024, 4:18pm UTC](https://meta.discourse.org/t/delete-all-posts-by-a-user-on-entire-site-with-api/302332 "2024-05-30T16:18:45Z")

</div>

How would I accomplish this? Can’t seem to really figure out what to do… I’ve looked at: https://www.postman.com/api-evangelist/workspace/discourse/documentation/35240-c739e2a5-3ddf-4ffc-90e9-7dd579e8a55d?entity=reque…

---

## [Markdown Extensions for BBCode](https://meta.discourse.org/t/markdown-extensions-for-bbcode/150224)

<div class="topic-metadata">

**Author:** [@Ghan](https://meta.discourse.org/u/Ghan)\
**Replies:** 8\
**Last updated:** [May 30, 2024, 4:19am UTC](https://meta.discourse.org/t/markdown-extensions-for-bbcode/150224 "2024-05-30T04:19:40Z")

</div>

I am trying to learn how to write markdown rules to implement new bbcode functionality using this guide, however I’m having a really hard time following what is going on as there is so much that is unexplained: I also…

---

## [Any way to turn off RateLimiter temporarily for bulk creation by admin?](https://meta.discourse.org/t/any-way-to-turn-off-ratelimiter-temporarily-for-bulk-creation-by-admin/138825)

<div class="topic-metadata">

**Author:** [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)\
**Replies:** 19\
**Last updated:** [May 29, 2024, 8:39am UTC](https://meta.discourse.org/t/any-way-to-turn-off-ratelimiter-temporarily-for-bulk-creation-by-admin/138825 "2024-05-29T08:39:55Z")

</div>

So here is my issue. I have a requirement to essentially seed a Discourse production instance with around 200 posts at a time from a plugin admin action. These posts will be ‘created by’ 1 of 10 different regular users. …

---

## [Choice of tech stack for discourse if started in 2020](https://meta.discourse.org/t/choice-of-tech-stack-for-discourse-if-started-in-2020/150973)

<div class="topic-metadata">

**Author:** [@hbm](https://meta.discourse.org/u/hbm)\
**Replies:** 7\
**Last updated:** [May 28, 2024, 8:53pm UTC](https://meta.discourse.org/t/choice-of-tech-stack-for-discourse-if-started-in-2020/150973 "2024-05-28T20:53:21Z")

</div>

Discourse is built on Rails and Ember, great choices supporting the success of Discourse. However, the choice was made in 2012, I wonder how may the choices be different if the project is started in 2020 ? I wonder wha…

---

## [Checking for New Chat Messages via API](https://meta.discourse.org/t/checking-for-new-chat-messages-via-api/309749)

<div class="topic-metadata">

**Author:** [@Earnie\_Baird](https://meta.discourse.org/u/Earnie_Baird)\
**Replies:** 7\
**Last updated:** [May 28, 2024, 8:39pm UTC](https://meta.discourse.org/t/checking-for-new-chat-messages-via-api/309749 "2024-05-28T20:39:48Z")

</div>

Hello, I’m integrating Discourse into another app and am trying to surface whether someone has any new chat activity pending via the API. If there are any new messages I just want to show a red badge. More specifically…

---

## [Curl error connecting local Discourse and WordPress sites](https://meta.discourse.org/t/curl-error-connecting-local-discourse-and-wordpress-sites/248722)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**Replies:** 4\
**Last updated:** [May 28, 2024, 7:12pm UTC](https://meta.discourse.org/t/curl-error-connecting-local-discourse-and-wordpress-sites/248722 "2024-05-28T19:12:08Z")

</div>

For the past while I’ve been getting the following error when attempting to connect my local Discourse and WordPress sites: cURL error 61: Unrecognized content encoding type. libcurl understands deflate, gzip, br conten…

---

## [Has the definition of "critical upgrade" changed?](https://meta.discourse.org/t/has-the-definition-of-critical-upgrade-changed/309603)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 0\
**Last updated:** [May 27, 2024, 8:51pm UTC](https://meta.discourse.org/t/has-the-definition-of-critical-upgrade-changed/309603 "2024-05-27T20:51:28Z")

</div>

My Dashboard retrieves /admin/dashboard.json to get info about what version is running. I’m fairly certain that until recently if any new beta release was available then critical\_upgrade was set to true. It seems now th…

---

## [Clickable All Topic on Homepage?](https://meta.discourse.org/t/clickable-all-topic-on-homepage/309580)

<div class="topic-metadata">

**Author:** [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Replies:** 4\
**Last updated:** [May 27, 2024, 4:54pm UTC](https://meta.discourse.org/t/clickable-all-topic-on-homepage/309580 "2024-05-27T16:54:19Z")

</div>

Hi everyone, I’ve seen it in a few forums, when you click on the topics (clicking on the right, left or bottom) on the home page you go to the topic. But don’t lose the clickability of the tag and subcategory. How …

---

## [Can't create new group via api (/admin/groups.json - post method)](https://meta.discourse.org/t/cant-create-new-group-via-api-admin-groups-json-post-method/309452)

<div class="topic-metadata">

**Author:** [@Nuran\_Akimbek](https://meta.discourse.org/u/Nuran_Akimbek)\
**Replies:** 3\
**Last updated:** [May 26, 2024, 2:44pm UTC](https://meta.discourse.org/t/cant-create-new-group-via-api-admin-groups-json-post-method/309452 "2024-05-26T14:44:31Z")

</div>

Can’t create new group via api (https://mywebsite/admin/groups.json - post method) When I send via get method (https://mywebsite/groups.json) I successfully get all groups list. Response message is “The requested URL o…

---

## [How to use ‘undo change timestamp’ custom rake task?](https://meta.discourse.org/t/how-to-use-undo-change-timestamp-custom-rake-task/309450)

<div class="topic-metadata">

**Author:** [@Dotila\_Li](https://meta.discourse.org/u/Dotila_Li)\
**Replies:** 3\
**Last updated:** [May 26, 2024, 12:43pm UTC](https://meta.discourse.org/t/how-to-use-undo-change-timestamp-custom-rake-task/309450 "2024-05-26T12:43:08Z")

</div>

How to run this in detail? I’m not familiar rake task. I encountered this problem: -bash: cd: /var/www/discourse: No such file or directory

---

## [How to add three dots at the end of the topic name?](https://meta.discourse.org/t/how-to-add-three-dots-at-the-end-of-the-topic-name/309401)

<div class="topic-metadata">

**Author:** [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Replies:** 2\
**Last updated:** [May 25, 2024, 7:14pm UTC](https://meta.discourse.org/t/how-to-add-three-dots-at-the-end-of-the-topic-name/309401 "2024-05-25T19:14:47Z")

</div>

Hi helpful friends, How to add three dots at the end of the topic name? Full topic name : Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. I …

---

## [Preset a tag in create-new-topic composer](https://meta.discourse.org/t/preset-a-tag-in-create-new-topic-composer/154093)

<div class="topic-metadata">

**Author:** [@wyudong](https://meta.discourse.org/u/wyudong)\
**Replies:** 3\
**Last updated:** [May 24, 2024, 8:42pm UTC](https://meta.discourse.org/t/preset-a-tag-in-create-new-topic-composer/154093 "2024-05-24T20:42:57Z")

</div>

After tags are enabled, users can add tags on their topics. My extra scenario is to preset a language tag based on user’s locale setting when the topic composer is opened. When a user is using the URL like: meta.exam…

---

## [How to add Button in Section](https://meta.discourse.org/t/how-to-add-button-in-section/309255)

<div class="topic-metadata">

**Author:** [@pradeepkumar0555](https://meta.discourse.org/u/pradeepkumar0555)\
**Replies:** 3\
**Last updated:** [May 24, 2024, 7:07am UTC](https://meta.discourse.org/t/how-to-add-button-in-section/309255 "2024-05-24T07:07:36Z")

</div>

Need a help to add button in section using custom code does any one knows about it please help me i want to add a button. check below Screenshot for reference. Can you please help.

---

## [Uninitialized variable named settings](https://meta.discourse.org/t/uninitialized-variable-named-settings/309192)

<div class="topic-metadata">

**Author:** [@jlc](https://meta.discourse.org/u/jlc)\
**Replies:** 1\
**Last updated:** [February 17, 2023, 11:24am UTC](https://meta.discourse.org/t/uninitialized-variable-named-settings/309192 "2023-02-17T11:24:22Z")

</div>

I’m still learning about theme and plugin development, so there’s a lot I’m ignorant about, but I’m wanting to contribute to this theme component if possible. So I’ve been looking at Fix board button categories by natha…

---

## [Option to add certain titles before name?](https://meta.discourse.org/t/option-to-add-certain-titles-before-name/308986)

<div class="topic-metadata">

**Author:** [@Shauny](https://meta.discourse.org/u/Shauny)\
**Replies:** 1\
**Last updated:** [May 23, 2024, 3:13pm UTC](https://meta.discourse.org/t/option-to-add-certain-titles-before-name/308986 "2024-05-23T15:13:51Z")

</div>

I have a fun idea for some badges, if people contribute greatly to working on my site then I want to be able to add titles directly to their name display, for example a “Professor” title that shows as such: The norma…

---

## [API for engaged users](https://meta.discourse.org/t/api-for-engaged-users/308987)

<div class="topic-metadata">

**Author:** [@Jakob\_Schumacher](https://meta.discourse.org/u/Jakob_Schumacher)\
**Replies:** 2\
**Last updated:** [May 23, 2024, 9:10am UTC](https://meta.discourse.org/t/api-for-engaged-users/308987 "2024-05-23T09:10:37Z")

</div>

Hi, I would like to make a report with the software R about our instance of discourse. For this I use the API with a read-only key. I am able to query {baseurl}admin/users/list/active.json for example. But I cant find a…

---

## [Get user's permissions for topic via the API](https://meta.discourse.org/t/get-users-permissions-for-topic-via-the-api/309070)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**Replies:** 0\
**Last updated:** [May 22, 2024, 8:19pm UTC](https://meta.discourse.org/t/get-users-permissions-for-topic-via-the-api/309070 "2024-05-22T20:19:54Z")

</div>

Is there a more efficient way to get a user’s permissions for a topic than making a request to /t/-/topicId.json? The values I’m interested in are in the details property that’s returned from that request. For example: d…

---

## [Implement NPM/Yarn packages into a plugin](https://meta.discourse.org/t/implement-npm-yarn-packages-into-a-plugin/309064)

<div class="topic-metadata">

**Author:** [@LastLightbringer](https://meta.discourse.org/u/LastLightbringer)\
**Replies:** 1\
**Last updated:** [May 22, 2024, 7:53pm UTC](https://meta.discourse.org/t/implement-npm-yarn-packages-into-a-plugin/309064 "2024-05-22T19:53:39Z")

</div>

Hello Discourse Developers, I’m currently working on developing a plugin for Discourse and would like to incorporate some external libraries via NPM/Yarn. I’m looking for guidance on the best practices and steps to succ…

---

## [Emoji is too small](https://meta.discourse.org/t/emoji-is-too-small/308984)

<div class="topic-metadata">

**Author:** [@Monikas](https://meta.discourse.org/u/Monikas)\
**Replies:** 0\
**Last updated:** [May 22, 2024, 10:36am UTC](https://meta.discourse.org/t/emoji-is-too-small/308984 "2024-05-22T10:36:00Z")

</div>

.emoji.jixuanyou02 { height: 2em !important; width: auto !important; I’m using code modification and it doesn’t work.

---

## [Draft backup posts trigger the post\_created webhook](https://meta.discourse.org/t/draft-backup-posts-trigger-the-post-created-webhook/308900)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**Replies:** 0\
**Last updated:** [May 21, 2024, 6:57pm UTC](https://meta.discourse.org/t/draft-backup-posts-trigger-the-post-created-webhook/308900 "2024-05-21T18:57:12Z")

</div>

Is it intentional for the automatically created draft backup posts to trigger the post\_created and post\_edited webhook events? Here’s an example of the payload I’m seeing. Note that I’m testing this on a development sit…

---

## [You Have Performed this Action Too Many Times Error](https://meta.discourse.org/t/you-have-performed-this-action-too-many-times-error/159909)

<div class="topic-metadata">

**Author:** [@KranthiKiranGude](https://meta.discourse.org/u/KranthiKiranGude)\
**Replies:** 12\
**Last updated:** [May 21, 2024, 5:01pm UTC](https://meta.discourse.org/t/you-have-performed-this-action-too-many-times-error/159909 "2024-05-21T17:01:26Z")

</div>

I get the below error quite a few times. {"errors":\["You’ve performed this action too many times. Please wait a few seconds before trying again."\],"error\_type":"rate\_limit","extras":{"wait\_seconds":0}} How do I elimina…

---

## [Get topic title to show in custom hero banner](https://meta.discourse.org/t/get-topic-title-to-show-in-custom-hero-banner/308882)

<div class="topic-metadata">

**Author:** [@Andrew\_Dickens](https://meta.discourse.org/u/Andrew_Dickens)\
**Replies:** 0\
**Last updated:** [May 21, 2024, 3:31pm UTC](https://meta.discourse.org/t/get-topic-title-to-show-in-custom-hero-banner/308882 "2024-05-21T15:31:13Z")

</div>

I have been using router and discovery to create a dynamic hero depending what page is showing, however when i get down to and individual topic page I cannot find a way to pass the topic title to the template. Is there …

---

## [Tawk.to on Discourse](https://meta.discourse.org/t/tawk-to-on-discourse/158284)

<div class="topic-metadata">

**Author:** [@Bonster](https://meta.discourse.org/u/Bonster)\
**Replies:** 6\
**Last updated:** [May 21, 2024, 9:43am UTC](https://meta.discourse.org/t/tawk-to-on-discourse/158284 "2024-05-21T09:43:21Z")

</div>

Hi, I have been trying to embed the tawk.to chat function to my discourse but I cannot seem to get it to work. I saw someone had a question in the past about it. Insert tawk.to widget js code I have tried pasting the …

---

## [Handlebars template conditional for trust level](https://meta.discourse.org/t/handlebars-template-conditional-for-trust-level/308708)

<div class="topic-metadata">

**Author:** [@prome17](https://meta.discourse.org/u/prome17)\
**Replies:** 3\
**Last updated:** [May 20, 2024, 6:56pm UTC](https://meta.discourse.org/t/handlebars-template-conditional-for-trust-level/308708 "2024-05-20T18:56:50Z")

</div>

Can we target trust levels within a theme component? I want to display an alert for users who have lower trust levels and don’t yet have specific permissions but for it to go away once they level up.

---

## [Insert script in a post](https://meta.discourse.org/t/insert-script-in-a-post/308716)

<div class="topic-metadata">

**Author:** [@Master](https://meta.discourse.org/u/Master)\
**Replies:** 2\
**Last updated:** [May 20, 2024, 5:28pm UTC](https://meta.discourse.org/t/insert-script-in-a-post/308716 "2024-05-20T17:28:52Z")

</div>

Hello, I have a cryptocurrency community, and I want to insert a script in several topics reporting the price. For example, a topic is about bitcoin, and where I indicate what the price is, I would like to place this co…

---

## [House Ads, Codefund style codes not working](https://meta.discourse.org/t/house-ads-codefund-style-codes-not-working/308621)

<div class="topic-metadata">

**Author:** [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Replies:** 4\
**Last updated:** [May 20, 2024, 3:03pm UTC](https://meta.discourse.org/t/house-ads-codefund-style-codes-not-working/308621 "2024-05-20T15:03:54Z")

</div>

Hello helpful friends, I created a component and placed CSS codes into it. “Reklam” (Ad) House ads in ads plugin. Where am I making a mistake? Or are the codes not working? HTML \<a class="between-po…

---

## [We can create the same category as in UE](https://meta.discourse.org/t/we-can-create-the-same-category-as-in-ue/308622)

<div class="topic-metadata">

**Author:** [@Pirat](https://meta.discourse.org/u/Pirat)\
**Replies:** 2\
**Last updated:** [May 19, 2024, 5:58pm UTC](https://meta.discourse.org/t/we-can-create-the-same-category-as-in-ue/308622 "2024-05-19T17:58:22Z")

</div>

The way they made the categories section for the forum is really cool. Maybe we should implement a similar category in Discourse by default. What do you think?

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

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