# Development

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

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

**Page:** 57

---

## [Option to rename "with Google" login button text (and icon)](https://meta.discourse.org/t/option-to-rename-with-google-login-button-text-and-icon/247141)

<div class="topic-metadata">

**Author:** [@nordize](https://meta.discourse.org/u/nordize)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 6:39pm UTC](https://meta.discourse.org/t/option-to-rename-with-google-login-button-text-and-icon/247141 "2022-11-30T18:39:44Z")

</div>

Could we please get a setting to rename the text (and icon) of the “with Google” login button. It’s just Oauth2 and even though uses Google specs, the login service often has nothing to do with Google. For example, our u…

---

## [To use Discourse completely on shopify](https://meta.discourse.org/t/to-use-discourse-completely-on-shopify/246957)

<div class="topic-metadata">

**Author:** [@Max\_Max](https://meta.discourse.org/u/Max_Max)\
**Replies:** 16\
**Last updated:** [November 29, 2022, 8:49pm UTC](https://meta.discourse.org/t/to-use-discourse-completely-on-shopify/246957 "2022-11-29T20:49:26Z")

</div>

Hello, We are using Discourse entirely with the admin panel on our Wordpress site, and now we want to use this entirely on a specific shopify page. I’ve tried that - Embed Discourse comments on another website via Javas…

---

## [How do I best "sunset" a component I share on meta?](https://meta.discourse.org/t/how-do-i-best-sunset-a-component-i-share-on-meta/247079)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 5:04pm UTC](https://meta.discourse.org/t/how-do-i-best-sunset-a-component-i-share-on-meta/247079 "2022-11-29T17:04:17Z")

</div>

Just wondering if there’s a best practice for that? E.g. I had shared this component But now there’s an official one with more features, so I wont use and update mine anymore. Would I just put a notice on the topic?…

---

## [Add custom 'Login' Link to Invite Acceptance](https://meta.discourse.org/t/add-custom-login-link-to-invite-acceptance/247024)

<div class="topic-metadata">

**Author:** [@gassim](https://meta.discourse.org/u/gassim)\
**Replies:** 4\
**Last updated:** [November 29, 2022, 3:09pm UTC](https://meta.discourse.org/t/add-custom-login-link-to-invite-acceptance/247024 "2022-11-29T15:09:13Z")

</div>

Hi! This topic is from 2018, please does it still work? Insert text or images anywhere on your site using CSS pseudo-elements I want to use this trick to fix an issue with the invitation welcoming page. I want existing…

---

## [Add Last Edited word before date on post page](https://meta.discourse.org/t/add-last-edited-word-before-date-on-post-page/247026)

<div class="topic-metadata">

**Author:** [@ksavani](https://meta.discourse.org/u/ksavani)\
**Replies:** 3\
**Last updated:** [November 29, 2022, 11:49am UTC](https://meta.discourse.org/t/add-last-edited-word-before-date-on-post-page/247026 "2022-11-29T11:49:05Z")

</div>

Hello, I want to add “Last-edited” word before date on post page please give suggestion which template file i can customize in discourse. Please check provided screenshot also. Thank you in advance!! Best, krishna …

---

## [Post ID's reused?](https://meta.discourse.org/t/post-ids-reused/246982)

<div class="topic-metadata">

**Author:** [@Martin\_Lim](https://meta.discourse.org/u/Martin_Lim)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 12:08am UTC](https://meta.discourse.org/t/post-ids-reused/246982 "2022-11-29T00:08:26Z")

</div>

Hello, I’m wondering if Post Id’s can ever be reused? So if I create and delete a Post, will that ID ever be assigned to a new post?

---

## [Add featuredUsers and tags on home page](https://meta.discourse.org/t/add-featuredusers-and-tags-on-home-page/246921)

<div class="topic-metadata">

**Author:** [@misham](https://meta.discourse.org/u/misham)\
**Replies:** 0\
**Last updated:** [November 28, 2022, 10:53am UTC](https://meta.discourse.org/t/add-featuredusers-and-tags-on-home-page/246921 "2022-11-28T10:53:32Z")

</div>

Hi! I have a problem with adding featured Users and tags to cards on home page. I\`m developing a custom theme and chosed to display categories with featured topics on home page Imgur: The magic of the Internet. I’ve made…

---

## [How can I pull the currently open topic's list of tags?](https://meta.discourse.org/t/how-can-i-pull-the-currently-open-topics-list-of-tags/246608)

<div class="topic-metadata">

**Author:** [@hyphalos](https://meta.discourse.org/u/hyphalos)\
**Replies:** 3\
**Last updated:** [November 25, 2022, 11:25am UTC](https://meta.discourse.org/t/how-can-i-pull-the-currently-open-topics-list-of-tags/246608 "2022-11-25T11:25:24Z")

</div>

Hello! I’m trying to create a theme component that adds a custom button to tagged topics. For example: Topics tagged with event-tag will have a button next to the category named Event which will link to the events page. …

---

## [Why is the api-key data removed from the response of GET /admin/users/user.json?](https://meta.discourse.org/t/why-is-the-api-key-data-removed-from-the-response-of-get-admin-users-user-json/246588)

<div class="topic-metadata">

**Author:** [@jandres](https://meta.discourse.org/u/jandres)\
**Replies:** 0\
**Last updated:** [November 23, 2022, 9:22pm UTC](https://meta.discourse.org/t/why-is-the-api-key-data-removed-from-the-response-of-get-admin-users-user-json/246588 "2022-11-23T21:22:47Z")

</div>

Can i know why you remove the api-key data from response when we made a GET request to /admin/users/:user\_id.json. I don’t remember since what version this value was removed from response, but it seems to me that it was …

---

## [Best way to create external-facing API for creating topics?](https://meta.discourse.org/t/best-way-to-create-external-facing-api-for-creating-topics/246567)

<div class="topic-metadata">

**Author:** [@Tim\_Lee](https://meta.discourse.org/u/Tim_Lee)\
**Replies:** 1\
**Last updated:** [November 23, 2022, 10:19pm UTC](https://meta.discourse.org/t/best-way-to-create-external-facing-api-for-creating-topics/246567 "2022-11-23T22:19:46Z")

</div>

Hi, My goal right now is to create an HTTP POST endpoint on the discourse server that creates a topic based on the request body. The endpoint should receive requests from arbitrary IPs without CORS issues. The client th…

---

## [reopenWidget with AJAX call](https://meta.discourse.org/t/reopenwidget-with-ajax-call/246450)

<div class="topic-metadata">

**Author:** [@StonkGodCapital](https://meta.discourse.org/u/StonkGodCapital)\
**Replies:** 6\
**Last updated:** [November 23, 2022, 8:05pm UTC](https://meta.discourse.org/t/reopenwidget-with-ajax-call/246450 "2022-11-23T20:05:39Z")

</div>

This is a topic that’s come up several times and stalled out (usually because the dev doesn’t actually require the AJAX call). However, I’m developing a plugin that accesses data not stored within Discourse’s database (s…

---

## [Can we add ember add-ons to a discourse plugin? (like ember power select)](https://meta.discourse.org/t/can-we-add-ember-add-ons-to-a-discourse-plugin-like-ember-power-select/184507)

<div class="topic-metadata">

**Author:** [@JQ331](https://meta.discourse.org/u/JQ331)\
**Replies:** 12\
**Last updated:** [November 22, 2022, 10:51pm UTC](https://meta.discourse.org/t/can-we-add-ember-add-ons-to-a-discourse-plugin-like-ember-power-select/184507 "2022-11-22T22:51:25Z")

</div>

I’d like to add some ember add-ons to a plugin. Here’s an example: Ember’s Power Select. (This helps with drop-downs. Discourse uses select-kit, which I know is also powerful, but I find it hard to customize because it…

---

## [Use Discourse API to check whether username/password combination is valid](https://meta.discourse.org/t/use-discourse-api-to-check-whether-username-password-combination-is-valid/246341)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 9:36pm UTC](https://meta.discourse.org/t/use-discourse-api-to-check-whether-username-password-combination-is-valid/246341 "2022-11-21T21:36:23Z")

</div>

I’d like to set up something simple outside Discourse that would allow login using the Discourse username/password combination. Is it possible to use the API to check whether the provided username/password combination i…

---

## [How can I hide the Badges link in the sidebar?](https://meta.discourse.org/t/how-can-i-hide-the-badges-link-in-the-sidebar/240488)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**Replies:** 10\
**Last updated:** [November 21, 2022, 9:57am UTC](https://meta.discourse.org/t/how-can-i-hide-the-badges-link-in-the-sidebar/240488 "2022-11-21T09:57:55Z")

</div>

I imagine that sidebar customisation will be added in due course, but for now I’d like to remove the “Badges” link, or at least hide it within “More…” Should I just use CSS to hide it, for the time being? I can’t quite…

---

## [How to put javascript in Discourse theme?](https://meta.discourse.org/t/how-to-put-javascript-in-discourse-theme/246157)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**Replies:** 13\
**Last updated:** [November 20, 2022, 9:40pm UTC](https://meta.discourse.org/t/how-to-put-javascript-in-discourse-theme/246157 "2022-11-20T21:40:59Z")

</div>

I found a java script with a falling snow effect, and I was wondering, is it possible to put this script in the theme? I tried to insert where I put CSS, but the site bugged lol, is there another place I can insert it or…

---

## [Implementing a countdown bbcode](https://meta.discourse.org/t/implementing-a-countdown-bbcode/246188)

<div class="topic-metadata">

**Author:** [@marcozambi](https://meta.discourse.org/u/marcozambi)\
**Replies:** 1\
**Last updated:** [November 20, 2022, 11:54am UTC](https://meta.discourse.org/t/implementing-a-countdown-bbcode/246188 "2022-11-20T11:54:14Z")

</div>

Hi all! I would like some help for starting the development of a “countdown” bbcode that, as the name says, will display a countdown in a post. The idea is to translate something like this \[countdown=\<iso date and time\>…

---

## [Posts made via API and Spam Detection](https://meta.discourse.org/t/posts-made-via-api-and-spam-detection/246147)

<div class="topic-metadata">

**Author:** [@kirupa](https://meta.discourse.org/u/kirupa)\
**Replies:** 4\
**Last updated:** [November 19, 2022, 7:50pm UTC](https://meta.discourse.org/t/posts-made-via-api-and-spam-detection/246147 "2022-11-19T19:50:13Z")

</div>

Hi everyone - when making posts via the Discourse API, does spam checking automatically happen? Or is there something extra we would need to do? Thanks, Kirupa

---

## [Possible to disable topics at top-level category view?](https://meta.discourse.org/t/possible-to-disable-topics-at-top-level-category-view/245999)

<div class="topic-metadata">

**Author:** [@vanclute](https://meta.discourse.org/u/vanclute)\
**Replies:** 2\
**Last updated:** [November 19, 2022, 1:58am UTC](https://meta.discourse.org/t/possible-to-disable-topics-at-top-level-category-view/245999 "2022-11-19T01:58:57Z")

</div>

Tried to search for this but as is so often the case, keywords are too broad. We have a fairly structured forum we’re implementing with Discourse. It has 6 top level categories, with from 0 to 20 sub-categories in each…

---

## [Need to restart Ember in order to test front-end changes](https://meta.discourse.org/t/need-to-restart-ember-in-order-to-test-front-end-changes/246069)

<div class="topic-metadata">

**Author:** [@SilK](https://meta.discourse.org/u/SilK)\
**Replies:** 3\
**Last updated:** [November 18, 2022, 6:17pm UTC](https://meta.discourse.org/t/need-to-restart-ember-in-order-to-test-front-end-changes/246069 "2022-11-18T18:17:53Z")

</div>

Hey there! I’ve set up a new dev environment for working on plugins. Discourse is up to date with the main branch. I need to restart Ember in order to test changes made to the front end. This includes changes to Handle…

---

## [Custom relative tag filter on the nav bar](https://meta.discourse.org/t/custom-relative-tag-filter-on-the-nav-bar/245968)

<div class="topic-metadata">

**Author:** [@Tris20](https://meta.discourse.org/u/Tris20)\
**Replies:** 5\
**Last updated:** [November 18, 2022, 10:25am UTC](https://meta.discourse.org/t/custom-relative-tag-filter-on-the-nav-bar/245968 "2022-11-18T10:25:59Z")

</div>

Facing that problem now. I’d love to have an “FAQ” tag which users can filter by, simply by clicking FAQ at the top of the nav bar. To fix this, it looks like the category id needs to be fetched and then included in the…

---

## [Can I make a custom button with CSS and HTML?](https://meta.discourse.org/t/can-i-make-a-custom-button-with-css-and-html/245958)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**Replies:** 4\
**Last updated:** [November 18, 2022, 8:37am UTC](https://meta.discourse.org/t/can-i-make-a-custom-button-with-css-and-html/245958 "2022-11-18T08:37:22Z")

</div>

I want to make a button like this, but this one says it’s CSS with HTML, where do I customize HTML in Discourse? In the same link that I put CSS? Cool Glowing Effect on Buttons using HTML & CSS | CodingNepal - YouTube

---

## [ActionController::Routing Error when adding official plugins](https://meta.discourse.org/t/actioncontroller-routing-error-when-adding-official-plugins/244940)

<div class="topic-metadata">

**Author:** [@hyphalos](https://meta.discourse.org/u/hyphalos)\
**Replies:** 6\
**Last updated:** [November 17, 2022, 4:12pm UTC](https://meta.discourse.org/t/actioncontroller-routing-error-when-adding-official-plugins/244940 "2022-11-17T16:12:00Z")

</div>

Hello! I’m running 2.9.0.beta11 on Ubuntu (developer environment) and I get the following errors about these plugins. It works perfectly fine without them. What do I need to do to get these plugins working? ActionContr…

---

## [Localization/Icon Issues on Local Development Instance](https://meta.discourse.org/t/localization-icon-issues-on-local-development-instance/245911)

<div class="topic-metadata">

**Author:** [@SilK](https://meta.discourse.org/u/SilK)\
**Replies:** 3\
**Last updated:** [November 17, 2022, 1:54pm UTC](https://meta.discourse.org/t/localization-icon-issues-on-local-development-instance/245911 "2022-11-17T13:54:29Z")

</div>

Hey there! (Sorry if dev is not the correct category for this) For a while now, I’ve been attempting to get my local development instance back up and working. Both my production and development instances are on the lat…

---

## [Topic structured data: all posts declared as "mainEntityOfPage"](https://meta.discourse.org/t/topic-structured-data-all-posts-declared-as-mainentityofpage/221488)

<div class="topic-metadata">

**Author:** [@rrit](https://meta.discourse.org/u/rrit)\
**Replies:** 3\
**Last updated:** [November 16, 2022, 6:30pm UTC](https://meta.discourse.org/t/topic-structured-data-all-posts-declared-as-mainentityofpage/221488 "2022-11-16T18:30:56Z")

</div>

In the structured data model there should be only one object declared as mainEntity / mainEntityOfPage. See “mainEntity” - Background information - Data Model - schema.org Right now every single post is declared to be …

---

## [\[Need Help\] How to customize webhook](https://meta.discourse.org/t/need-help-how-to-customize-webhook/245320)

<div class="topic-metadata">

**Author:** [@YAN](https://meta.discourse.org/u/YAN)\
**Replies:** 2\
**Last updated:** [November 16, 2022, 6:55pm UTC](https://meta.discourse.org/t/need-help-how-to-customize-webhook/245320 "2022-11-16T18:55:15Z")

</div>

Hello, I’m trying to add a new webhook for posts containing images. Instead of getting notified when new posts are being created/updated, I hope to make the server notified only when there are new posts with images crea…

---

## [Problem in development Installation](https://meta.discourse.org/t/problem-in-development-installation/213257)

<div class="topic-metadata">

**Author:** [@Omnipotent.inc](https://meta.discourse.org/u/Omnipotent.inc)\
**Replies:** 16\
**Last updated:** [November 11, 2022, 8:41pm UTC](https://meta.discourse.org/t/problem-in-development-installation/213257 "2022-11-11T20:41:32Z")

</div>

When I reach To “Bundle Install” Then This Appeares An error occurred while installing xorcist (1.1.2), and Bundler cannot continue. In Gemfile: xorcist What Will I do now

---

## [How to relax Content Security Policy](https://meta.discourse.org/t/how-to-relax-content-security-policy/244459)

<div class="topic-metadata">

**Author:** [@titusc](https://meta.discourse.org/u/titusc)\
**Replies:** 5\
**Last updated:** [November 11, 2022, 12:03pm UTC](https://meta.discourse.org/t/how-to-relax-content-security-policy/244459 "2022-11-11T12:03:13Z")

</div>

Hi I’d like to do some testing of Discourse without necessarily going through its configured public domain name. For eg if Discourse have been installed and configured as https://uat.mysite.com then I can obviously loa…

---

## [Correct way to Get specific posts from a topic (Discourse API)](https://meta.discourse.org/t/correct-way-to-get-specific-posts-from-a-topic-discourse-api/245063)

<div class="topic-metadata">

**Author:** [@vikigenius](https://meta.discourse.org/u/vikigenius)\
**Replies:** 1\
**Last updated:** [November 10, 2022, 12:04pm UTC](https://meta.discourse.org/t/correct-way-to-get-specific-posts-from-a-topic-discourse-api/245063 "2022-11-10T12:04:25Z")

</div>

The API to get all posts given a topic only returns the first 20 posts. To get remaining posts I would like to use the API to get specific posts for a topic From the API docs Discourse API Docs It says to send a reques…

---

## [Trying to get started, getting a lot of failing specs](https://meta.discourse.org/t/trying-to-get-started-getting-a-lot-of-failing-specs/244595)

<div class="topic-metadata">

**Author:** [@DrSayre](https://meta.discourse.org/u/DrSayre)\
**Replies:** 1\
**Last updated:** [November 9, 2022, 10:19pm UTC](https://meta.discourse.org/t/trying-to-get-started-getting-a-lot-of-failing-specs/244595 "2022-11-09T22:19:55Z")

</div>

I am trying to get Discourse setup locally. However I am finding I get a lot of failing specs. Im on Ruby 2.7.6 and Postgresql 14.5 (with hstore installed). I feel like something is wrong, but not sure what… Finished…

---

## [Plugin Development](https://meta.discourse.org/t/plugin-development/245003)

<div class="topic-metadata">

**Author:** [@msavage](https://meta.discourse.org/u/msavage)\
**Replies:** 1\
**Last updated:** [November 9, 2022, 5:40pm UTC](https://meta.discourse.org/t/plugin-development/245003 "2022-11-09T17:40:56Z")

</div>

Is there a way to install a plugin from a certain branch to test in a develop environment? What I would like to do is have main branch as stable and then be able to install a feature branch into our EKS dev environment …

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

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