# Development

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

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

**Page:** 82

---

## [Feasibility Check - modding or replacing the file upload feature in the composer](https://meta.discourse.org/t/feasibility-check-modding-or-replacing-the-file-upload-feature-in-the-composer/177183)

<div class="topic-metadata">

**Author:** [@\_Injektilo](https://meta.discourse.org/u/_Injektilo)\
**Replies:** 1\
**Last updated:** [January 25, 2021, 5:05pm UTC](https://meta.discourse.org/t/feasibility-check-modding-or-replacing-the-file-upload-feature-in-the-composer/177183 "2021-01-25T17:05:08Z")

</div>

Hi all. I am in the process of deploying Discourse for use by a small community of users with quite stringent security requirements. We want to lock down the security on the forum so that each category can only be seen …

---

## [Syntax highlighting for IDL](https://meta.discourse.org/t/syntax-highlighting-for-idl/176988)

<div class="topic-metadata">

**Author:** [@Wall-E](https://meta.discourse.org/u/Wall-E)\
**Replies:** 2\
**Last updated:** [January 22, 2021, 10:06pm UTC](https://meta.discourse.org/t/syntax-highlighting-for-idl/176988 "2021-01-22T22:06:57Z")

</div>

I am hoping to have syntax highlighting for the Interactive Data Language (IDL) in our self-hosted Discourse instance. It does not seem to be among the supported languages. It is indeed rather a niche but most of our us…

---

## [Change columns on Users Page](https://meta.discourse.org/t/change-columns-on-users-page/176943)

<div class="topic-metadata">

**Author:** [@kejsaren](https://meta.discourse.org/u/kejsaren)\
**Replies:** 1\
**Last updated:** [January 22, 2021, 2:37pm UTC](https://meta.discourse.org/t/change-columns-on-users-page/176943 "2021-01-22T14:37:10Z")

</div>

Hi is it possible to remove (and/or add) columns on the users page? Like removing the column “Showed topics” for example

---

## [The Custom CSS cannot override on Topic List Previews Plugin](https://meta.discourse.org/t/the-custom-css-cannot-override-on-topic-list-previews-plugin/176663)

<div class="topic-metadata">

**Author:** [@AmzDis](https://meta.discourse.org/u/AmzDis)\
**Replies:** 5\
**Last updated:** [January 21, 2021, 1:29am UTC](https://meta.discourse.org/t/the-custom-css-cannot-override-on-topic-list-previews-plugin/176663 "2021-01-21T01:29:12Z")

</div>

We like the 'Topic List Previews ’ plugin, but we want to hide the posters, reviews and replies. We add the custom CSS . The title can be hidden, but the posters, reviews and replies cannot be hidden. How the Custom CS…

---

## [Bundle ESM & CommonJS JavaScript into a Theme Component](https://meta.discourse.org/t/bundle-esm-commonjs-javascript-into-a-theme-component/147186)

<div class="topic-metadata">

**Author:** [@balupton](https://meta.discourse.org/u/balupton)\
**Replies:** 0\
**Last updated:** [April 7, 2020, 9:35pm UTC](https://meta.discourse.org/t/bundle-esm-commonjs-javascript-into-a-theme-component/147186 "2020-04-07T21:35:17Z")

</div>

I recently published the theme component: Which does an ESM import of the npm package extract-timestmap, which was scaffolded using boundation which generates a CommonJS edition for Node.js, and a ESM edition for brow…

---

## [How to send custom dimensions to the Google analytics?](https://meta.discourse.org/t/how-to-send-custom-dimensions-to-the-google-analytics/176662)

<div class="topic-metadata">

**Author:** [@Saurabh\_Khandelwal](https://meta.discourse.org/u/Saurabh_Khandelwal)\
**Replies:** 0\
**Last updated:** [January 20, 2021, 7:28am UTC](https://meta.discourse.org/t/how-to-send-custom-dimensions-to-the-google-analytics/176662 "2021-01-20T07:28:08Z")

</div>

Hi All, As I know we can set-up Google Analytics by configuring gtm and ga universal tracking code from the Admin → Settings. But what if I want to send the current Topic tags to Google Analytics as custom dimensions. L…

---

## [API for not so techie](https://meta.discourse.org/t/api-for-not-so-techie/176669)

<div class="topic-metadata">

**Author:** [@kejsaren](https://meta.discourse.org/u/kejsaren)\
**Replies:** 2\
**Last updated:** [January 20, 2021, 12:24pm UTC](https://meta.discourse.org/t/api-for-not-so-techie/176669 "2021-01-20T12:24:00Z")

</div>

Hi I am not a developer, so it is a bit difficult for me to tell what can actually be done using the API from reading the docs, but as far as I understand it is possible to pull all kinds of data regarding a) forum post…

---

## [Database full text search capabilities/limits?](https://meta.discourse.org/t/database-full-text-search-capabilities-limits/176590)

<div class="topic-metadata">

**Author:** [@Sailsman63](https://meta.discourse.org/u/Sailsman63)\
**Replies:** 2\
**Last updated:** [January 20, 2021, 3:15am UTC](https://meta.discourse.org/t/database-full-text-search-capabilities-limits/176590 "2021-01-20T03:15:03Z")

</div>

Continuing the discussion from Search results should prioritize first post in topic when title matches search term: This is way OT for the original discussion, but I’m not sure whether to be merely surprised, or full-on…

---

## [Best way to enforce permissions--controller or constraint?](https://meta.discourse.org/t/best-way-to-enforce-permissions-controller-or-constraint/176113)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 5\
**Last updated:** [January 19, 2021, 9:11pm UTC](https://meta.discourse.org/t/best-way-to-enforce-permissions-controller-or-constraint/176113 "2021-01-19T21:11:38Z")

</div>

I have a plugin that adds a model, server, which has a user\_id field. I want only the owner of the server to be able to make a POST (or maybe it should be a PUT?–the action will do a command-line rebuild of a Discourse i…

---

## [Can I: select tag / reply through Discourse API?](https://meta.discourse.org/t/can-i-select-tag-reply-through-discourse-api/176587)

<div class="topic-metadata">

**Author:** [@Flashio](https://meta.discourse.org/u/Flashio)\
**Replies:** 1\
**Last updated:** [January 19, 2021, 8:47pm UTC](https://meta.discourse.org/t/can-i-select-tag-reply-through-discourse-api/176587 "2021-01-19T20:47:52Z")

</div>

I did not find those things in the documentation, but can I: Select a topic-tag using Discourse API when asking API to create a new topic? Reply to the created topic using Discourse API? Thank you.

---

## [Clear Onebox Cache](https://meta.discourse.org/t/clear-onebox-cache/40080)

<div class="topic-metadata">

**Author:** [@fefrei](https://meta.discourse.org/u/fefrei)\
**Replies:** 6\
**Last updated:** [January 18, 2021, 6:32pm UTC](https://meta.discourse.org/t/clear-onebox-cache/40080 "2021-01-18T18:32:03Z")

</div>

I’m developing a small Onebox plugin and testing it in my production install. It appears that Discourse is caching the Oneboxes: When I paste a link I once saw oneboxed into a new post, the preview is still looking as i…

---

## [How to get number of posts in a large number of topics?](https://meta.discourse.org/t/how-to-get-number-of-posts-in-a-large-number-of-topics/176293)

<div class="topic-metadata">

**Author:** [@swamidass](https://meta.discourse.org/u/swamidass)\
**Replies:** 1\
**Last updated:** [January 17, 2021, 2:11am UTC](https://meta.discourse.org/t/how-to-get-number-of-posts-in-a-large-number-of-topics/176293 "2021-01-17T02:11:29Z")

</div>

From the API, what is the best way to get the number of posts in a large number (a couple hundred) of specific topics? Of course, we could make repeated calls to the API for each post, but that will be slow and run up …

---

## [V2.5.6 released after v2.6.0?](https://meta.discourse.org/t/v2-5-6-released-after-v2-6-0/176211)

<div class="topic-metadata">

**Author:** [@core](https://meta.discourse.org/u/core)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 3:47pm UTC](https://meta.discourse.org/t/v2-5-6-released-after-v2-6-0/176211 "2021-01-15T15:47:52Z")

</div>

I am really confused about the releases of discourse. Last time I was upgrading my forum, I was deploying v.2.5.6 when v.2.6.0 was already out. This was due to me looking for the releases tab of github: Questions: H…

---

## [Acceptance Test for Markdown Extension?](https://meta.discourse.org/t/acceptance-test-for-markdown-extension/175413)

<div class="topic-metadata">

**Author:** [@Alteras](https://meta.discourse.org/u/Alteras)\
**Replies:** 2\
**Last updated:** [January 10, 2021, 11:26am UTC](https://meta.discourse.org/t/acceptance-test-for-markdown-extension/175413 "2021-01-10T11:26:16Z")

</div>

Hello! I’m currently working on a Markdown Extension/plugin that adds quite a number of BBCode tags, and I am looking to write QUnit Acceptance tests for them (I got really tired of constantly checking them manually, an…

---

## [Suspend API Not Working](https://meta.discourse.org/t/suspend-api-not-working/72375)

<div class="topic-metadata">

**Author:** [@Geoffrey\_Challen](https://meta.discourse.org/u/Geoffrey_Challen)\
**Replies:** 11\
**Last updated:** [June 22, 2018, 5:53pm UTC](https://meta.discourse.org/t/suspend-api-not-working/72375 "2018-06-22T17:53:31Z")

</div>

This is related to API not returning suspended fields properly - #6 by eviltrout. Tagging @eviltrout since they seem to own this codebase. Now it seems the issue is that the suspend API is not working properly. Here’s t…

---

## [Topic entrance like plugin for tags](https://meta.discourse.org/t/topic-entrance-like-plugin-for-tags/173070)

<div class="topic-metadata">

**Author:** [@Eiji](https://meta.discourse.org/u/Eiji)\
**Replies:** 3\
**Last updated:** [January 6, 2021, 3:29pm UTC](https://meta.discourse.org/t/topic-entrance-like-plugin-for-tags/173070 "2021-01-06T15:29:08Z")

</div>

Hi, I’m working on my first Discourse plugin. The idea We want to alter the tag links behaviour slightly, where, when a tag is clicked anywhere in Discourse, instead of going directly to it, it shows two options; the no…

---

## [Understanding specs and fixtures](https://meta.discourse.org/t/understanding-specs-and-fixtures/175189)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 0\
**Last updated:** [January 5, 2021, 6:14pm UTC](https://meta.discourse.org/t/understanding-specs-and-fixtures/175189 "2021-01-05T18:14:06Z")

</div>

I’ve got a plugin that needs to seed some groups. Following, Add new webhooks and customize webhook payload , in plugin.rb I have SeedFu.fixture\_paths \<\< Rails.root.join("plugins", "discourse-pfaffmanager", "db", "fi…

---

## [Mobile Brand Header button background colour not right?](https://meta.discourse.org/t/mobile-brand-header-button-background-colour-not-right/312668)

<div class="topic-metadata">

**Author:** [@soraiden](https://meta.discourse.org/u/soraiden)\
**Replies:** 4\
**Last updated:** [January 3, 2021, 3:06am UTC](https://meta.discourse.org/t/mobile-brand-header-button-background-colour-not-right/312668 "2021-01-03T03:06:33Z")

</div>

My desktop version still looks stellar, but my mobile version has recently started displaying in this way. I know this was in the works for a future update, so it’s probably intentional. Is there a way to set my deskto…

---

## [How to upload a file via API and get it's URL?](https://meta.discourse.org/t/how-to-upload-a-file-via-api-and-get-its-url/123732)

<div class="topic-metadata">

**Author:** [@darkster](https://meta.discourse.org/u/darkster)\
**Replies:** 2\
**Last updated:** [January 1, 2021, 5:33pm UTC](https://meta.discourse.org/t/how-to-upload-a-file-via-api-and-get-its-url/123732 "2021-01-01T17:33:42Z")

</div>

Hello, I want to upload a file(not an image) via the API and get the URL back. How can I accomplish this? I tried the solution provided here: https://meta.discourse.org/t/using-the-discourse-api-to-post-with-uploaded-fi…

---

## [Discourse server performance or load testing](https://meta.discourse.org/t/discourse-server-performance-or-load-testing/174666)

<div class="topic-metadata">

**Author:** [@Abdul\_Latheef\_PT](https://meta.discourse.org/u/Abdul_Latheef_PT)\
**Replies:** 0\
**Last updated:** [December 31, 2020, 7:13am UTC](https://meta.discourse.org/t/discourse-server-performance-or-load-testing/174666 "2020-12-31T07:13:43Z")

</div>

Hi all, I want to know the best way people are doing for load testing the discourse API server. I started using Jmeter and currently working on it. But still if there is a best approach or already existing mechanism wil…

---

## [Why Discouse was written in Ruby and not Python?](https://meta.discourse.org/t/why-discouse-was-written-in-ruby-and-not-python/174649)

<div class="topic-metadata">

**Author:** [@ar\_et](https://meta.discourse.org/u/ar_et)\
**Replies:** 1\
**Last updated:** [December 30, 2020, 10:33pm UTC](https://meta.discourse.org/t/why-discouse-was-written-in-ruby-and-not-python/174649 "2020-12-30T22:33:42Z")

</div>

I am just curious to know as to Why Discouse was written in Ruby and not Python? Thank you in advance

---

## [Cannot access backup of dev version](https://meta.discourse.org/t/cannot-access-backup-of-dev-version/174615)

<div class="topic-metadata">

**Author:** [@epsteindidnt](https://meta.discourse.org/u/epsteindidnt)\
**Replies:** 1\
**Last updated:** [December 30, 2020, 3:54pm UTC](https://meta.discourse.org/t/cannot-access-backup-of-dev-version/174615 "2020-12-30T15:54:48Z")

</div>

Hi, I have set up a dev version and imported a FluxBB forum into it. I made a backup of the dev version from within my admin account (seems straightforward) and now I understand I need to take that backup and import it…

---

## [Is there any way to listen User login event using Theme component](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976)

<div class="topic-metadata">

**Author:** [@Saurabh\_Khandelwal](https://meta.discourse.org/u/Saurabh_Khandelwal)\
**Replies:** 15\
**Last updated:** [December 30, 2020, 8:41am UTC](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976 "2020-12-30T08:41:18Z")

</div>

Hi All, I want to display the Popup box using the Theme component when the User login first time. 1. I have tried to override the login action of the login controller using Theme component to display the Popup box whil…

---

## [Would Discourse meet all of these niche needs to be a video game community forum?](https://meta.discourse.org/t/would-discourse-meet-all-of-these-niche-needs-to-be-a-video-game-community-forum/174315)

<div class="topic-metadata">

**Author:** [@simbleau](https://meta.discourse.org/u/simbleau)\
**Replies:** 5\
**Last updated:** [December 28, 2020, 4:26pm UTC](https://meta.discourse.org/t/would-discourse-meet-all-of-these-niche-needs-to-be-a-video-game-community-forum/174315 "2020-12-28T16:26:47Z")

</div>

Hello Discourse community, I have a startup video game that I plan on dedicating a forum for. My ambitions may be a little out-there, though, so I wanted to know from someone a bit more experienced in this platform if I…

---

## [Is it possible to change via CSS the Category Moderator shield?](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055)

<div class="topic-metadata">

**Author:** [@ckshen](https://meta.discourse.org/u/ckshen)\
**Replies:** 3\
**Last updated:** [December 27, 2020, 7:32pm UTC](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055 "2020-12-27T19:32:42Z")

</div>

Is it possible to change via CSS the shield of category moderators to something else so we can differentiate category moderators from moderators? Or phrased differently, am I able to target the .svg-icon (which is now a…

---

## [Get the latest posts in a topic via API](https://meta.discourse.org/t/get-the-latest-posts-in-a-topic-via-api/174253)

<div class="topic-metadata">

**Author:** [@ShravanSunder](https://meta.discourse.org/u/ShravanSunder)\
**Replies:** 0\
**Last updated:** [December 25, 2020, 12:03pm UTC](https://meta.discourse.org/t/get-the-latest-posts-in-a-topic-via-api/174253 "2020-12-25T12:03:20Z")

</div>

Is there a way to do this?I checked the docs and did not find a way to do this within a topic. I want to get the latest 10 posts in a topic? In the same vein is there a way to get the top 5 post in a topic?

---

## [Install Discourse with plesk on a virtual server](https://meta.discourse.org/t/install-discourse-with-plesk-on-a-virtual-server/173987)

<div class="topic-metadata">

**Author:** [@aaronk](https://meta.discourse.org/u/aaronk)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 7:48am UTC](https://meta.discourse.org/t/install-discourse-with-plesk-on-a-virtual-server/173987 "2020-12-22T07:48:50Z")

</div>

I want install discourse with plesk on a virtual server. I created a subdomain forum.example.com With the docker extension I installed the Image: discourse/base:2.0.20201221-2020 A screenshot of the config in Pl…

---

## [How I can do Cross-category post](https://meta.discourse.org/t/how-i-can-do-cross-category-post/126322)

<div class="topic-metadata">

**Author:** [@AkashSoni](https://meta.discourse.org/u/AkashSoni)\
**Replies:** 6\
**Last updated:** [December 22, 2020, 3:07pm UTC](https://meta.discourse.org/t/how-i-can-do-cross-category-post/126322 "2020-12-22T15:07:18Z")

</div>

Hello All, I would like to discuss a use case here, much appreciate your help My current setup: two categories: Finance Marketing Two types of users : Finance Marketing currently, finance user can start or see …

---

## [404 rendering at custom route without redirection](https://meta.discourse.org/t/404-rendering-at-custom-route-without-redirection/89349)

<div class="topic-metadata">

**Author:** [@arjen](https://meta.discourse.org/u/arjen)\
**Replies:** 5\
**Last updated:** [June 14, 2018, 11:21am UTC](https://meta.discourse.org/t/404-rendering-at-custom-route-without-redirection/89349 "2018-06-14T11:21:35Z")

</div>

Dear Discourse community, I have an issue I’m trying to resolve, but having little problems with it. The behaviour I’m trying to achieve with a custom route, is basically the behaviour you see when linking in a topic t…

---

## [Homepage customization](https://meta.discourse.org/t/homepage-customization/173897)

<div class="topic-metadata">

**Author:** [@Enrico\_Enrico](https://meta.discourse.org/u/Enrico_Enrico)\
**Replies:** 1\
**Last updated:** [December 21, 2020, 11:19am UTC](https://meta.discourse.org/t/homepage-customization/173897 "2020-12-21T11:19:45Z")

</div>

Hello, how can I customize the forum homepage? I’d like to have something similiar to this: https://libstdc.com/

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

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