# Development

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

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

**Page:** 70

---

## [api.addPostMenuButton with conditions](https://meta.discourse.org/t/api-addpostmenubutton-with-conditions/209902)

<div class="topic-metadata">

**Author:** [@Programer-D](https://meta.discourse.org/u/Programer-D)\
**Replies:** 1\
**Last updated:** [December 12, 2021, 10:58pm UTC](https://meta.discourse.org/t/api-addpostmenubutton-with-conditions/209902 "2021-12-12T22:58:26Z")

</div>

First of all, I apologize for my poor English. I want to add “Show More…” button. The post in the image below consists of 10 lines of text, but only 5 lines are displayed. User can see the full text by clicking on Sho…

---

## [Infinite scroll - is discourse recycling dom elements?](https://meta.discourse.org/t/infinite-scroll-is-discourse-recycling-dom-elements/211069)

<div class="topic-metadata">

**Author:** [@spirobel](https://meta.discourse.org/u/spirobel)\
**Replies:** 9\
**Last updated:** [December 11, 2021, 5:55am UTC](https://meta.discourse.org/t/infinite-scroll-is-discourse-recycling-dom-elements/211069 "2021-12-11T05:55:40Z")

</div>

I have a question regarding scroll: On android there is something called recyclerview Create dynamic lists with RecyclerView | Android Developers It reuses components instead of adding more and more during a scroll. It s…

---

## [“Oops! That page doesn’t exist.” Pls HELP 🙏🏼](https://meta.discourse.org/t/oops-that-page-doesn-t-exist-pls-help/211647)

<div class="topic-metadata">

**Author:** [@natasha\_selvidge](https://meta.discourse.org/u/natasha_selvidge)\
**Replies:** 4\
**Last updated:** [December 9, 2021, 8:33pm UTC](https://meta.discourse.org/t/oops-that-page-doesn-t-exist-pls-help/211647 "2021-12-09T20:33:24Z")

</div>

Please help I am trying to get my route to work it. What am I doing wrong? Is it my filing structure? It wont change the page to my H1 it just says “Oops! That page doesn’t exist.” I am logged in as a admin too. I follo…

---

## [Building an iOS app that embeds Discourse](https://meta.discourse.org/t/building-an-ios-app-that-embeds-discourse/109170)

<div class="topic-metadata">

**Author:** [@Bryan\_Underwood\_CA](https://meta.discourse.org/u/Bryan_Underwood_CA)\
**Replies:** 3\
**Last updated:** [February 15, 2019, 12:44am UTC](https://meta.discourse.org/t/building-an-ios-app-that-embeds-discourse/109170 "2019-02-15T00:44:03Z")

</div>

I have and use the Discourse mobile app for iOS. Is the app in the github repo here: DiscourseMobile/ios at main · discourse/DiscourseMobile · GitHub the source code for the publicly available iOS “DiscourseHub” app? If…

---

## [Developing Plugins Faster by separating the frontend into a theme component](https://meta.discourse.org/t/developing-plugins-faster-by-separating-the-frontend-into-a-theme-component/211638)

<div class="topic-metadata">

**Author:** [@JQ331](https://meta.discourse.org/u/JQ331)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 7:40pm UTC](https://meta.discourse.org/t/developing-plugins-faster-by-separating-the-frontend-into-a-theme-component/211638 "2021-12-09T19:40:46Z")

</div>

I’ve previously asked about how to setup the local environment to code faster when building a plugin, and I know others have as well. I’ve been using a new workflow that’s been working great, and I thought I’d share in …

---

## [Is this secure? Concept for private info in replies](https://meta.discourse.org/t/is-this-secure-concept-for-private-info-in-replies/64385)

<div class="topic-metadata">

**Author:** [@rohmann](https://meta.discourse.org/u/rohmann)\
**Replies:** 23\
**Last updated:** [December 9, 2021, 3:48pm UTC](https://meta.discourse.org/t/is-this-secure-concept-for-private-info-in-replies/64385 "2021-12-09T15:48:52Z")

</div>

I really need a way for users to add sensitive data to a post without using private messages. I have this in a plugin: require\_dependency "plugin/filter" Plugin::Filter.register(:after\_post\_cook) do |post, cooked| …

---

## [Understanding DOM object lifecycle](https://meta.discourse.org/t/understanding-dom-object-lifecycle/211545)

<div class="topic-metadata">

**Author:** [@rmccown](https://meta.discourse.org/u/rmccown)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 3:09am UTC](https://meta.discourse.org/t/understanding-dom-object-lifecycle/211545 "2021-12-09T03:09:27Z")

</div>

Hi folks. Trying to puzzle out a problem with what I think is DOM object lifecycle. I’ve read through this thread A tour of how the Widget (Virtual DOM) code in Discourse works but it still doesn’t help answer my quest…

---

## [Failed VersionCheck Jobs behavior](https://meta.discourse.org/t/failed-versioncheck-jobs-behavior/211067)

<div class="topic-metadata">

**Author:** [@Bruno\_Salazar](https://meta.discourse.org/u/Bruno_Salazar)\
**Replies:** 9\
**Last updated:** [December 8, 2021, 3:10pm UTC](https://meta.discourse.org/t/failed-versioncheck-jobs-behavior/211067 "2021-12-08T15:10:29Z")

</div>

Sorry if this is not the correct category for this. I’m evaluating discourse and the VersionCheck Job is failling in my environment. I’ve noticed that failed jobs are piling up inside sidekiq and probably will get move…

---

## [How to hide clicks count badge which next to the image link](https://meta.discourse.org/t/how-to-hide-clicks-count-badge-which-next-to-the-image-link/79816)

<div class="topic-metadata">

**Author:** [@Denis\_Frosty\_Andreyc](https://meta.discourse.org/u/Denis_Frosty_Andreyc)\
**Replies:** 1\
**Last updated:** [February 5, 2018, 2:54pm UTC](https://meta.discourse.org/t/how-to-hide-clicks-count-badge-which-next-to-the-image-link/79816 "2018-02-05T14:54:51Z")

</div>

I created a clickable image with a link, but I do not want the click counter to be displayed nearby. Can I remove it?

---

## [Import a private discourse theme repo on macbook](https://meta.discourse.org/t/import-a-private-discourse-theme-repo-on-macbook/211443)

<div class="topic-metadata">

**Author:** [@iiewad](https://meta.discourse.org/u/iiewad)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 7:04am UTC](https://meta.discourse.org/t/import-a-private-discourse-theme-repo-on-macbook/211443 "2021-12-08T07:04:56Z")

</div>

require 'sshkey' remote = 'git@github.com:private/theme\_name.git' # Private Github repo for discourse theme theme\_user = Discourse.system\_user private\_key = SSHKey.generate.private\_key branch = 'main' RemoteTheme.import\_…

---

## [What content is Redis caching?](https://meta.discourse.org/t/what-content-is-redis-caching/211025)

<div class="topic-metadata">

**Author:** [@emurillo](https://meta.discourse.org/u/emurillo)\
**Replies:** 2\
**Last updated:** [December 3, 2021, 5:49pm UTC](https://meta.discourse.org/t/what-content-is-redis-caching/211025 "2021-12-03T17:49:12Z")

</div>

Hi there, we are putting together a security document for one of our clients and wanted to know if there is a doc or pointer to a list of items of what’s being cached on Redis. Similar to \[Redis\] How are MessageBus and…

---

## [Microsoft\_office365 enabled\_setting is deprecated - what does it mean?](https://meta.discourse.org/t/microsoft-office365-enabled-setting-is-deprecated-what-does-it-mean/210692)

<div class="topic-metadata">

**Author:** [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)\
**Replies:** 4\
**Last updated:** [December 2, 2021, 3:02pm UTC](https://meta.discourse.org/t/microsoft-office365-enabled-setting-is-deprecated-what-does-it-mean/210692 "2021-12-02T15:02:39Z")

</div>

Hello, recently I found a message in forum logs: Deprecation notice: (microsoft\_office365) enabled\_setting is deprecated. Please define authenticator.enabled? instead (removal in Discourse 2.9.0) At /var/www/discourse…

---

## [Connect Discourse to Data Studio](https://meta.discourse.org/t/connect-discourse-to-data-studio/206798)

<div class="topic-metadata">

**Author:** [@skins](https://meta.discourse.org/u/skins)\
**Replies:** 4\
**Last updated:** [December 2, 2021, 8:37am UTC](https://meta.discourse.org/t/connect-discourse-to-data-studio/206798 "2021-12-02T08:37:39Z")

</div>

Hello Need your help to build my first API to get the list of my users to Data studio (last login, number of post/reaction,…) is there any documentation or trick that you can share ? Thank you

---

## [Customizing Brand Header Theme Component](https://meta.discourse.org/t/customizing-brand-header-theme-component/210465)

<div class="topic-metadata">

**Author:** [@hrayner](https://meta.discourse.org/u/hrayner)\
**Replies:** 2\
**Last updated:** [December 1, 2021, 8:43pm UTC](https://meta.discourse.org/t/customizing-brand-header-theme-component/210465 "2021-12-01T20:43:39Z")

</div>

I’m trying to customize Discourse’s “Brand Header Theme Component”. I’m not sure what approach to take here. I want to add submenu items, e.g. my link structure would look like: video audio - books - lectures,…

---

## [How to bump 10k records csv export limit in Data Explorer?](https://meta.discourse.org/t/how-to-bump-10k-records-csv-export-limit-in-data-explorer/210520)

<div class="topic-metadata">

**Author:** [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Replies:** 6\
**Last updated:** [November 30, 2021, 7:25pm UTC](https://meta.discourse.org/t/how-to-bump-10k-records-csv-export-limit-in-data-explorer/210520 "2021-11-30T19:25:45Z")

</div>

I need a CSV export of data that goes beyond 10k rows in the CSV export, this is resulting in not all records being exported. Assuming this line is responsible for the said limit What will be the right way to bump thi…

---

## [How do we fire scripts after topic HTML is rendered in DOM?](https://meta.discourse.org/t/how-do-we-fire-scripts-after-topic-html-is-rendered-in-dom/114701)

<div class="topic-metadata">

**Author:** [@labofoz](https://meta.discourse.org/u/labofoz)\
**Replies:** 4\
**Last updated:** [November 27, 2021, 7:30pm UTC](https://meta.discourse.org/t/how-do-we-fire-scripts-after-topic-html-is-rendered-in-dom/114701 "2021-11-27T19:30:10Z")

</div>

TL:DR; Are there APIs like onPageChange or hooks to know when the topic is loaded and the HTML is rendered? I’m working on an accessibility community, where people can embed games and tools from CodePen. The problem is…

---

## [Loading/defining fabricators in plugins](https://meta.discourse.org/t/loading-defining-fabricators-in-plugins/126896)

<div class="topic-metadata">

**Author:** [@rimian](https://meta.discourse.org/u/rimian)\
**Replies:** 2\
**Last updated:** [November 26, 2021, 6:19am UTC](https://meta.discourse.org/t/loading-defining-fabricators-in-plugins/126896 "2021-11-26T06:19:53Z")

</div>

Are there any examples of plugins defining Fabricators? I found something here that may be relevant: How to lazy load fabricators · Issue #167 · paulelliott/fabrication · GitHub It says that it clears existing fabricat…

---

## [How to get the user fields in a theme component?](https://meta.discourse.org/t/how-to-get-the-user-fields-in-a-theme-component/209809)

<div class="topic-metadata">

**Author:** [@a.pinjari](https://meta.discourse.org/u/a.pinjari)\
**Replies:** 0\
**Last updated:** [November 22, 2021, 4:55am UTC](https://meta.discourse.org/t/how-to-get-the-user-fields-in-a-theme-component/209809 "2021-11-22T04:55:47Z")

</div>

We are trying to create the widget (“banner-title”) which will display the first-name of the User (we have created first-name as user field). In the widget, we are fetching the user first name (user\_field) using the bel…

---

## [Show a header link for only certain user groups](https://meta.discourse.org/t/show-a-header-link-for-only-certain-user-groups/209535)

<div class="topic-metadata">

**Author:** [@Nick\_Chomey](https://meta.discourse.org/u/Nick_Chomey)\
**Replies:** 2\
**Last updated:** [November 18, 2021, 4:22pm UTC](https://meta.discourse.org/t/show-a-header-link-for-only-certain-user-groups/209535 "2021-11-18T16:22:56Z")

</div>

I have created a header link using the Custom Header Links component to bring users to their Assigned topics, which https://forum.domain.net/my/activity/assigned seems to achieve. Is there a way to make this only show t…

---

## [API: Create a category but append/add to description more details](https://meta.discourse.org/t/api-create-a-category-but-append-add-to-description-more-details/129728)

<div class="topic-metadata">

**Author:** [@alank](https://meta.discourse.org/u/alank)\
**Replies:** 7\
**Last updated:** [November 16, 2021, 2:03pm UTC](https://meta.discourse.org/t/api-create-a-category-but-append-add-to-description-more-details/129728 "2021-11-16T14:03:34Z")

</div>

I’m using API request to Discourse to create a category, however in the same process I would like to add text or URL reference etc, to Category description (or is it description\_text as I try to understand the properties…

---

## [Create a custom page with theme cli?](https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207)

<div class="topic-metadata">

**Author:** [@JeaneCarlos](https://meta.discourse.org/u/JeaneCarlos)\
**Replies:** 3\
**Last updated:** [November 15, 2021, 11:52pm UTC](https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207 "2021-11-15T23:52:18Z")

</div>

I’ve been going about building a new theme with Theme Creator/CLI and have had a good run so far with CSS, widgets, and plugin-outlets. I was wondering if there’s a file/folder I could add/modify to create a new page/rou…

---

## [Import Error: about.json does not exist, or is invalid](https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148)

<div class="topic-metadata">

**Author:** [@ovanderzee](https://meta.discourse.org/u/ovanderzee)\
**Replies:** 2\
**Last updated:** [November 15, 2021, 11:03am UTC](https://meta.discourse.org/t/import-error-about-json-does-not-exist-or-is-invalid/209148 "2021-11-15T11:03:20Z")

</div>

I am developing a theme component and I want to put it under version control. I started off in the editor at /admin/customize/themes. I exported the edits and put the files in git in a dedicated src folder. Then I compr…

---

## [How can I get user image's url](https://meta.discourse.org/t/how-can-i-get-user-images-url/209068)

<div class="topic-metadata">

**Author:** [@sca](https://meta.discourse.org/u/sca)\
**Replies:** 4\
**Last updated:** [November 14, 2021, 3:11am UTC](https://meta.discourse.org/t/how-can-i-get-user-images-url/209068 "2021-11-14T03:11:46Z")

</div>

I am trying to get user image url using API. I tried using “Get a user by id” but not getting the image url. Any suggestions?

---

## [Importing from Vanilla Forums results in out-of-order replies. Re-index Replies?](https://meta.discourse.org/t/importing-from-vanilla-forums-results-in-out-of-order-replies-re-index-replies/208847)

<div class="topic-metadata">

**Author:** [@Nick\_Chomey](https://meta.discourse.org/u/Nick_Chomey)\
**Replies:** 9\
**Last updated:** [November 11, 2021, 5:24pm UTC](https://meta.discourse.org/t/importing-from-vanilla-forums-results-in-out-of-order-replies-re-index-replies/208847 "2021-11-11T17:24:57Z")

</div>

I have successfully imported an export from Vanilla Forum, but the replies in some Topics are not in the correct order. Sometimes by days, sometimes by years. The problem appears to be that Vanilla Porter is simply expo…

---

## [Call Client api in discourse](https://meta.discourse.org/t/call-client-api-in-discourse/208856)

<div class="topic-metadata">

**Author:** [@vinayak\_gupta](https://meta.discourse.org/u/vinayak_gupta)\
**Replies:** 0\
**Last updated:** [November 11, 2021, 5:00am UTC](https://meta.discourse.org/t/call-client-api-in-discourse/208856 "2021-11-11T05:00:59Z")

</div>

Is it possible to call client API in the discourse on page load? Basically, I want to localize the header and footer based upon client language in our platform. So I am thinking to call API in discourse to get client lan…

---

## [Localisation of custom navbar and footer](https://meta.discourse.org/t/localisation-of-custom-navbar-and-footer/208747)

<div class="topic-metadata">

**Author:** [@vinayak\_gupta](https://meta.discourse.org/u/vinayak_gupta)\
**Replies:** 2\
**Last updated:** [November 11, 2021, 4:29am UTC](https://meta.discourse.org/t/localisation-of-custom-navbar-and-footer/208747 "2021-11-11T04:29:36Z")

</div>

Hi, I have made some custom navigation bars by writing some HTML code in the edit CSS/HTML option. Now I want it to be localized based on country. So is there any possible way I can make it localized? I am attaching my…

---

## [Adding an outside widget to composer](https://meta.discourse.org/t/adding-an-outside-widget-to-composer/207563)

<div class="topic-metadata">

**Author:** [@Dugen](https://meta.discourse.org/u/Dugen)\
**Replies:** 7\
**Last updated:** [November 9, 2021, 11:05pm UTC](https://meta.discourse.org/t/adding-an-outside-widget-to-composer/207563 "2021-11-09T23:05:46Z")

</div>

Im trying to add a widget to the composer, I have got far enough to where I can insert the code from the tool bar, but I am not sure how to get the javascript working within it. I am assuming that I will need to add the …

---

## [Use ember generate to generate, say, a component?](https://meta.discourse.org/t/use-ember-generate-to-generate-say-a-component/208677)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 7:34pm UTC](https://meta.discourse.org/t/use-ember-generate-to-generate-say-a-component/208677 "2021-11-09T19:34:06Z")

</div>

I was lamenting the woes of all of the things needed to add a route to Discourse (I’m currently trying to add an edit route to a custom model in a plugin) and my friend said “Is there a generator for those?” And, if you’…

---

## [API rate limits](https://meta.discourse.org/t/api-rate-limits/208405)

<div class="topic-metadata">

**Author:** [@lstuartfry](https://meta.discourse.org/u/lstuartfry)\
**Replies:** 7\
**Last updated:** [November 8, 2021, 9:33pm UTC](https://meta.discourse.org/t/api-rate-limits/208405 "2021-11-08T21:33:50Z")

</div>

Hey all, I’ve come across several (somewhat-old) articles on this forum that outline API rate limits (ex: Available settings for global rate limits and throttling). I’m interested in this because, during the customizati…

---

## [Hamburger menu slide direction](https://meta.discourse.org/t/hamburger-menu-slide-direction/208168)

<div class="topic-metadata">

**Author:** [@lstuartfry](https://meta.discourse.org/u/lstuartfry)\
**Replies:** 3\
**Last updated:** [November 5, 2021, 5:46pm UTC](https://meta.discourse.org/t/hamburger-menu-slide-direction/208168 "2021-11-05T17:46:55Z")

</div>

Hey everyone, I’m trying to configure (on mobile devices) the hamburger panel to slide out from the right-hand side of the screen, exactly the same as the profile panel is configured. I see there is a left: 0 rule that e…

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

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