# Development

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

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

**Page:** 99

---

## [Make Brand Header social icons visible in dark theme?](https://meta.discourse.org/t/make-brand-header-social-icons-visible-in-dark-theme/312663)

<div class="topic-metadata">

**Author:** [@Anatolia](https://meta.discourse.org/u/Anatolia)\
**Replies:** 4\
**Last updated:** [February 7, 2020, 10:21pm UTC](https://meta.discourse.org/t/make-brand-header-social-icons-visible-in-dark-theme/312663 "2020-02-07T22:21:12Z")

</div>

How can I make these social logos visible in a dark theme? I want them to have %100 opacity with white color.

---

## [What is the name of JS aggregator?](https://meta.discourse.org/t/what-is-the-name-of-js-aggregator/140505)

<div class="topic-metadata">

**Author:** [@sudoman](https://meta.discourse.org/u/sudoman)\
**Replies:** 3\
**Last updated:** [February 7, 2020, 9:46pm UTC](https://meta.discourse.org/t/what-is-the-name-of-js-aggregator/140505 "2020-02-07T21:46:27Z")

</div>

I’m referring to the one that aggregates JS when running ./launcher rebuild app. Thanks : )

---

## [Trouble configuring oauth2 with mastodon](https://meta.discourse.org/t/trouble-configuring-oauth2-with-mastodon/95177)

<div class="topic-metadata">

**Author:** [@amit\_ncert](https://meta.discourse.org/u/amit_ncert)\
**Replies:** 1\
**Last updated:** [February 7, 2020, 4:51pm UTC](https://meta.discourse.org/t/trouble-configuring-oauth2-with-mastodon/95177 "2020-02-07T16:51:39Z")

</div>

I am just trying to integrate my oauth2 provider i.e(mastodon) for login at my discourse because all my user’s reside in mastodon. I installed oauth2 plugin in my discourse and then provide following parameters in it. …

---

## [404 Error returned when using DiscourseAPI Gem to Generate User API Key](https://meta.discourse.org/t/404-error-returned-when-using-discourseapi-gem-to-generate-user-api-key/140892)

<div class="topic-metadata">

**Author:** [@Anthony\_Dirago](https://meta.discourse.org/u/Anthony_Dirago)\
**Replies:** 2\
**Last updated:** [February 7, 2020, 3:30pm UTC](https://meta.discourse.org/t/404-error-returned-when-using-discourseapi-gem-to-generate-user-api-key/140892 "2020-02-07T15:30:14Z")

</div>

Hi there, I’ve been struggling to find a solution to this and I’m hoping someone here has some insight. Recently I joined a new project and took over for an old developer. I’ve recently upgraded the Discourse build to t…

---

## [Adding custom css on particular categories](https://meta.discourse.org/t/adding-custom-css-on-particular-categories/140954)

<div class="topic-metadata">

**Author:** [@williamyun](https://meta.discourse.org/u/williamyun)\
**Replies:** 3\
**Last updated:** [February 7, 2020, 1:52pm UTC](https://meta.discourse.org/t/adding-custom-css-on-particular-categories/140954 "2020-02-07T13:52:13Z")

</div>

Hi all, I would like to add custom css on particular categories. How do I access to particular categories in CSS and customise?

---

## [Is there a theming 'map'? (An easy way to find plugin-outlets etc)](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Replies:** 11\
**Last updated:** [February 7, 2020, 8:33am UTC](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383 "2020-02-07T08:33:31Z")

</div>

I’ve gone through the brilliant plugin and theme component guides, however I’m still a bit stuck on where to quickly find the template/components/widgets/plugin-outlets I need. I thought I’d start with 3 simple edits - …

---

## [Override custom field](https://meta.discourse.org/t/override-custom-field/136985)

<div class="topic-metadata">

**Author:** [@Dev\_Work](https://meta.discourse.org/u/Dev_Work)\
**Replies:** 7\
**Last updated:** [February 5, 2020, 1:23pm UTC](https://meta.discourse.org/t/override-custom-field/136985 "2020-02-05T13:23:46Z")

</div>

create-account.hbs {{#if userFields}} \<div class='user-fields'\> {{#each userFields as |f|}} {{user-field field=f.field value=f.value}} {{/each}} \</…

---

## [JS callback when spinner is hidden?](https://meta.discourse.org/t/js-callback-when-spinner-is-hidden/140667)

<div class="topic-metadata">

**Author:** [@abrambailey](https://meta.discourse.org/u/abrambailey)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 2:07am UTC](https://meta.discourse.org/t/js-callback-when-spinner-is-hidden/140667 "2020-02-05T02:07:35Z")

</div>

Kind of a weird issue here, but my community members are complaining that the footer on my forum jumps in and out of view when they click around on the site. I was thinking we could hide the footer whenever the spinner i…

---

## [How long do you plan on using a Docker image based on Ubuntu Xenial?](https://meta.discourse.org/t/how-long-do-you-plan-on-using-a-docker-image-based-on-ubuntu-xenial/94251)

<div class="topic-metadata">

**Author:** [@sudoman](https://meta.discourse.org/u/sudoman)\
**Replies:** 4\
**Last updated:** [February 4, 2020, 3:16pm UTC](https://meta.discourse.org/t/how-long-do-you-plan-on-using-a-docker-image-based-on-ubuntu-xenial/94251 "2020-02-04T15:16:48Z")

</div>

Hello Discourse team, I’m considering using Discourse with a Trisquel 8 Docker image, which should work because Trisquel 8 is based on Ubuntu Xenial. The reason I want to do this is so I can use a fully-free distributio…

---

## [PostAlerter after\_save\_post behaviour](https://meta.discourse.org/t/postalerter-after-save-post-behaviour/140537)

<div class="topic-metadata">

**Author:** [@angus](https://meta.discourse.org/u/angus)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 4:14am UTC](https://meta.discourse.org/t/postalerter-after-save-post-behaviour/140537 "2020-02-04T04:14:28Z")

</div>

The PostAlerter contains a system of checks and triggers for notifications sent after a regular post is saved, starting with the after\_save\_post method. I’ve been tangling with that method for the Follow Plugin (Specifi…

---

## [Username, user title, and post count beside avatar](https://meta.discourse.org/t/username-user-title-and-post-count-beside-avatar/84097)

<div class="topic-metadata">

**Author:** [@Mistflux](https://meta.discourse.org/u/Mistflux)\
**Replies:** 4\
**Last updated:** [February 4, 2020, 12:36am UTC](https://meta.discourse.org/t/username-user-title-and-post-count-beside-avatar/84097 "2020-02-04T00:36:31Z")

</div>

Hello everyone! I am looking for a way to move the username, user title, and also add a post count on each post next to the avatar instead of having that information above the post body. In general, I’m looking for a w…

---

## [How can I add "dislike" button?](https://meta.discourse.org/t/how-can-i-add-dislike-button/51648)

<div class="topic-metadata">

**Author:** [@G3M1N1](https://meta.discourse.org/u/G3M1N1)\
**Replies:** 32\
**Last updated:** [February 3, 2020, 5:48am UTC](https://meta.discourse.org/t/how-can-i-add-dislike-button/51648 "2020-02-03T05:48:22Z")

</div>

Hi, I want to add dislike button on every comment. Is there any plugin or something about that? Can you help me guys? Thanks.

---

## [Issue with type supervisor "category"](https://meta.discourse.org/t/issue-with-type-supervisor-category/140379)

<div class="topic-metadata">

**Author:** [@syl](https://meta.discourse.org/u/syl)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 4:16am UTC](https://meta.discourse.org/t/issue-with-type-supervisor-category/140379 "2020-02-03T04:16:46Z")

</div>

I’m facing a strange issue in my plugin. I’ve set my settings like this: discpage\_page\_categories: refresh: true client: true type: category\_list default: "" discpage\_balloon\_category: refresh: t…

---

## [Anyone care to pick up the Autobot plugin?](https://meta.discourse.org/t/anyone-care-to-pick-up-the-autobot-plugin/75587)

<div class="topic-metadata">

**Author:** [@schungx](https://meta.discourse.org/u/schungx)\
**Replies:** 10\
**Last updated:** [February 3, 2020, 2:47am UTC](https://meta.discourse.org/t/anyone-care-to-pick-up-the-autobot-plugin/75587 "2020-02-03T02:47:16Z")

</div>

Well, simple\_rss is removed from core (I believe yesterday). Plugin autobot no longer builds. Is someone interested in picking up the plugin and modify it to work again now that it gets unsupported all of a sudden. We…

---

## [How to overrule a color variable for one theme only?](https://meta.discourse.org/t/how-to-overrule-a-color-variable-for-one-theme-only/139166)

<div class="topic-metadata">

**Author:** [@Queth](https://meta.discourse.org/u/Queth)\
**Replies:** 8\
**Last updated:** [February 2, 2020, 12:09am UTC](https://meta.discourse.org/t/how-to-overrule-a-color-variable-for-one-theme-only/139166 "2020-02-02T00:09:59Z")

</div>

(i’m sorry I couldn’t find where this would fit most, chose dev) I have 3 themes. In one theme, the calculation of $primary\_low yields a color with too little contrast with the bgcolor. I have tried tweaking the primar…

---

## [Turn-based Game Plug-In Ideas](https://meta.discourse.org/t/turn-based-game-plug-in-ideas/95026)

<div class="topic-metadata">

**Author:** [@fearlessfrog](https://meta.discourse.org/u/fearlessfrog)\
**Replies:** 6\
**Last updated:** [February 1, 2020, 8:04am UTC](https://meta.discourse.org/t/turn-based-game-plug-in-ideas/95026 "2020-02-01T08:04:11Z")

</div>

Our discourse is forum is doing well and we’ve built an enjoyable community around flight sims and games. Thank you to the Discourse team for such an awesome and open project. :heart: As an ex-games developer (consoles …

---

## [Help with BBCode Plugin](https://meta.discourse.org/t/help-with-bbcode-plugin/56884)

<div class="topic-metadata">

**Author:** [@XieLong](https://meta.discourse.org/u/XieLong)\
**Replies:** 2\
**Last updated:** [January 31, 2020, 4:37pm UTC](https://meta.discourse.org/t/help-with-bbcode-plugin/56884 "2020-01-31T16:37:37Z")

</div>

Hi there, I’m about to develop a plugin for some RPG related BBCodes. Raw Code: \[rule=Category\] ... Rule Text ... \[value=Cost\]200 XP\[/value\] \[value=Some other Value\]Text of the value.\[/value\] \[/rule\] Cook…

---

## [How to embed the \<script src=html \>\</script\> code?](https://meta.discourse.org/t/how-to-embed-the-script-src-html-script-code/140299)

<div class="topic-metadata">

**Author:** [@shaco](https://meta.discourse.org/u/shaco)\
**Replies:** 3\
**Last updated:** [January 31, 2020, 2:00pm UTC](https://meta.discourse.org/t/how-to-embed-the-script-src-html-script-code/140299 "2020-01-31T14:00:11Z")

</div>

I tried to put in the template files either header or body but it doesn’t work. Also it doesn’t work with Versatile banner plugin. Am I doing something wrong? i mean this: \<script type="text/javascript" url=https://url…

---

## [How to check if the user is a staff](https://meta.discourse.org/t/how-to-check-if-the-user-is-a-staff/140155)

<div class="topic-metadata">

**Author:** [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)\
**Replies:** 1\
**Last updated:** [January 30, 2020, 1:42pm UTC](https://meta.discourse.org/t/how-to-check-if-the-user-is-a-staff/140155 "2020-01-30T13:42:04Z")

</div>

I want to check if the user is a staff member before performing an action for my theme component. Is there a way that I can do that in JS?

---

## [Information about webhooks](https://meta.discourse.org/t/information-about-webhooks/140147)

<div class="topic-metadata">

**Author:** [@Ojus\_Save](https://meta.discourse.org/u/Ojus_Save)\
**Replies:** 1\
**Last updated:** [January 30, 2020, 9:22am UTC](https://meta.discourse.org/t/information-about-webhooks/140147 "2020-01-30T09:22:18Z")

</div>

How can I create a webhook which notifies me of a new post created on my discourse forum?

---

## [Using the API to get posts matching multiple tags](https://meta.discourse.org/t/using-the-api-to-get-posts-matching-multiple-tags/46364)

<div class="topic-metadata">

**Author:** [@cappslock](https://meta.discourse.org/u/cappslock)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 5:45pm UTC](https://meta.discourse.org/t/using-the-api-to-get-posts-matching-multiple-tags/46364 "2020-01-29T17:45:25Z")

</div>

Is it possible to use the API to search for posts which have a list of tags? For example, could I search for posts that have the tags “foo” and “bar”?

---

## [Is it possible to delete posts from the database?](https://meta.discourse.org/t/is-it-possible-to-delete-posts-from-the-database/139792)

<div class="topic-metadata">

**Author:** [@Arimov](https://meta.discourse.org/u/Arimov)\
**Replies:** 6\
**Last updated:** [January 28, 2020, 8:47pm UTC](https://meta.discourse.org/t/is-it-possible-to-delete-posts-from-the-database/139792 "2020-01-28T20:47:59Z")

</div>

I apologize in advance if the question is too dummies. I have access to the Discourse database (through the plugin). Can I delete some of the posts (which I myself created in large quantities during testing) using the …

---

## [How to get current logged in user data in plugin](https://meta.discourse.org/t/how-to-get-current-logged-in-user-data-in-plugin/139941)

<div class="topic-metadata">

**Author:** [@Nikolay](https://meta.discourse.org/u/Nikolay)\
**Replies:** 0\
**Last updated:** [January 28, 2020, 2:35pm UTC](https://meta.discourse.org/t/how-to-get-current-logged-in-user-data-in-plugin/139941 "2020-01-28T14:35:09Z")

</div>

Hello, i am having trouble getting current logged in user data in plugin. So, i want my plugin to get current user data when event “before\_edit\_post” is fired. My code looks like this: file: plugins/my-plugin/plugin.r…

---

## [How can I get user details via the user api key?](https://meta.discourse.org/t/how-can-i-get-user-details-via-the-user-api-key/139820)

<div class="topic-metadata">

**Author:** [@zeroarst](https://meta.discourse.org/u/zeroarst)\
**Replies:** 3\
**Last updated:** [January 28, 2020, 10:54am UTC](https://meta.discourse.org/t/how-can-i-get-user-details-via-the-user-api-key/139820 "2020-01-28T10:54:25Z")

</div>

I am able to auth the user and get the user api key by following this instruction: https://meta.discourse.org/t/user-api-keys-specification/48536 But I also want to get the user info, because the authentication is done…

---

## [Problem with development on Windows with Docker and mounted volume](https://meta.discourse.org/t/problem-with-development-on-windows-with-docker-and-mounted-volume/139523)

<div class="topic-metadata">

**Author:** [@Nikolay](https://meta.discourse.org/u/Nikolay)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 10:10am UTC](https://meta.discourse.org/t/problem-with-development-on-windows-with-docker-and-mounted-volume/139523 "2020-01-28T10:10:29Z")

</div>

Hello, i cannot develop on windows, because get blank screen. When i open console i get this errors: (X) ember\_jquery.js?1579775136.5740232:1 Uncaught Error: Errno::EEXIST: File exists @ dir\_s\_mkdir - /var/discourse/tmp…

---

## [Some asset related tasks run during app start up](https://meta.discourse.org/t/some-asset-related-tasks-run-during-app-start-up/139843)

<div class="topic-metadata">

**Author:** [@darix](https://meta.discourse.org/u/darix)\
**Replies:** 3\
**Last updated:** [January 28, 2020, 2:50am UTC](https://meta.discourse.org/t/some-asset-related-tasks-run-during-app-start-up/139843 "2020-01-28T02:50:40Z")

</div>

I was wondering … is there a rake task that we can run to do this plugin handling instead of doing that during the application start up? We run our instances with apparmor and would like to avoid allowing the app server …

---

## [Slackbot with Discourse Admin stats](https://meta.discourse.org/t/slackbot-with-discourse-admin-stats/139167)

<div class="topic-metadata">

**Author:** [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)\
**Replies:** 2\
**Last updated:** [January 27, 2020, 2:05pm UTC](https://meta.discourse.org/t/slackbot-with-discourse-admin-stats/139167 "2020-01-27T14:05:44Z")

</div>

Hey there everyone! Looking for a bit of guidance with out development process. What we want to build? A Slackbot will feed of data like (new users created, topics created, solutions created, likes given etc.) from our …

---

## [How to know if a post has been replied or not via API?](https://meta.discourse.org/t/how-to-know-if-a-post-has-been-replied-or-not-via-api/139729)

<div class="topic-metadata">

**Author:** [@Ojus\_Save](https://meta.discourse.org/u/Ojus_Save)\
**Replies:** 0\
**Last updated:** [January 25, 2020, 9:22pm UTC](https://meta.discourse.org/t/how-to-know-if-a-post-has-been-replied-or-not-via-api/139729 "2020-01-25T21:22:26Z")

</div>

Hi, I am trying to get post.json that gives me list of all the latest, I want to understand how to know if a post has been replied? For e.g: I have two replies on a post, but “reply\_count” , and “reply\_to\_post\_number” a…

---

## [Getting tweets into a topic via Discourse API](https://meta.discourse.org/t/getting-tweets-into-a-topic-via-discourse-api/101172)

<div class="topic-metadata">

**Author:** [@SebastianADW](https://meta.discourse.org/u/SebastianADW)\
**Replies:** 2\
**Last updated:** [January 24, 2020, 6:47pm UTC](https://meta.discourse.org/t/getting-tweets-into-a-topic-via-discourse-api/101172 "2020-01-24T18:47:16Z")

</div>

I am trying to create a kind of twitter bot as a discourse plugin. I already managed to crawl tweets with the twitter gem (BTW. i had to require tons of gems in the plugin.rb with gem 'gemname', '0.4.2', {require: false…

---

## [Interactive bot users](https://meta.discourse.org/t/interactive-bot-users/60064)

<div class="topic-metadata">

**Author:** [@will\_io](https://meta.discourse.org/u/will_io)\
**Replies:** 3\
**Last updated:** [January 24, 2020, 11:34am UTC](https://meta.discourse.org/t/interactive-bot-users/60064 "2020-01-24T11:34:29Z")

</div>

I am just playing with some ideas. Wondering if anyone has something in place that conditionally operates with the api and the discourse db or a third party database? This has got something with nokogiri written all ove…

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

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