# Development

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

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

**Page:** 18

---

## [Incorrect user\_field information - API docs](https://meta.discourse.org/t/incorrect-user-field-information-api-docs/161413)

<div class="topic-metadata">

**Author:** [@zsan](https://meta.discourse.org/u/zsan)\
**Replies:** 5\
**Last updated:** [December 5, 2024, 7:32pm UTC](https://meta.discourse.org/t/incorrect-user-field-information-api-docs/161413 "2024-12-05T19:32:34Z")

</div>

create user field I see { "user\_field\[name\]": "string", "user\_field\[description\]": "string", "user\_field\[field\_type": "string", "user\_field\[required\]": true } Are you sure ? I think it should be something lik…

---

## [Get total list of topics and their view counts from Discourse API](https://meta.discourse.org/t/get-total-list-of-topics-and-their-view-counts-from-discourse-api/198596)

<div class="topic-metadata">

**Author:** [@paigen11](https://meta.discourse.org/u/paigen11)\
**Replies:** 4\
**Last updated:** [December 4, 2024, 11:51am UTC](https://meta.discourse.org/t/get-total-list-of-topics-and-their-view-counts-from-discourse-api/198596 "2024-12-04T11:51:09Z")

</div>

Hello there, I’m trying to see if there’s a way to reverse-engineer getting a complete list of topics and views for each of those topics via the Discourse API. Ideally, something as simple as the landing page of a Disc…

---

## [How to customize ChatMessageInfo / chat author CSS (there is no widget?)](https://meta.discourse.org/t/how-to-customize-chatmessageinfo-chat-author-css-there-is-no-widget/335336)

<div class="topic-metadata">

**Author:** [@SkyeDragon](https://meta.discourse.org/u/SkyeDragon)\
**Replies:** 3\
**Last updated:** [December 4, 2024, 1:55am UTC](https://meta.discourse.org/t/how-to-customize-chatmessageinfo-chat-author-css-there-is-no-widget/335336 "2024-12-04T01:55:14Z")

</div>

Earlier today, I made a little plugin which lets me customize the author line of each forum post with some CSS based on some special site-specific logic. Example: function initColorize(api) { api.includePostAttributes…

---

## [Help Needed: Assigning Separate CSS Roots for Light and Dark Modes in Discourse](https://meta.discourse.org/t/help-needed-assigning-separate-css-roots-for-light-and-dark-modes-in-discourse/335070)

<div class="topic-metadata">

**Author:** [@willie](https://meta.discourse.org/u/willie)\
**Replies:** 1\
**Last updated:** [December 3, 2024, 10:55pm UTC](https://meta.discourse.org/t/help-needed-assigning-separate-css-roots-for-light-and-dark-modes-in-discourse/335070 "2024-12-03T22:55:20Z")

</div>

Here’s a professional translation for your message: I am currently using Discourse Color Scheme Toggle. On my localhost, I have both light and dark modes enabled. I’ve already set up a CSS root specifically for my site…

---

## [Header-widget-override component help](https://meta.discourse.org/t/header-widget-override-component-help/336846)

<div class="topic-metadata">

**Author:** [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)\
**Replies:** 1\
**Last updated:** [December 3, 2024, 10:36pm UTC](https://meta.discourse.org/t/header-widget-override-component-help/336846 "2024-12-03T22:36:58Z")

</div>

Hi Guys I’ve been getting the time to update your component notice \[Admin Notice\] One of your themes or plugins needs updating for compatibility with upcoming Discourse core changes. (id:discourse.header-widget-overri…

---

## [Add/Override Schema on a Specific Topic](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530)

<div class="topic-metadata">

**Author:** [@chrismalone](https://meta.discourse.org/u/chrismalone)\
**Replies:** 5\
**Last updated:** [December 3, 2024, 5:41pm UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530 "2024-12-03T17:41:40Z")

</div>

I need to add schema to a specific topic on forum. It’s a directory page that would benefit from schema specifically for the data on the page. Could someone point me in the right direction. All I have really seen is that…

---

## [How to Integrate wsrv.nl which is an image cache & resize service](https://meta.discourse.org/t/how-to-integrate-wsrv-nl-which-is-an-image-cache-resize-service/340034)

<div class="topic-metadata">

**Author:** [@hhf.technology](https://meta.discourse.org/u/hhf.technology)\
**Replies:** 0\
**Last updated:** [December 3, 2024, 8:51am UTC](https://meta.discourse.org/t/how-to-integrate-wsrv-nl-which-is-an-image-cache-resize-service/340034 "2024-12-03T08:51:50Z")

</div>

I want to utilize Introduction | wsrv.nl What is the best approach to do it. Any inputs appreciated.

---

## [Allowing moderators to administrate certain plugins?](https://meta.discourse.org/t/allowing-moderators-to-administrate-certain-plugins/339914)

<div class="topic-metadata">

**Author:** [@willups](https://meta.discourse.org/u/willups)\
**Replies:** 1\
**Last updated:** [December 2, 2024, 9:17pm UTC](https://meta.discourse.org/t/allowing-moderators-to-administrate-certain-plugins/339914 "2024-12-02T21:17:49Z")

</div>

Hey all, Is there a way to let moderators access the admin interface of certain plugins? I have made a plugin that is similar to the data explorer which has an admin interface I would like to let moderators use. Are t…

---

## [Unicode usernames](https://meta.discourse.org/t/unicode-usernames/277878)

<div class="topic-metadata">

**Author:** [@zengyunsi](https://meta.discourse.org/u/zengyunsi)\
**Replies:** 28\
**Last updated:** [November 29, 2024, 5:53pm UTC](https://meta.discourse.org/t/unicode-usernames/277878 "2024-11-29T17:53:11Z")

</div>

Currently discourse unicode usernames does not work with the api Is it possible to fix this bug?

---

## [Can I get findFilteredTopics to get Pms?](https://meta.discourse.org/t/can-i-get-findfilteredtopics-to-get-pms/338863)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [November 29, 2024, 4:28pm UTC](https://meta.discourse.org/t/can-i-get-findfilteredtopics-to-get-pms/338863 "2024-11-29T16:28:15Z")

</div>

I’m interested in doing something like GitHub - nolosb/discourse-featured-lists: A Discourse theme component to feature custom topic lists. · GitHub that makes Pms display on some other pages (like latest). The idea is …

---

## [How to Implement Push Notifications for Our White-Label App (Rebranded)](https://meta.discourse.org/t/how-to-implement-push-notifications-for-our-white-label-app-rebranded/339280)

<div class="topic-metadata">

**Author:** [@Mohsin136](https://meta.discourse.org/u/Mohsin136)\
**Replies:** 2\
**Last updated:** [November 29, 2024, 4:17pm UTC](https://meta.discourse.org/t/how-to-implement-push-notifications-for-our-white-label-app-rebranded/339280 "2024-11-29T16:17:30Z")

</div>

We have customized the Discourse mobile app to function primarily as a webview that loads the URL of our community, with all interactions managed within the webview. Since there are no redirected authentication screens i…

---

## [Discourse markdown plugin error](https://meta.discourse.org/t/discourse-markdown-plugin-error/338340)

<div class="topic-metadata">

**Author:** [@aiong](https://meta.discourse.org/u/aiong)\
**Replies:** 1\
**Last updated:** [November 27, 2024, 8:58pm UTC](https://meta.discourse.org/t/discourse-markdown-plugin-error/338340 "2024-11-27T20:58:31Z")

</div>

Discourse site is chiahpa.be I am using a custom plugin for adding ruby text (small letters above Japanese or Chinese characters), using the GitHub - lostandfound/markdown-it-ruby: Ruby annotation plugin for markdown-it…

---

## [How to hide topics of categories in mobile home page?](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905)

<div class="topic-metadata">

**Author:** [@avndp](https://meta.discourse.org/u/avndp)\
**Replies:** 4\
**Last updated:** [November 27, 2024, 6:20pm UTC](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905 "2024-11-27T18:20:55Z")

</div>

As shown in the snap below, I don’t want to show the latest topics in categories of mobile home page. How can I achieve this? I’ve tried to hide it through CSS, but it is hiding not just in home page, but in other pages…

---

## [How can I change the background of a certain topic?](https://meta.discourse.org/t/how-can-i-change-the-background-of-a-certain-topic/243047)

<div class="topic-metadata">

**Author:** [@Aizada\_M](https://meta.discourse.org/u/Aizada_M)\
**Replies:** 24\
**Last updated:** [July 19, 2023, 9:44am UTC](https://meta.discourse.org/t/how-can-i-change-the-background-of-a-certain-topic/243047 "2023-07-19T09:44:33Z")

</div>

Продолжая обсуждение из темы Background of topic color change: Hello, how can I change the background of a certain topic?

---

## [How to Add a Floating Back Button in Discourse (For Mobile Users)](https://meta.discourse.org/t/how-to-add-a-floating-back-button-in-discourse-for-mobile-users/338623)

<div class="topic-metadata">

**Author:** [@BrianC](https://meta.discourse.org/u/BrianC)\
**Replies:** 7\
**Last updated:** [November 27, 2024, 8:54am UTC](https://meta.discourse.org/t/how-to-add-a-floating-back-button-in-discourse-for-mobile-users/338623 "2024-11-27T08:54:04Z")

</div>

I see there have been topics about having mobile back button navigation for mobile browsers and I didn’t find solution though maybe I missed it :thinking: I’m not a coder and proficient enough with Discourse to dangerou…

---

## [Custom Platform](https://meta.discourse.org/t/custom-platform/336090)

<div class="topic-metadata">

**Author:** [@JstTan](https://meta.discourse.org/u/JstTan)\
**Replies:** 16\
**Last updated:** [November 25, 2024, 6:23pm UTC](https://meta.discourse.org/t/custom-platform/336090 "2024-11-25T18:23:46Z")

</div>

Hello Discourse Community! I’m planning to build a platform on top of a self-hosted Discourse instance that will include various custom features like a search engine, documentary resources, wikis, and more. These featur…

---

## [Get text box data after pressing button in plugin](https://meta.discourse.org/t/get-text-box-data-after-pressing-button-in-plugin/337702)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 2\
**Last updated:** [November 23, 2024, 9:05pm UTC](https://meta.discourse.org/t/get-text-box-data-after-pressing-button-in-plugin/337702 "2024-11-23T21:05:29Z")

</div>

I’m working on my first plugin, and I want to be able to get the text content of a text box in the admin panel (part of the plugin) after pressing a button. Then, I want to do some stuff with the content in Ruby. Is ther…

---

## [Resolving the \`this-property-fallback\` deprecation](https://meta.discourse.org/t/resolving-the-this-property-fallback-deprecation/337276)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**Replies:** 4\
**Last updated:** [November 22, 2024, 7:48pm UTC](https://meta.discourse.org/t/resolving-the-this-property-fallback-deprecation/337276 "2024-11-22T19:48:48Z")

</div>

Background Essentially, if you’re using something like {{foo}} in a handlebars template to reference a property on the controller/component, then it needs to be updated to {{this.foo}}. Upstream information: Property Fa…

---

## [Extending header buttons](https://meta.discourse.org/t/extending-header-buttons/337462)

<div class="topic-metadata">

**Author:** [@LVHN](https://meta.discourse.org/u/LVHN)\
**Replies:** 31\
**Last updated:** [November 22, 2024, 4:22pm UTC](https://meta.discourse.org/t/extending-header-buttons/337462 "2024-11-22T16:22:23Z")

</div>

Hi - we have inherited a Discourse forum which is well established. I would like to modify the functionality of the “create account” header button. I managed to install the Ember Chrome plug-in which I used to inspect t…

---

## [Hyperlink rendering in site text settings](https://meta.discourse.org/t/hyperlink-rendering-in-site-text-settings/337082)

<div class="topic-metadata">

**Author:** [@frye\_bradley](https://meta.discourse.org/u/frye_bradley)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 8:22pm UTC](https://meta.discourse.org/t/hyperlink-rendering-in-site-text-settings/337082 "2024-11-19T20:22:08Z")

</div>

Is it possible to add a hyperlink to the login.suspended\_with\_reason or login.suspended\_with\_reason\_forever site text settings? I’m trying to add mailto hyperlinks in these text settings but they are rendering as expect…

---

## [BBcode \[quote\] tag truncates attributions after the first comma](https://meta.discourse.org/t/bbcode-quote-tag-truncates-attributions-after-the-first-comma/336217)

<div class="topic-metadata">

**Author:** [@avatar](https://meta.discourse.org/u/avatar)\
**Replies:** 3\
**Last updated:** [November 15, 2024, 10:02pm UTC](https://meta.discourse.org/t/bbcode-quote-tag-truncates-attributions-after-the-first-comma/336217 "2024-11-15T22:02:43Z")

</div>

When quoting someone using the BBcode \[quote\] tag with an attribution, and that attribution includes a comma, i.e. \[quote=“foo, bar”\], everything following the comma is truncated, thus: This is, admittedly, a rather od…

---

## [Topic Map: Add additional items](https://meta.discourse.org/t/topic-map-add-additional-items/336365)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**Replies:** 1\
**Last updated:** [November 15, 2024, 4:44pm UTC](https://meta.discourse.org/t/topic-map-add-additional-items/336365 "2024-11-15T16:44:31Z")

</div>

How does one modify the top map to show more information? Is this an admin setting? Plugin? Component? Thanks :awthanks:

---

## [Changing a single instance of an icon](https://meta.discourse.org/t/changing-a-single-instance-of-an-icon/251514)

<div class="topic-metadata">

**Author:** [@unfairest](https://meta.discourse.org/u/unfairest)\
**Replies:** 1\
**Last updated:** [November 15, 2024, 3:23pm UTC](https://meta.discourse.org/t/changing-a-single-instance-of-an-icon/251514 "2024-11-15T15:23:07Z")

</div>

The API for changing icons globally has been wonderful with the small exception that in some spots I want to use a different style/weight (generally due to being bigger or smaller) but I can’t figure out how to select ic…

---

## [How to access about model from a component? (outletArgs to the rescue!)](https://meta.discourse.org/t/how-to-access-about-model-from-a-component-outletargs-to-the-rescue/335967)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 3:54pm UTC](https://meta.discourse.org/t/how-to-access-about-model-from-a-component-outletargs-to-the-rescue/335967 "2024-11-13T15:54:03Z")

</div>

I want to put the old about statistics on the about page. There is a about-wrapper that replaces the entire about page. There is also a an after-moderators outlet. Neither of those works exactly right, but I think I kno…

---

## [Topic Voting Plugin - UndefinedTable Exception](https://meta.discourse.org/t/topic-voting-plugin-undefinedtable-exception/335878)

<div class="topic-metadata">

**Author:** [@SkyeDragon](https://meta.discourse.org/u/SkyeDragon)\
**Replies:** 0\
**Last updated:** [November 13, 2024, 2:24am UTC](https://meta.discourse.org/t/topic-voting-plugin-undefinedtable-exception/335878 "2024-11-13T02:24:11Z")

</div>

Hello, I tried to install the topic voting plugin, but got the following exception upon loading a page: ActiveRecord::StatementInvalid in ListController#latest PG::UndefinedTable: ERROR: relation "topic\_voting\_votes" d…

---

## [Feasibility of allowing a User Api Key client to register a valid auth\_redirect](https://meta.discourse.org/t/feasibility-of-allowing-a-user-api-key-client-to-register-a-valid-auth-redirect/312901)

<div class="topic-metadata">

**Author:** [@angus](https://meta.discourse.org/u/angus)\
**Replies:** 7\
**Last updated:** [November 11, 2024, 8:42pm UTC](https://meta.discourse.org/t/feasibility-of-allowing-a-user-api-key-client-to-register-a-valid-auth-redirect/312901 "2024-11-11T20:42:14Z")

</div>

I’m considering whether it’s feasible to allow user api key clients to register a valid auth\_redirect for the purposes of key creation. Current Functionality Currently user api key redirects have to be registered by the…

---

## [Autocomplete - eslint is flagging use of $](https://meta.discourse.org/t/autocomplete-eslint-is-flagging-use-of/335611)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 2\
**Last updated:** [November 11, 2024, 4:06pm UTC](https://meta.discourse.org/t/autocomplete-eslint-is-flagging-use-of/335611 "2024-11-11T16:06:39Z")

</div>

What’s the recommended approach to implementing Autocomplete if the use of $ and jquery in general is discouraged? I note there is still a lot of apparent reliance on $().autocomplete in the core codebase? But my plugi…

---

## [Using custom authentication](https://meta.discourse.org/t/using-custom-authentication/182536)

<div class="topic-metadata">

**Author:** [@cb-candor](https://meta.discourse.org/u/cb-candor)\
**Replies:** 3\
**Last updated:** [November 11, 2024, 11:33am UTC](https://meta.discourse.org/t/using-custom-authentication/182536 "2024-11-11T11:33:35Z")

</div>

Hey everyone :waving\_hand:, Currently trying to integrate with our own website’s cookie-based authentication. We have a callback URL that we typically pass various parameters to authenticate users - however we’re experi…

---

## [Handlebars template override all in the same html file?](https://meta.discourse.org/t/handlebars-template-override-all-in-the-same-html-file/335359)

<div class="topic-metadata">

**Author:** [@Pieces](https://meta.discourse.org/u/Pieces)\
**Replies:** 4\
**Last updated:** [November 9, 2024, 6:10pm UTC](https://meta.discourse.org/t/handlebars-template-override-all-in-the-same-html-file/335359 "2024-11-09T18:10:32Z")

</div>

Hello, I am following the Beginners Guide to Discourse themes guide (this one: Developing Discourse Themes & Theme Components) but I am getting stuck and have some questions about the Handlebars section. The guide stat…

---

## [Discourse playground/storybook?](https://meta.discourse.org/t/discourse-playground-storybook/335204)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**Replies:** 6\
**Last updated:** [November 8, 2024, 5:45pm UTC](https://meta.discourse.org/t/discourse-playground-storybook/335204 "2024-11-08T17:45:39Z")

</div>

Does discourse offer a boilerplate playground like storybook to test ui changes in one place? Currently, when I update a theme I am having to search across the platform for all use cases such as the new topic btn, creat…

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

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