# Development

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

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

**Page:** 75

---

## [Next js application as custom front end replacement](https://meta.discourse.org/t/next-js-application-as-custom-front-end-replacement/196796)

<div class="topic-metadata">

**Author:** [@LukasBombach](https://meta.discourse.org/u/LukasBombach)\
**Replies:** 2\
**Last updated:** [July 13, 2021, 7:07pm UTC](https://meta.discourse.org/t/next-js-application-as-custom-front-end-replacement/196796 "2021-07-13T19:07:42Z")

</div>

I am sorry if this has been discussed before, but I could not find any posts related to this and the developer docs do not explain this either. Instead of creating a theme by customizing the stock ember js app, i would …

---

## [Help on how to mock creating categories with custom fields for Acceptance tests](https://meta.discourse.org/t/help-on-how-to-mock-creating-categories-with-custom-fields-for-acceptance-tests/197010)

<div class="topic-metadata">

**Author:** [@Connor\_Parrish](https://meta.discourse.org/u/Connor_Parrish)\
**Replies:** 0\
**Last updated:** [July 13, 2021, 5:27pm UTC](https://meta.discourse.org/t/help-on-how-to-mock-creating-categories-with-custom-fields-for-acceptance-tests/197010 "2021-07-13T17:27:29Z")

</div>

Hello, the title sums it up pretty well. How can I mock categories with custom fields?

---

## [How to access Category custom fields in Plugins](https://meta.discourse.org/t/how-to-access-category-custom-fields-in-plugins/196374)

<div class="topic-metadata">

**Author:** [@Connor\_Parrish](https://meta.discourse.org/u/Connor_Parrish)\
**Replies:** 4\
**Last updated:** [July 8, 2021, 7:12pm UTC](https://meta.discourse.org/t/how-to-access-category-custom-fields-in-plugins/196374 "2021-07-08T19:12:01Z")

</div>

Prefacing, this is for a plugin that needs to know Category custom\_fields for creating a button in the before-create-topic plugin-outlet. I also need to use this in the after-topic-footer-main-buttons connector. I’m lik…

---

## [Discourse.SiteSettings is Undefined in Plugin Initializer code](https://meta.discourse.org/t/discourse-sitesettings-is-undefined-in-plugin-initializer-code/196354)

<div class="topic-metadata">

**Author:** [@Connor\_Parrish](https://meta.discourse.org/u/Connor_Parrish)\
**Replies:** 2\
**Last updated:** [July 7, 2021, 10:33pm UTC](https://meta.discourse.org/t/discourse-sitesettings-is-undefined-in-plugin-initializer-code/196354 "2021-07-07T22:33:05Z")

</div>

When I attempt to do something like the following: if (!Discourse.SiteSetting.my\_plugin\_enabled) { // code here } My page won’t load & I get an error in the dev console saying Cannot read property 'my\_plugin\_enable…

---

## [Discourse API Playground?](https://meta.discourse.org/t/discourse-api-playground/196309)

<div class="topic-metadata">

**Author:** [@RiversideRocks](https://meta.discourse.org/u/RiversideRocks)\
**Replies:** 1\
**Last updated:** [July 7, 2021, 6:20pm UTC](https://meta.discourse.org/t/discourse-api-playground/196309 "2021-07-07T18:20:11Z")

</div>

Is there such thing as a “playground” for the discourse API where I can fill in information needed for an API endpoint and then run it in my browser (similar to what swagger has)? An example: https://cdn.riverside.rocks…

---

## [How to create a link that doesn't reload the page?](https://meta.discourse.org/t/how-to-create-a-link-that-doesnt-reload-the-page/196151)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**Replies:** 0\
**Last updated:** [July 6, 2021, 10:27am UTC](https://meta.discourse.org/t/how-to-create-a-link-that-doesnt-reload-the-page/196151 "2021-07-06T10:27:35Z")

</div>

When I click on the Discourse logo, the site shows the homepage but the header remains visible throughout. I’m assuming it uses some Ember magic. Is it possible to recreate this behavior when creating a link in a theme …

---

## [currentUser.groups doesn't match group\_users table](https://meta.discourse.org/t/currentuser-groups-doesnt-match-group-users-table/196146)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**Replies:** 2\
**Last updated:** [July 6, 2021, 9:56am UTC](https://meta.discourse.org/t/currentuser-groups-doesnt-match-group-users-table/196146 "2021-07-06T09:56:57Z")

</div>

I believe this is a bug, but feel free to recategorize it to Development Steps to reproduce Create a theme by going to Admin \> Themes \> Common \> \</head\> and paste this \<script type="text/discourse-plugin" version="0.…

---

## [How do I change the address in the database?](https://meta.discourse.org/t/how-do-i-change-the-address-in-the-database/196142)

<div class="topic-metadata">

**Author:** [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)\
**Replies:** 0\
**Last updated:** [July 6, 2021, 9:01am UTC](https://meta.discourse.org/t/how-do-i-change-the-address-in-the-database/196142 "2021-07-06T09:01:16Z")

</div>

Hello everyone I decided to reinstall my local installation of Discourse I deleted the /discourse folder I repeated all the steps from the manual Install Discourse on Ubuntu or Debian for Development But the database…

---

## [Custom Lightbox Prototype](https://meta.discourse.org/t/custom-lightbox-prototype/191605)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**Replies:** 2\
**Last updated:** [July 5, 2021, 9:04pm UTC](https://meta.discourse.org/t/custom-lightbox-prototype/191605 "2021-07-05T21:04:18Z")

</div>

This is already available as a theme component. :arrow\_down\_small: Hello, My forum is really image heavy and I wanted to just make some changes in the default Magnific Popup lightbox to make it more friendly. I am not…

---

## [Search API only giving 5 posts while testing in Postman](https://meta.discourse.org/t/search-api-only-giving-5-posts-while-testing-in-postman/99402)

<div class="topic-metadata">

**Author:** [@Prakanshu\_Ray](https://meta.discourse.org/u/Prakanshu_Ray)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 11:42pm UTC](https://meta.discourse.org/t/search-api-only-giving-5-posts-while-testing-in-postman/99402 "2018-10-12T23:42:29Z")

</div>

Hi , I am using search API to get no. of posts for a keyword, while in discourse UI I am getting more results , in postman while testing the same API it is giving only 5 posts. My search query https://discourse.exampl…

---

## [Author badge on Topic Owner's posts](https://meta.discourse.org/t/author-badge-on-topic-owners-posts/171963)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**Replies:** 6\
**Last updated:** [September 5, 2023, 7:51am UTC](https://meta.discourse.org/t/author-badge-on-topic-owners-posts/171963 "2023-09-05T07:51:08Z")

</div>

Hello, It’s going to be really good to huge topics…where users know when the OP reply. Appear an Author badge on OP replies… I made it with CSS but I think this maybe could be a core feature or a theme component. …

---

## [How to require external libraries in a component helper file?](https://meta.discourse.org/t/how-to-require-external-libraries-in-a-component-helper-file/195392)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**Replies:** 6\
**Last updated:** [July 3, 2021, 10:19am UTC](https://meta.discourse.org/t/how-to-require-external-libraries-in-a-component-helper-file/195392 "2021-07-03T10:19:31Z")

</div>

I’m writing a theme component and I need to access two external libraries from a helper file. My current approach works, but it feels a bit clunky: In my initializer: import { apiInitializer } from 'discourse/lib/api';…

---

## [Questions about translating Discourse](https://meta.discourse.org/t/questions-about-translating-discourse/195808)

<div class="topic-metadata">

**Author:** [@kassius](https://meta.discourse.org/u/kassius)\
**Replies:** 0\
**Last updated:** [July 2, 2021, 8:58pm UTC](https://meta.discourse.org/t/questions-about-translating-discourse/195808 "2021-07-02T20:58:10Z")

</div>

Which are the methods for debugging a translation? How can I install my translation from crowdin so to test/improve it? Also, can you tell me when the translations are updated to the upstream and how to update it to my…

---

## [Proposal for a plugin to enable nomination and display of "Post of the Month"](https://meta.discourse.org/t/proposal-for-a-plugin-to-enable-nomination-and-display-of-post-of-the-month/195637)

<div class="topic-metadata">

**Author:** [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)\
**Replies:** 2\
**Last updated:** [July 1, 2021, 1:08pm UTC](https://meta.discourse.org/t/proposal-for-a-plugin-to-enable-nomination-and-display-of-post-of-the-month/195637 "2021-07-01T13:08:09Z")

</div>

On my forum, I’ve noticed that some conversations that should be of more interest to users can get buried amongst other chatter. I’m proposing to develop a plugin that would enable a “Post / Topic” of the month feature.…

---

## [Custom discourse with limited features](https://meta.discourse.org/t/custom-discourse-with-limited-features/195447)

<div class="topic-metadata">

**Author:** [@dhan-phi](https://meta.discourse.org/u/dhan-phi)\
**Replies:** 7\
**Last updated:** [July 1, 2021, 12:37pm UTC](https://meta.discourse.org/t/custom-discourse-with-limited-features/195447 "2021-07-01T12:37:46Z")

</div>

Hello Team, Am working on a small project where we are customising discourse to land the user directly to “a topic” with lot of client side customisation. User directly land on topic and can just post/reply to the topic…

---

## [How to develop discourse in a team?](https://meta.discourse.org/t/how-to-develop-discourse-in-a-team/195492)

<div class="topic-metadata">

**Author:** [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)\
**Replies:** 21\
**Last updated:** [July 1, 2021, 11:13am UTC](https://meta.discourse.org/t/how-to-develop-discourse-in-a-team/195492 "2021-07-01T11:13:09Z")

</div>

Hello everyone. I ran into a problem while developing discourse I usually clone files from Git Making changes Making a commit on Git My teammate does a git pull And gets all my changes How can I implement something…

---

## [How to modify the advanced search](https://meta.discourse.org/t/how-to-modify-the-advanced-search/195617)

<div class="topic-metadata">

**Author:** [@dvdpell](https://meta.discourse.org/u/dvdpell)\
**Replies:** 0\
**Last updated:** [July 1, 2021, 10:01am UTC](https://meta.discourse.org/t/how-to-modify-the-advanced-search/195617 "2021-07-01T10:01:48Z")

</div>

Hi everyone, I would like to modify the advanced search. I state that I am not a programmer. Advanced search currently has too many features for my use and I would like to delete some of them. I tried using the discour…

---

## [Substituting PostGres for MS-SQL](https://meta.discourse.org/t/substituting-postgres-for-ms-sql/195525)

<div class="topic-metadata">

**Author:** [@roxasthenobody98](https://meta.discourse.org/u/roxasthenobody98)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 5:06pm UTC](https://meta.discourse.org/t/substituting-postgres-for-ms-sql/195525 "2021-06-30T17:06:05Z")

</div>

How hard would it be to substitute PostGreSQL for MS-SQL? I currently have a Mirror-Replica SQL Server setup, and I’d like to use that if possible.

---

## [Review of topics in private discussion - dev](https://meta.discourse.org/t/review-of-topics-in-private-discussion-dev/195494)

<div class="topic-metadata">

**Author:** [@dvdpell](https://meta.discourse.org/u/dvdpell)\
**Replies:** 0\
**Last updated:** [June 30, 2021, 1:56pm UTC](https://meta.discourse.org/t/review-of-topics-in-private-discussion-dev/195494 "2021-06-30T13:56:00Z")

</div>

Hello everybody, you can customize the buttons that appear in the review phase for the publication of the topic. We need not to make public all the topics that are sent in the “pending” phase but to respond privately t…

---

## [How deeply can you use plugins to add new complex features to a Discourse instance?](https://meta.discourse.org/t/how-deeply-can-you-use-plugins-to-add-new-complex-features-to-a-discourse-instance/193889)

<div class="topic-metadata">

**Author:** [@rsmithlal](https://meta.discourse.org/u/rsmithlal)\
**Replies:** 4\
**Last updated:** [June 29, 2021, 6:41pm UTC](https://meta.discourse.org/t/how-deeply-can-you-use-plugins-to-add-new-complex-features-to-a-discourse-instance/193889 "2021-06-29T18:41:16Z")

</div>

Hi folks, I’m new to working with discourse and I’d like to ask some questions about developing extensions for the platform. I am a full stack rails developer working to build a rails engine to add certain reusable feat…

---

## [We created a custom Sprockets directive for the Custom Wizard plugin](https://meta.discourse.org/t/we-created-a-custom-sprockets-directive-for-the-custom-wizard-plugin/189908)

<div class="topic-metadata">

**Author:** [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Replies:** 4\
**Last updated:** [June 29, 2021, 5:45am UTC](https://meta.discourse.org/t/we-created-a-custom-sprockets-directive-for-the-custom-wizard-plugin/189908 "2021-06-29T05:45:41Z")

</div>

The Custom Wizard plugin creates its own Ember app and borrows some of the assets from the discourse core. For that we use a js file called wizard-custom.js with sprockets directives targetting individual files. In som…

---

## [Modifying Variables related to 'New Topic'](https://meta.discourse.org/t/modifying-variables-related-to-new-topic/195289)

<div class="topic-metadata">

**Author:** [@Connor\_Parrish](https://meta.discourse.org/u/Connor_Parrish)\
**Replies:** 0\
**Last updated:** [June 28, 2021, 9:40pm UTC](https://meta.discourse.org/t/modifying-variables-related-to-new-topic/195289 "2021-06-28T21:40:04Z")

</div>

I’m trying to modify the behavior of tag-show.js’s createTopicDisabled. I cannot seem to get this to be overwritten how I’ve seen on here. I’ve tried using api.modifyClass() and api.modifyClassStatic() like this: api.…

---

## [Is it possible to find who Reacted via the API?](https://meta.discourse.org/t/is-it-possible-to-find-who-reacted-via-the-api/272286)

<div class="topic-metadata">

**Author:** [@mcmcclur](https://meta.discourse.org/u/mcmcclur)\
**Replies:** 2\
**Last updated:** [June 28, 2021, 12:28pm UTC](https://meta.discourse.org/t/is-it-possible-to-find-who-reacted-via-the-api/272286 "2021-06-28T12:28:21Z")

</div>

This installed and runs well on my little forum - thanks!! I wonder - is it possible to get information on who reacted and how to a post via the API? For example, we can generate a JSON response detailing who “likes” th…

---

## [Can't load controller in nested path](https://meta.discourse.org/t/cant-load-controller-in-nested-path/195222)

<div class="topic-metadata">

**Author:** [@Programer-D](https://meta.discourse.org/u/Programer-D)\
**Replies:** 0\
**Last updated:** [June 28, 2021, 11:29am UTC](https://meta.discourse.org/t/cant-load-controller-in-nested-path/195222 "2021-06-28T11:29:24Z")

</div>

I want to create a nested page (path) in a plugin that I created myself, and a controller that is restricted to the scope of that particular nested page. I used this page from emberjs as a reference. export default fu…

---

## [How to determine Category posting permissions from plugin templates](https://meta.discourse.org/t/how-to-determine-category-posting-permissions-from-plugin-templates/194956)

<div class="topic-metadata">

**Author:** [@Connor\_Parrish](https://meta.discourse.org/u/Connor_Parrish)\
**Replies:** 3\
**Last updated:** [June 25, 2021, 7:02pm UTC](https://meta.discourse.org/t/how-to-determine-category-posting-permissions-from-plugin-templates/194956 "2021-06-25T19:02:29Z")

</div>

I’m aware you’re able to use topic.details.can\_create\_post to determine if a user can create a reply. It is used in the handlebars templates to determine if the “Reply” button is rendered. I’m trying to determine the ca…

---

## [How to add simple js to theme \</body\>](https://meta.discourse.org/t/how-to-add-simple-js-to-theme-body/194822)

<div class="topic-metadata">

**Author:** [@Thorin](https://meta.discourse.org/u/Thorin)\
**Replies:** 0\
**Last updated:** [June 23, 2021, 6:44pm UTC](https://meta.discourse.org/t/how-to-add-simple-js-to-theme-body/194822 "2021-06-23T18:44:47Z")

</div>

I am trying to add simple javascript to in CSS/HTML edit in Themes. Effectively the ability to click buttons to expand content with addEventListener \<script\> var coll = document.getElementsByClassName("collapsible"); …

---

## [Anyone familiar with the breaking issues from the last version upgrade for plugins? Looking for where to begin bug hunting](https://meta.discourse.org/t/anyone-familiar-with-the-breaking-issues-from-the-last-version-upgrade-for-plugins-looking-for-where-to-begin-bug-hunting/194808)

<div class="topic-metadata">

**Author:** [@Drew-ART](https://meta.discourse.org/u/Drew-ART)\
**Replies:** 0\
**Last updated:** [June 23, 2021, 4:13pm UTC](https://meta.discourse.org/t/anyone-familiar-with-the-breaking-issues-from-the-last-version-upgrade-for-plugins-looking-for-where-to-begin-bug-hunting/194808 "2021-06-23T16:13:00Z")

</div>

One of our community built a very cool plugin which we built our platform around called Docuss. It integrates Discourse into a ReactJS website, unleashing Discourse’s powerful community building and discussion tools onto…

---

## [Search API documentation](https://meta.discourse.org/t/search-api-documentation/142579)

<div class="topic-metadata">

**Author:** [@Radu\_Luncasu](https://meta.discourse.org/u/Radu_Luncasu)\
**Replies:** 2\
**Last updated:** [June 22, 2021, 4:47pm UTC](https://meta.discourse.org/t/search-api-documentation/142579 "2021-06-22T16:47:15Z")

</div>

Hi there, Is there any place where I can find docs on what is supported by the search API ? For now I do know that it supports searching by tag. GET {{base\_url}}/search/query.json?term=tags:tag1,tag2&include\_blurbs=fa…

---

## [Getting "invalid\_access" error when trying to GET/PUT a Topic Category](https://meta.discourse.org/t/getting-invalid-access-error-when-trying-to-get-put-a-topic-category/194608)

<div class="topic-metadata">

**Author:** [@cratag](https://meta.discourse.org/u/cratag)\
**Replies:** 0\
**Last updated:** [June 21, 2021, 9:08pm UTC](https://meta.discourse.org/t/getting-invalid-access-error-when-trying-to-get-put-a-topic-category/194608 "2021-06-21T21:08:48Z")

</div>

Hello, I have a rails app which doesnt allow my Admin User with the configured API key to GET/PUT category in a topic. When making the API key, I added it for “All Users”. Anyway, the topic I’m trying to work with was m…

---

## [How to use variables/bbcode in a post?](https://meta.discourse.org/t/how-to-use-variables-bbcode-in-a-post/194226)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 1:01pm UTC](https://meta.discourse.org/t/how-to-use-variables-bbcode-in-a-post/194226 "2021-06-21T13:01:20Z")

</div>

I’m trying to figure out what would be the best way to write something like this on a post: \[Click here to save your spot\](https://mysite.com/$CURRENT\_USERNAME) Where $CURRENT\_USERNAME would turn into a different value…

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

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