# Development

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

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

**Page:** 53

---

## [Theme CSS isn't showing for logged out users](https://meta.discourse.org/t/theme-css-isnt-showing-for-logged-out-users/256308)

<div class="topic-metadata">

**Author:** [@Ray\_ACP](https://meta.discourse.org/u/Ray_ACP)\
**Replies:** 11\
**Last updated:** [February 26, 2023, 7:05pm UTC](https://meta.discourse.org/t/theme-css-isnt-showing-for-logged-out-users/256308 "2023-02-26T19:05:49Z")

</div>

Hey there, I’ve created a new component which adds extra css styles to my theme. I’ve applied the component to all themes including the default theme. I’ve noticed when you’re logged out, it doesn’t show all the CSS bu…

---

## [Hide topic timeline](https://meta.discourse.org/t/hide-topic-timeline/254265)

<div class="topic-metadata">

**Author:** [@bquast](https://meta.discourse.org/u/bquast)\
**Replies:** 9\
**Last updated:** [February 26, 2023, 1:29pm UTC](https://meta.discourse.org/t/hide-topic-timeline/254265 "2023-02-26T13:29:45Z")

</div>

Apologies in advance, this feel like a user error, but I did try and search several times before posting. Is there a way to hide the “topic timeline”. I think it is really nice, but I would like to try out a minimized v…

---

## [Line under avatar?](https://meta.discourse.org/t/line-under-avatar/256253)

<div class="topic-metadata">

**Author:** [@paranoya](https://meta.discourse.org/u/paranoya)\
**Replies:** 3\
**Last updated:** [February 25, 2023, 6:38pm UTC](https://meta.discourse.org/t/line-under-avatar/256253 "2023-02-25T18:38:20Z")

</div>

Hi guys, I was wondering if anyone knows how to display a line under the avatar. I saw that on Figma’s forum and I think it look quite dope.

---

## [api.decoratePluginOutlet not firing?](https://meta.discourse.org/t/api-decoratepluginoutlet-not-firing/256204)

<div class="topic-metadata">

**Author:** [@asc](https://meta.discourse.org/u/asc)\
**Replies:** 0\
**Last updated:** [February 24, 2023, 11:06pm UTC](https://meta.discourse.org/t/api-decoratepluginoutlet-not-firing/256204 "2023-02-24T23:06:05Z")

</div>

I have a theme component to not display muted tags and categories in search, but I disabled it and then re-enabled it to test something else, and now it’s not working, including console.log. I can’t get api.decoratePlug…

---

## [performPostAction type IDs](https://meta.discourse.org/t/performpostaction-type-ids/256100)

<div class="topic-metadata">

**Author:** [@BlockchainMan](https://meta.discourse.org/u/BlockchainMan)\
**Replies:** 1\
**Last updated:** [February 23, 2023, 7:29pm UTC](https://meta.discourse.org/t/performpostaction-type-ids/256100 "2023-02-23T19:29:48Z")

</div>

Anyone know where the mappings for post\_action\_type\_id are at? The REST docs don’t enumerate them, I’m wondering whether I’ll have to grep the source code or if there’s another place I might find them.

---

## [A Bot to match random users?](https://meta.discourse.org/t/a-bot-to-match-random-users/181631)

<div class="topic-metadata">

**Author:** [@dinoscool3](https://meta.discourse.org/u/dinoscool3)\
**Replies:** 10\
**Last updated:** [February 21, 2023, 8:21pm UTC](https://meta.discourse.org/t/a-bot-to-match-random-users/181631 "2023-02-21T20:21:14Z")

</div>

Hi all, I hope this is in the right forum! I run a number of community book club forums, and one feature we were thinking of starting was a bot that could connect two random users. The idea came from a bot I came across…

---

## [PostCreator for creating pinned topics](https://meta.discourse.org/t/postcreator-for-creating-pinned-topics/255785)

<div class="topic-metadata">

**Author:** [@yhh9xdq7dc](https://meta.discourse.org/u/yhh9xdq7dc)\
**Replies:** 0\
**Last updated:** [February 21, 2023, 2:52pm UTC](https://meta.discourse.org/t/postcreator-for-creating-pinned-topics/255785 "2023-02-21T14:52:29Z")

</div>

There is a way to create a pinned topic through PostCreator? The only way I’ve found is by putting pinned\_at: Time.current, but I don’t know if it’s the right way to do it. And above all, the topic is pinned but as soon …

---

## [Looking to hide Likes & Decorate Op](https://meta.discourse.org/t/looking-to-hide-likes-decorate-op/255729)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Replies:** 5\
**Last updated:** [February 21, 2023, 4:01pm UTC](https://meta.discourse.org/t/looking-to-hide-likes-decorate-op/255729 "2023-02-21T16:01:42Z")

</div>

Hi I have categories that are visible to public but only certain groups are allowed to post/reply. I am looking for guidance thst if current user is not part of saud groups to hide the Like button in posts. To remove o…

---

## [Discourse acceptance tests not working on local](https://meta.discourse.org/t/discourse-acceptance-tests-not-working-on-local/255657)

<div class="topic-metadata">

**Author:** [@Yogesh\_g](https://meta.discourse.org/u/Yogesh_g)\
**Replies:** 2\
**Last updated:** [February 21, 2023, 2:38pm UTC](https://meta.discourse.org/t/discourse-acceptance-tests-not-working-on-local/255657 "2023-02-21T14:38:58Z")

</div>

I have done some customization to the discourse adplugin. I have also written some unit test codes. But when I navigate to URL - http://localhost:4200/tests/ It shows me a blank page, with some 404 errors. Please …

---

## [Hamburger-categories widget does not mount?](https://meta.discourse.org/t/hamburger-categories-widget-does-not-mount/255683)

<div class="topic-metadata">

**Author:** [@Andrew\_Dickens](https://meta.discourse.org/u/Andrew_Dickens)\
**Replies:** 21\
**Last updated:** [February 21, 2023, 9:54am UTC](https://meta.discourse.org/t/hamburger-categories-widget-does-not-mount/255683 "2023-02-21T09:54:03Z")

</div>

Following the docs here Developing Discourse Themes & Theme Components The example using the log works fine but when I update the widget to {{mount-widget widget="hamburger-categories"}} Nothing comes out… I’ve run th…

---

## [Creating a custom Automation](https://meta.discourse.org/t/creating-a-custom-automation/272895)

<div class="topic-metadata">

**Author:** [@yhh9xdq7dc](https://meta.discourse.org/u/yhh9xdq7dc)\
**Replies:** 11\
**Last updated:** [February 21, 2023, 11:34am UTC](https://meta.discourse.org/t/creating-a-custom-automation/272895 "2023-02-21T11:34:19Z")

</div>

Is it possible to create own scripts without any problem? Just putting it in the folder and with the plugin updates, nothing happens? Or do i have to create a plugin that interfaces with this plugin? For example, I need …

---

## [How to show Full Name in Embeds](https://meta.discourse.org/t/how-to-show-full-name-in-embeds/255329)

<div class="topic-metadata">

**Author:** [@Mark\_Wass](https://meta.discourse.org/u/Mark_Wass)\
**Replies:** 9\
**Last updated:** [February 21, 2023, 11:01am UTC](https://meta.discourse.org/t/how-to-show-full-name-in-embeds/255329 "2023-02-21T11:01:57Z")

</div>

Hi Guys I just read through this post How to display full name in comments embeds I ran these commands. cd /var/discourse ./launcher enter app x86\_64 arch detected. root@discourse-app:/var/www/discourse# cd app/views/…

---

## [What is the best way to modify the new sidebar?](https://meta.discourse.org/t/what-is-the-best-way-to-modify-the-new-sidebar/253308)

<div class="topic-metadata">

**Author:** [@yhh9xdq7dc](https://meta.discourse.org/u/yhh9xdq7dc)\
**Replies:** 5\
**Last updated:** [February 20, 2023, 9:14pm UTC](https://meta.discourse.org/t/what-is-the-best-way-to-modify-the-new-sidebar/253308 "2023-02-20T21:14:51Z")

</div>

Modify the existing one with a plugin? Do it with a theme-component (is it possible?) or maybe directly creating a sidebar from scratch and not activating the Discourse one? Thanks in advance!

---

## [Custom education-message triggered on regex?](https://meta.discourse.org/t/custom-education-message-triggered-on-regex/255654)

<div class="topic-metadata">

**Author:** [@j127](https://meta.discourse.org/u/j127)\
**Replies:** 0\
**Last updated:** [February 20, 2023, 6:31am UTC](https://meta.discourse.org/t/custom-education-message-triggered-on-regex/255654 "2023-02-20T06:31:07Z")

</div>

I’m trying to figure out how to add a custom education message that is triggered on certain regular expressions when people type. I thought I had seen information about how to do it along time ago, but I’ve been searchin…

---

## [How can I automatically embed a Bandcamp player on my site?](https://meta.discourse.org/t/how-can-i-automatically-embed-a-bandcamp-player-on-my-site/255579)

<div class="topic-metadata">

**Author:** [@orbita](https://meta.discourse.org/u/orbita)\
**Replies:** 6\
**Last updated:** [February 19, 2023, 12:53pm UTC](https://meta.discourse.org/t/how-can-i-automatically-embed-a-bandcamp-player-on-my-site/255579 "2023-02-19T12:53:22Z")

</div>

If I post a Bandcamp URL to a discourse forum, it pulls in their Embedded player. How can I achieve this with my own music site? I’ve tried setting og:video tags to no avail. Thanks!

---

## [Reverse engineer the Discourse adplugin](https://meta.discourse.org/t/reverse-engineer-the-discourse-adplugin/255462)

<div class="topic-metadata">

**Author:** [@josephgodwinke](https://meta.discourse.org/u/josephgodwinke)\
**Replies:** 3\
**Last updated:** [February 18, 2023, 10:15am UTC](https://meta.discourse.org/t/reverse-engineer-the-discourse-adplugin/255462 "2023-02-18T10:15:15Z")

</div>

Can I follow the steps here Reverse engineer the Discourse API to consume the adplugin requests to create House Ads GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ad…

---

## [Can't retrieve posts with API](https://meta.discourse.org/t/cant-retrieve-posts-with-api/255455)

<div class="topic-metadata">

**Author:** [@smejak](https://meta.discourse.org/u/smejak)\
**Replies:** 4\
**Last updated:** [February 17, 2023, 11:38am UTC](https://meta.discourse.org/t/cant-retrieve-posts-with-api/255455 "2023-02-17T11:38:08Z")

</div>

I am trying to use the Discourse API to create a list of all posts (first posts only) with a specific tag. So far, I’ve only been able to get the latest posts, which retrieves around 40 posts, including comments. When I …

---

## [How to display full name in comments embeds](https://meta.discourse.org/t/how-to-display-full-name-in-comments-embeds/228020)

<div class="topic-metadata">

**Author:** [@j3ang](https://meta.discourse.org/u/j3ang)\
**Replies:** 4\
**Last updated:** [February 16, 2023, 11:09am UTC](https://meta.discourse.org/t/how-to-display-full-name-in-comments-embeds/228020 "2023-02-16T11:09:31Z")

</div>

In the embedded topics iframe, the user’s username is displayed instead of the full name. I have configured all the admin settings to display full name. but it’s not working? Any sugguestions?

---

## [Approach to embedding excel using javascript](https://meta.discourse.org/t/approach-to-embedding-excel-using-javascript/254913)

<div class="topic-metadata">

**Author:** [@bquast](https://meta.discourse.org/u/bquast)\
**Replies:** 8\
**Last updated:** [February 14, 2023, 10:47pm UTC](https://meta.discourse.org/t/approach-to-embedding-excel-using-javascript/254913 "2023-02-14T22:47:50Z")

</div>

I would like my members to be able to add an embedded Excel spreadsheet to their posts. This can be accomplished with javascript, e.g.: \<div id="myExcelDiv" style="width: 402px; height: 346px"\>\</div\> \<script type="text/…

---

## [Reference for full color customization](https://meta.discourse.org/t/reference-for-full-color-customization/255158)

<div class="topic-metadata">

**Author:** [@mk0r](https://meta.discourse.org/u/mk0r)\
**Replies:** 3\
**Last updated:** [February 14, 2023, 9:59pm UTC](https://meta.discourse.org/t/reference-for-full-color-customization/255158 "2023-02-14T21:59:16Z")

</div>

I would like to create two of my own color schemes where I choose all the color variables (I don’t like the computed/transformed values). Is there a reference for this? The example json file in this post: Only has a …

---

## [Allow API use by regular users, not just admins](https://meta.discourse.org/t/allow-api-use-by-regular-users-not-just-admins/254724)

<div class="topic-metadata">

**Author:** [@jidanni](https://meta.discourse.org/u/jidanni)\
**Replies:** 6\
**Last updated:** [February 14, 2023, 9:16pm UTC](https://meta.discourse.org/t/allow-api-use-by-regular-users-not-just-admins/254724 "2023-02-14T21:16:39Z")

</div>

Reverse engineer the Discourse API says Anything you can do on the site you can also do using the JSON api. Alas, https://docs.discourse.org/ Some endpoints do not require any authentication, pretty much anything e…

---

## [Linking to Custom Scheme](https://meta.discourse.org/t/linking-to-custom-scheme/254729)

<div class="topic-metadata">

**Author:** [@jays10](https://meta.discourse.org/u/jays10)\
**Replies:** 5\
**Last updated:** [February 14, 2023, 6:41pm UTC](https://meta.discourse.org/t/linking-to-custom-scheme/254729 "2023-02-14T18:41:44Z")

</div>

Hello All, We are setting up our new discourse internal environment and I was able to setup a custom URL scheme to link to an internal resource on the network, I wanted to add an easy button when making a new post which…

---

## [How to get top 3 topic which have most active replies in last 30 days](https://meta.discourse.org/t/how-to-get-top-3-topic-which-have-most-active-replies-in-last-30-days/253331)

<div class="topic-metadata">

**Author:** [@ksavani](https://meta.discourse.org/u/ksavani)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 2:36pm UTC](https://meta.discourse.org/t/how-to-get-top-3-topic-which-have-most-active-replies-in-last-30-days/253331 "2023-01-30T14:36:26Z")

</div>

Hello folk, I am working to getting top 3 topics which have most active replies in last 30 days i want to show that topics only and i am customizing in show case category plugin so in js side i have run the below code …

---

## [Is it possible to catch a request from a third-party service in a theme component?](https://meta.discourse.org/t/is-it-possible-to-catch-a-request-from-a-third-party-service-in-a-theme-component/255047)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**Replies:** 3\
**Last updated:** [February 14, 2023, 2:35am UTC](https://meta.discourse.org/t/is-it-possible-to-catch-a-request-from-a-third-party-service-in-a-theme-component/255047 "2023-02-14T02:35:36Z")

</div>

My idea starts from here: Ko-Fi is a donation platform. They have an API that can send HTTP POST requests to a webhook. https://ko-fi.com/manage/webhooks (the page needs to be logged in though it’s just documentation,…

---

## [No specific class for dark mode](https://meta.discourse.org/t/no-specific-class-for-dark-mode/254984)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 4\
**Last updated:** [February 13, 2023, 3:58pm UTC](https://meta.discourse.org/t/no-specific-class-for-dark-mode/254984 "2023-02-13T15:58:23Z")

</div>

Continuing the discussion from How to add a specific body class for the dark (or light) mode?: Is this still the case? I’d like to add specific CSS for an external widget (a leaflet map) when dealing with a dark theme,…

---

## [Decorate a topic in latest on mobile](https://meta.discourse.org/t/decorate-a-topic-in-latest-on-mobile/254534)

<div class="topic-metadata">

**Author:** [@asc](https://meta.discourse.org/u/asc)\
**Replies:** 7\
**Last updated:** [February 10, 2023, 4:03pm UTC](https://meta.discourse.org/t/decorate-a-topic-in-latest-on-mobile/254534 "2023-02-10T16:03:23Z")

</div>

I’m working on a theme component to block posts that contain a keyword contained in a custom user field. I’ve got this working to hide replies as well as topics when listed in latest or top on desktop view, but when vie…

---

## [reopenWidget throws error](https://meta.discourse.org/t/reopenwidget-throws-error/254718)

<div class="topic-metadata">

**Author:** [@asc](https://meta.discourse.org/u/asc)\
**Replies:** 4\
**Last updated:** [February 10, 2023, 3:25pm UTC](https://meta.discourse.org/t/reopenwidget-throws-error/254718 "2023-02-10T15:25:34Z")

</div>

I’m trying to understand reopenWidget() from the Beginner’s Guide to Developing Discourse Themes and when I try to make a theme component with the example home-logo snippet, I get Uncaught (in promise) TypeError: Cannot …

---

## [Possible to detect if user is logged in?](https://meta.discourse.org/t/possible-to-detect-if-user-is-logged-in/254557)

<div class="topic-metadata">

**Author:** [@stromfeldt](https://meta.discourse.org/u/stromfeldt)\
**Replies:** 2\
**Last updated:** [February 10, 2023, 1:20am UTC](https://meta.discourse.org/t/possible-to-detect-if-user-is-logged-in/254557 "2023-02-10T01:20:30Z")

</div>

After searching this didn’t seem possible but I’ll ask anyway. I’m currently finishing off with somebody an integration so that Ghost can be used as the SSO Provider for Discourse, connecting the two membership systems …

---

## [Plugin to help mapping pre-migration threads after migration](https://meta.discourse.org/t/plugin-to-help-mapping-pre-migration-threads-after-migration/254497)

<div class="topic-metadata">

**Author:** [@Crius](https://meta.discourse.org/u/Crius)\
**Replies:** 12\
**Last updated:** [February 9, 2023, 3:54pm UTC](https://meta.discourse.org/t/plugin-to-help-mapping-pre-migration-threads-after-migration/254497 "2023-02-09T15:54:19Z")

</div>

Hello, me and my group of crazy idiots are really close to finally migrate our Vbulletin3 forum into Discourse after having wrote an ad-hoc script that finally manages to migrate all the 21 millions replies from the orig…

---

## [Looking for help collapsing the sidebar for new users](https://meta.discourse.org/t/looking-for-help-collapsing-the-sidebar-for-new-users/254627)

<div class="topic-metadata">

**Author:** [@c12gene](https://meta.discourse.org/u/c12gene)\
**Replies:** 0\
**Last updated:** [February 9, 2023, 3:02pm UTC](https://meta.discourse.org/t/looking-for-help-collapsing-the-sidebar-for-new-users/254627 "2023-02-09T15:02:42Z")

</div>

We’re trying to de-clutter our site and make things as easy as possible for our new subscribers. The new sidebar is great but it adds to the clutter/redundancy on our site. Is there a way to collapse these items as a def…

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

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