# Development

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

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

**Page:** 21

---

## [How much Ruby / Rails knowledge for Discourse development / recommended reading?](https://meta.discourse.org/t/how-much-ruby-rails-knowledge-for-discourse-development-recommended-reading/326718)

<div class="topic-metadata">

**Author:** [@schneeland](https://meta.discourse.org/u/schneeland)\
**Replies:** 2\
**Last updated:** [September 17, 2024, 3:35pm UTC](https://meta.discourse.org/t/how-much-ruby-rails-knowledge-for-discourse-development-recommended-reading/326718 "2024-09-17T15:35:52Z")

</div>

I’m contemplating diving a bit deeper into Discourse development (both plugins and themes), but it’s been a while since I worked with Ruby and more generally also since I did web development (I still work in software eng…

---

## [Need help with theme component Github](https://meta.discourse.org/t/need-help-with-theme-component-github/326873)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Replies:** 6\
**Last updated:** [September 17, 2024, 3:26pm UTC](https://meta.discourse.org/t/need-help-with-theme-component-github/326873 "2024-09-17T15:26:40Z")

</div>

I apologize as still a complete noob. I am working in creating a theme component I have imported the theme component skeleton. I have created a javascript and added the file to Javascript\\Discourse\\Initializers\\Disco…

---

## [Custom font for single word in a theme](https://meta.discourse.org/t/custom-font-for-single-word-in-a-theme/326527)

<div class="topic-metadata">

**Author:** [@PatrickF](https://meta.discourse.org/u/PatrickF)\
**Replies:** 1\
**Last updated:** [September 14, 2024, 10:04pm UTC](https://meta.discourse.org/t/custom-font-for-single-word-in-a-theme/326527 "2024-09-14T22:04:49Z")

</div>

I am trying to get a single word in a particular font in a component of a theme we use - this is for brand identity purposes. The theme concerned (Sublime Theme) has a component discourse-search-banner. To this theme I…

---

## [Add links to working examples in FormKit docs](https://meta.discourse.org/t/add-links-to-working-examples-in-formkit-docs/326496)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 0\
**Last updated:** [September 14, 2024, 11:32am UTC](https://meta.discourse.org/t/add-links-to-working-examples-in-formkit-docs/326496 "2024-09-14T11:32:57Z")

</div>

Not sure where to put this… Continuing the discussion from Discourse toolkit to render forms (FormKit): I can’t figure out how to do that on my phone, so I’m commenting here. I find this a great platform for having di…

---

## [Support for BlockedSerializationError when I add a field named type\_tag to the tags table](https://meta.discourse.org/t/support-for-blockedserializationerror-when-i-add-a-field-named-type-tag-to-the-tags-table/326323)

<div class="topic-metadata">

**Author:** [@tudinhtu98](https://meta.discourse.org/u/tudinhtu98)\
**Replies:** 0\
**Last updated:** [September 13, 2024, 8:25am UTC](https://meta.discourse.org/t/support-for-blockedserializationerror-when-i-add-a-field-named-type-tag-to-the-tags-table/326323 "2024-09-13T08:25:47Z")

</div>

I am using Discourse version 3.4.0.beta2-dev. After adding a field named type\_tag to the tags table, I encountered the error: ActiveRecordSerializationSafety::BlockedSerializationError in ListController#latest Serial…

---

## [Fabricators generating duplicate names because of aging local test database](https://meta.discourse.org/t/fabricators-generating-duplicate-names-because-of-aging-local-test-database/326197)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 5\
**Last updated:** [September 12, 2024, 2:45pm UTC](https://meta.discourse.org/t/fabricators-generating-duplicate-names-because-of-aging-local-test-database/326197 "2024-09-12T14:45:34Z")

</div>

I just had a bunch of tests fail with errors like this: ActiveRecord::RecordInvalid: Validati…

---

## [Failed to add new js package](https://meta.discourse.org/t/failed-to-add-new-js-package/326087)

<div class="topic-metadata">

**Author:** [@Ezequiel\_Salas](https://meta.discourse.org/u/Ezequiel_Salas)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 9:41pm UTC](https://meta.discourse.org/t/failed-to-add-new-js-package/326087 "2024-09-11T21:41:17Z")

</div>

Hello! Hope you guys are doing great. I am trying to add a dependency to this new Discourse based project I am working on Project I want to use this plugin under the app/assets/javascript/discourse workspace I execute…

---

## [Plugin to validate a text type custom field value](https://meta.discourse.org/t/plugin-to-validate-a-text-type-custom-field-value/325534)

<div class="topic-metadata">

**Author:** [@omegerard](https://meta.discourse.org/u/omegerard)\
**Replies:** 1\
**Last updated:** [September 9, 2024, 7:40pm UTC](https://meta.discourse.org/t/plugin-to-validate-a-text-type-custom-field-value/325534 "2024-09-09T19:40:17Z")

</div>

I have a custom user field to hold the projectid of the project the user is a member of. Purpose: a user that enters a valid (paying) projectid has access to rich content categories. Checking whether the projectid ente…

---

## [Is it possible to increase the size of a group flair?](https://meta.discourse.org/t/is-it-possible-to-increase-the-size-of-a-group-flair/322261)

<div class="topic-metadata">

**Author:** [@STORMS](https://meta.discourse.org/u/STORMS)\
**Replies:** 15\
**Last updated:** [September 8, 2024, 9:13pm UTC](https://meta.discourse.org/t/is-it-possible-to-increase-the-size-of-a-group-flair/322261 "2024-09-08T21:13:31Z")

</div>

Is there an easy way to increase the size of the flair that goes by your name when attached to certain groups? .

---

## [Upcoming Header Changes - Preparing Themes and Plugins](https://meta.discourse.org/t/upcoming-header-changes-preparing-themes-and-plugins/296544)

<div class="topic-metadata">

**Author:** [@isaac](https://meta.discourse.org/u/isaac)\
**Replies:** 36\
**Last updated:** [September 8, 2024, 8:21pm UTC](https://meta.discourse.org/t/upcoming-header-changes-preparing-themes-and-plugins/296544 "2024-09-08T20:21:01Z")

</div>

We’ve recently been working on updating Discourse’s header from the legacy ‘widget’ rendering system to modern Glimmer components. This change is now available in Discourse core behind the glimmer header mode site settin…

---

## ["Hot" filter returns strange list of topics on my component](https://meta.discourse.org/t/hot-filter-returns-strange-list-of-topics-on-my-component/325407)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 2\
**Last updated:** [September 7, 2024, 8:03am UTC](https://meta.discourse.org/t/hot-filter-returns-strange-list-of-topics-on-my-component/325407 "2024-09-07T08:03:43Z")

</div>

I’m using Featured Lists to showcase selected lists of topics. I can use list filters like “latest”, “top” or “unread” without issues. But when I try to filter for “hot”, I get a strange selection: The selection does…

---

## [Keeping Discourse on an open-source key-value storage system](https://meta.discourse.org/t/keeping-discourse-on-an-open-source-key-value-storage-system/303669)

<div class="topic-metadata">

**Author:** [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Replies:** 4\
**Last updated:** [September 7, 2024, 2:22am UTC](https://meta.discourse.org/t/keeping-discourse-on-an-open-source-key-value-storage-system/303669 "2024-09-07T02:22:30Z")

</div>

Now that Redis Labs has decided to make Redis no longer open source, are there any plans yet for moving to one of the open source forks, such as Valkey or Redict, for what key-value store is officially supported, for wha…

---

## [Basic JS Frontend - Embedded Script and On Page Change](https://meta.discourse.org/t/basic-js-frontend-embedded-script-and-on-page-change/325359)

<div class="topic-metadata">

**Author:** [@federatedRoss](https://meta.discourse.org/u/federatedRoss)\
**Replies:** 1\
**Last updated:** [September 6, 2024, 6:32pm UTC](https://meta.discourse.org/t/basic-js-frontend-embedded-script-and-on-page-change/325359 "2024-09-06T18:32:40Z")

</div>

I am just trying to fire some functions to update and load an ad via JS on page load, and the event that I found here on the forum doesnt seem to fire at all: \<script type="text/discourse-plugin" version="0.8.16"\> a…

---

## [Update notice for "PNPM"](https://meta.discourse.org/t/update-notice-for-pnpm/325205)

<div class="topic-metadata">

**Author:** [@Architect](https://meta.discourse.org/u/Architect)\
**Replies:** 4\
**Last updated:** [September 6, 2024, 12:30am UTC](https://meta.discourse.org/t/update-notice-for-pnpm/325205 "2024-09-06T00:30:14Z")

</div>

Good day, Noticed this alert in update recently: Haven’t seen anything like this before not sure what this is for? Tried running command “Pnpm add -g pnpm” but that wasn’t recognized as a command. Looked up refere…

---

## [Executing Javascript in the custom HTML sidebar block](https://meta.discourse.org/t/executing-javascript-in-the-custom-html-sidebar-block/325124)

<div class="topic-metadata">

**Author:** [@federatedRoss](https://meta.discourse.org/u/federatedRoss)\
**Replies:** 1\
**Last updated:** [September 5, 2024, 8:10pm UTC](https://meta.discourse.org/t/executing-javascript-in-the-custom-html-sidebar-block/325124 "2024-09-05T20:10:55Z")

</div>

I am using a custom-html block with content: \<div id="server-01-box"\>\</div\> \<script\> fetch('//example.com/wp-admin/admin-ajax.php?action=aa-server-select&p=server-01') .then(function (response) { …

---

## [CSP error when adding a script via a theme component](https://meta.discourse.org/t/csp-error-when-adding-a-script-via-a-theme-component/324482)

<div class="topic-metadata">

**Author:** [@devops1](https://meta.discourse.org/u/devops1)\
**Replies:** 8\
**Last updated:** [September 5, 2024, 4:55pm UTC](https://meta.discourse.org/t/csp-error-when-adding-a-script-via-a-theme-component/324482 "2024-09-05T16:55:44Z")

</div>

Issue with Strict Dynamic and CSP on Atlassian Widget I am encountering an issue with Content Security Policy (CSP) after updating to v3.3.0.beta1. Specifically, I’m trying to embed an Atlassian widget in the header of m…

---

## [Having some issues with inserting iframes using Discourse's Ember API](https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572)

<div class="topic-metadata">

**Author:** [@Drew-ART](https://meta.discourse.org/u/Drew-ART)\
**Replies:** 8\
**Last updated:** [September 5, 2024, 1:23pm UTC](https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572 "2024-09-05T13:23:12Z")

</div>

The plugin puts an i-frame into Discourse and you can find it here I keep it more or less updated to the latest version so the breaking change came recently. We’re currently running 3.3.0.beta1-dev. In console i get 3 …

---

## [Showing parent category label and sub-category label](https://meta.discourse.org/t/showing-parent-category-label-and-sub-category-label/41746)

<div class="topic-metadata">

**Author:** [@tomwrench](https://meta.discourse.org/u/tomwrench)\
**Replies:** 5\
**Last updated:** [September 5, 2024, 9:35am UTC](https://meta.discourse.org/t/showing-parent-category-label-and-sub-category-label/41746 "2024-09-05T09:35:41Z")

</div>

On the ‘latest’ page, if there is a topic in a subcategory it only displays the label of the subcategory it’s in. Is there a way to show both the parent category and subcategory labels in this instance, as I may have mu…

---

## [How to show Category Hierarchy in Topic-List with CSS](https://meta.discourse.org/t/how-to-show-category-hierarchy-in-topic-list-with-css/325060)

<div class="topic-metadata">

**Author:** [@elRicharde](https://meta.discourse.org/u/elRicharde)\
**Replies:** 2\
**Last updated:** [September 5, 2024, 9:05am UTC](https://meta.discourse.org/t/how-to-show-category-hierarchy-in-topic-list-with-css/325060 "2024-09-05T09:05:07Z")

</div>

Hi Everyone and thanks for your time to read. I´ve searched the forum for hours and tried a bit with chat gpt and a testforum but i need some help here. In our ngo we want to rearange our categorys so that each departme…

---

## [Please eval short Ruby script to suspend inactive users](https://meta.discourse.org/t/please-eval-short-ruby-script-to-suspend-inactive-users/324795)

<div class="topic-metadata">

**Author:** [@TonyG](https://meta.discourse.org/u/TonyG)\
**Replies:** 3\
**Last updated:** [September 4, 2024, 8:30pm UTC](https://meta.discourse.org/t/please-eval-short-ruby-script-to-suspend-inactive-users/324795 "2024-09-04T20:30:40Z")

</div>

This is my first custom Ruby script ever. :slight\_smile: In almost 50 years of coding with over 20 languages and dialects, I’ve never needed (or wanted :face\_with\_open\_eyes\_and\_hand\_over\_mouth:) to write in Ruby, but OK,…

---

## [Getting Markdown for a post using API](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716)

<div class="topic-metadata">

**Author:** [@mcmcclur](https://meta.discourse.org/u/mcmcclur)\
**Replies:** 5\
**Last updated:** [September 3, 2024, 11:48pm UTC](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716 "2024-09-03T23:48:42Z")

</div>

It’s easy to get all kinds of information about a post on a Discourse instance using the Discourse API. We can even get the entire text of a post as HTML in it’s “cooked” form. Is it possible, though, to get the original…

---

## [Any advice on how to find experienced Discourse developers?](https://meta.discourse.org/t/any-advice-on-how-to-find-experienced-discourse-developers/324146)

<div class="topic-metadata">

**Author:** [@Andrew\_Kirkcaldy](https://meta.discourse.org/u/Andrew_Kirkcaldy)\
**Replies:** 9\
**Last updated:** [September 2, 2024, 3:25pm UTC](https://meta.discourse.org/t/any-advice-on-how-to-find-experienced-discourse-developers/324146 "2024-09-02T15:25:51Z")

</div>

We looking for developers who have customised Discourse extensively. Does anyone have recommendations as to where I would find them and/or are there any developers here? Many thanks

---

## [Separating Pinned Topics](https://meta.discourse.org/t/separating-pinned-topics/322567)

<div class="topic-metadata">

**Author:** [@Terise](https://meta.discourse.org/u/Terise)\
**Replies:** 6\
**Last updated:** [September 1, 2024, 8:12pm UTC](https://meta.discourse.org/t/separating-pinned-topics/322567 "2024-09-01T20:12:16Z")

</div>

Hello! I’m not exactly sure how to go about doing this and was looking for a bit of assistance. Basically, I’d like to have visual separation between the pinned topics and regular topics. This would be for a game studi…

---

## [How to render the reviews for common user](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004)

<div class="topic-metadata">

**Author:** [@Harshit\_Dave](https://meta.discourse.org/u/Harshit_Dave)\
**Replies:** 9\
**Last updated:** [August 30, 2024, 3:21pm UTC](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004 "2024-08-30T15:21:26Z")

</div>

Hello, Can anyone help me figure out how can I display review to common user too! I am working on customization in plugin, Basically, I want to display the review link in sidebar for the common user as well as admins/…

---

## [Replacing avatar & username for a specific post](https://meta.discourse.org/t/replacing-avatar-username-for-a-specific-post/253389)

<div class="topic-metadata">

**Author:** [@unfairest](https://meta.discourse.org/u/unfairest)\
**Replies:** 9\
**Last updated:** [August 29, 2024, 11:34pm UTC](https://meta.discourse.org/t/replacing-avatar-username-for-a-specific-post/253389 "2024-08-29T23:34:50Z")

</div>

The problem: I want users to be able to post as RPG characters. I would like for them to be able to insert a template into a post - something like the below: \[wrap="characterpost"\] \[characterav\]https://image.link.exampl…

---

## [Is there a way to change images/icons with CSS?](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692)

<div class="topic-metadata">

**Author:** [@CaptainJ](https://meta.discourse.org/u/CaptainJ)\
**Replies:** 4\
**Last updated:** [August 29, 2024, 11:54am UTC](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692 "2024-08-29T11:54:26Z")

</div>

I’m trying to dramatically simplify the header menu. I haven’t found any solutions from others so my plan is to add the few links we actually need to keep to the sidebar and then let the header menu just show the main no…

---

## [CSS function? To style several dif elements](https://meta.discourse.org/t/css-function-to-style-several-dif-elements/323779)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 2:28pm UTC](https://meta.discourse.org/t/css-function-to-style-several-dif-elements/323779 "2024-08-28T14:28:22Z")

</div>

I am looking to see if there is a way to create a function with a set of styling that can be used in over and over again within a theme component. In this case a generic bbcode wrap. Is there a way to use &\[data\] that …

---

## [How to upload image using Discourse API](https://meta.discourse.org/t/how-to-upload-image-using-discourse-api/148869)

<div class="topic-metadata">

**Author:** [@Saurabh\_Khandelwal](https://meta.discourse.org/u/Saurabh_Khandelwal)\
**Replies:** 5\
**Last updated:** [August 28, 2024, 11:47am UTC](https://meta.discourse.org/t/how-to-upload-image-using-discourse-api/148869 "2024-08-28T11:47:26Z")

</div>

Hello All, I’m trying to upload image using below discourse api through JAVA code: https://discourse.example.com/uploads.json by passing json in Body: { “type” : “avatar”, “user\_id”: 1, “synchronous”: true, “file…

---

## [Client Side Route](https://meta.discourse.org/t/client-side-route/323590)

<div class="topic-metadata">

**Author:** [@Harshit\_Dave](https://meta.discourse.org/u/Harshit_Dave)\
**Replies:** 3\
**Last updated:** [August 28, 2024, 9:42am UTC](https://meta.discourse.org/t/client-side-route/323590 "2024-08-28T09:42:04Z")

</div>

Hello, Can someone guide me how can I create a route on client side? Thanks!

---

## [Bbcode Infoboxes](https://meta.discourse.org/t/bbcode-infoboxes/323332)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Replies:** 7\
**Last updated:** [August 27, 2024, 9:30am UTC](https://meta.discourse.org/t/bbcode-infoboxes/323332 "2024-08-27T09:30:40Z")

</div>

Dress up your posts with Infoboxes! From this discussion Simple pure CSS solution to add bling to topic contents. Create a Customization \> Theme component and add this to “CSS Common”. First draft fully usable. Curr…

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

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