# Development

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

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

**Page:** 113

---

## [Getting the top stats views populated](https://meta.discourse.org/t/getting-the-top-stats-views-populated/107683)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**Replies:** 1\
**Last updated:** [January 28, 2019, 5:56am UTC](https://meta.discourse.org/t/getting-the-top-stats-views-populated/107683 "2019-01-28T05:56:51Z")

</div>

Other than importing topics and posts what needs to be imported or what process(es) needs to be run to populate the views data on the {host}/top page?

---

## [Can't run plugin:spec, SeedFu error](https://meta.discourse.org/t/cant-run-plugin-spec-seedfu-error/107584)

<div class="topic-metadata">

**Author:** [@Kampfkarren](https://meta.discourse.org/u/Kampfkarren)\
**Replies:** 4\
**Last updated:** [January 26, 2019, 2:39pm UTC](https://meta.discourse.org/t/cant-run-plugin-spec-seedfu-error/107584 "2019-01-26T14:39:23Z")

</div>

I used to be able to test my plugins, but after updating Discourse, I get this error on any attempt to bundle exec rake plugin:spec\["PLUGIN\_NAME"\] when the test has require "rails\_helper" Failure/Error: SeedFu.seed NoM…

---

## [Missing font icon on new dev installation](https://meta.discourse.org/t/missing-font-icon-on-new-dev-installation/107533)

<div class="topic-metadata">

**Author:** [@BabylonZeus](https://meta.discourse.org/u/BabylonZeus)\
**Replies:** 4\
**Last updated:** [January 25, 2019, 5:31pm UTC](https://meta.discourse.org/t/missing-font-icon-on-new-dev-installation/107533 "2019-01-25T17:31:05Z")

</div>

Hi all. I am discovering Discourse. I have just installed it (v2.2.0.beta9 +83), for testing purpose for now. I used the 30mn quick installation through docker, with the standalone sample. I couldn’t set the email sm…

---

## [How to access plugin paths via URL?](https://meta.discourse.org/t/how-to-access-plugin-paths-via-url/107525)

<div class="topic-metadata">

**Author:** [@Pilvinen](https://meta.discourse.org/u/Pilvinen)\
**Replies:** 10\
**Last updated:** [January 25, 2019, 5:01pm UTC](https://meta.discourse.org/t/how-to-access-plugin-paths-via-url/107525 "2019-01-25T17:01:23Z")

</div>

I’m trying to set up a web hook and I need to point the payload to a local file. The file inside the Docker container is located at: /var/www/discourse/plugins/distodis/docroot/ To what address does this translate to …

---

## [Anon Topics and Replies](https://meta.discourse.org/t/anon-topics-and-replies/107486)

<div class="topic-metadata">

**Author:** [@bcartwri96](https://meta.discourse.org/u/bcartwri96)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 2:20am UTC](https://meta.discourse.org/t/anon-topics-and-replies/107486 "2019-01-25T02:20:09Z")

</div>

Hi there! I’m on the path to building a plugin which allows users to post a topic or reply to an existing topic anonymously, yet only anon to fellow members of their group. The basic outline is that we would have one g…

---

## [Query on the database to find email](https://meta.discourse.org/t/query-on-the-database-to-find-email/107420)

<div class="topic-metadata">

**Author:** [@Gael\_Koch](https://meta.discourse.org/u/Gael_Koch)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 3:07pm UTC](https://meta.discourse.org/t/query-on-the-database-to-find-email/107420 "2019-01-24T15:07:24Z")

</div>

Hi, I want to create a query with the data explorer plugin to find all the email addresses of the users. I tried to create a query on the “users” table but it’s not stored there. I tried to find it on internet but coul…

---

## [Native app auth questions](https://meta.discourse.org/t/native-app-auth-questions/107264)

<div class="topic-metadata">

**Author:** [@ymi](https://meta.discourse.org/u/ymi)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 10:09am UTC](https://meta.discourse.org/t/native-app-auth-questions/107264 "2019-01-23T10:09:42Z")

</div>

I am not sure if this is the correct thread for my question. I currently have a native app with API backend system and I am looking to integrate with Discourse API for our app forum module. I am wondering will it be pos…

---

## [Unlisting a topic in the ruby console](https://meta.discourse.org/t/unlisting-a-topic-in-the-ruby-console/107060)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**Replies:** 1\
**Last updated:** [January 21, 2019, 6:10am UTC](https://meta.discourse.org/t/unlisting-a-topic-in-the-ruby-console/107060 "2019-01-21T06:10:27Z")

</div>

How do you unlist a topic in the ruby console?

---

## [Events when scrolling - track pageviews](https://meta.discourse.org/t/events-when-scrolling-track-pageviews/106809)

<div class="topic-metadata">

**Author:** [@Jono\_Brain2](https://meta.discourse.org/u/Jono_Brain2)\
**Replies:** 0\
**Last updated:** [January 17, 2019, 2:30pm UTC](https://meta.discourse.org/t/events-when-scrolling-track-pageviews/106809 "2019-01-17T14:30:08Z")

</div>

Hi I want to trigger Tag Manager when a user scrolls the topic list and when scrolling down a topic. Ideal would be at a set point e.g. every 10 topics and for posts when they scroll past each post. I can’t see how yo…

---

## [Topic list custom view](https://meta.discourse.org/t/topic-list-custom-view/104640)

<div class="topic-metadata">

**Author:** [@vadim0426](https://meta.discourse.org/u/vadim0426)\
**Replies:** 4\
**Last updated:** [January 17, 2019, 8:04pm UTC](https://meta.discourse.org/t/topic-list-custom-view/104640 "2019-01-17T20:04:27Z")

</div>

Hi, I am developing new theme for Discourse forum. There are some feature I can’t understand how to do and is it possible. Is it real to present topic list as on the screen? Topic grouping by created date with time…

---

## [How should I get the raw text of a single post](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516)

<div class="topic-metadata">

**Author:** [@Mohammad\_Etemaddar](https://meta.discourse.org/u/Mohammad_Etemaddar)\
**Replies:** 5\
**Last updated:** [January 17, 2019, 12:40am UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516 "2019-01-17T00:40:45Z")

</div>

I have the same problem with GET: https://meta.discourse.org/posts/280744 . It doesn’t work on meta.discourse nor on try.discourse nor our owned forum. How should I get the single post raw text?

---

## [Delete users via API](https://meta.discourse.org/t/delete-users-via-api/106443)

<div class="topic-metadata">

**Author:** [@Martin\_Delille](https://meta.discourse.org/u/Martin_Delille)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 8:14pm UTC](https://meta.discourse.org/t/delete-users-via-api/106443 "2019-01-15T20:14:50Z")

</div>

I try to delete a user on my instance hosted by discourse with the following comand: curl -X DELETE "https://forum.atelier-medias.org/admin/users/SergeGainsbourg.json?api\_key=xxxxxx&api\_username=system" I have the foll…

---

## [Brand header theme component breaks page layout on static and no\_ember pages](https://meta.discourse.org/t/brand-header-theme-component-breaks-page-layout-on-static-and-no-ember-pages/106544)

<div class="topic-metadata">

**Author:** [@amotl](https://meta.discourse.org/u/amotl)\
**Replies:** 3\
**Last updated:** [January 15, 2019, 6:40am UTC](https://meta.discourse.org/t/brand-header-theme-component-breaks-page-layout-on-static-and-no-ember-pages/106544 "2019-01-15T06:40:14Z")

</div>

Hi there, Introduction We rediscovered an issue with the Brand Header which breaks the rendering on 404 pages and other pages without ember, already collected some background information about it and thought it would be…

---

## [Side effects with system\_user monkey patch?](https://meta.discourse.org/t/side-effects-with-system-user-monkey-patch/106470)

<div class="topic-metadata">

**Author:** [@JeffsGlue2008](https://meta.discourse.org/u/JeffsGlue2008)\
**Replies:** 5\
**Last updated:** [January 14, 2019, 3:55pm UTC](https://meta.discourse.org/t/side-effects-with-system-user-monkey-patch/106470 "2019-01-14T15:55:56Z")

</div>

My team would like a plugin where the system user is a random person from our PR team, as users respond better to real people than robots (even if it’s made obvious that it’s an automated action/message!) In response, I…

---

## [Unique code for user to register](https://meta.discourse.org/t/unique-code-for-user-to-register/106491)

<div class="topic-metadata">

**Author:** [@guiqis](https://meta.discourse.org/u/guiqis)\
**Replies:** 5\
**Last updated:** [January 14, 2019, 3:18pm UTC](https://meta.discourse.org/t/unique-code-for-user-to-register/106491 "2019-01-14T15:18:33Z")

</div>

Is it possible to have an unique code from another application (like those purchase codes that people use to activate softwares and support) for the users to register? I’m using discourse as an exclusive forum for users…

---

## [Post unread count clear api](https://meta.discourse.org/t/post-unread-count-clear-api/106252)

<div class="topic-metadata">

**Author:** [@Ni2](https://meta.discourse.org/u/Ni2)\
**Replies:** 3\
**Last updated:** [January 14, 2019, 9:48am UTC](https://meta.discourse.org/t/post-unread-count-clear-api/106252 "2019-01-14T09:48:20Z")

</div>

Hi Team, Is there any api for clear unread count for replied topic? I have done reverse engineering and called api http://192.168.131.180/t/{topic\_id}/{posts\_count}.json?track\_visit=true&forceLoad=true&\_={timestamp}&a…

---

## [Locking a post in the console](https://meta.discourse.org/t/locking-a-post-in-the-console/106410)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**Replies:** 4\
**Last updated:** [January 13, 2019, 11:36am UTC](https://meta.discourse.org/t/locking-a-post-in-the-console/106410 "2019-01-13T11:36:58Z")

</div>

How do you lock a post in the console? Is it as simple as setting post.locked\_by\_id to a valid user id?

---

## [About front end structure](https://meta.discourse.org/t/about-front-end-structure/106263)

<div class="topic-metadata">

**Author:** [@Chong\_An\_Chen](https://meta.discourse.org/u/Chong_An_Chen)\
**Replies:** 4\
**Last updated:** [January 13, 2019, 12:36am UTC](https://meta.discourse.org/t/about-front-end-structure/106263 "2019-01-13T00:36:12Z")

</div>

as far as I know, there are three ways to build front-end code, ember widget raw.hbs (? and there are some questions: I’ve tried to use ember component in raw.hbs, but it seems not working, how to share all the fun…

---

## [Effects of import\_mode = true](https://meta.discourse.org/t/effects-of-import-mode-true/106327)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**Replies:** 1\
**Last updated:** [January 12, 2019, 2:58pm UTC](https://meta.discourse.org/t/effects-of-import-mode-true/106327 "2019-01-12T14:58:47Z")

</div>

When importing using an import script what does import\_mode = true do?

---

## [Bug in Topic Unread while reply in topic](https://meta.discourse.org/t/bug-in-topic-unread-while-reply-in-topic/106189)

<div class="topic-metadata">

**Author:** [@Prakash.j](https://meta.discourse.org/u/Prakash.j)\
**Replies:** 3\
**Last updated:** [January 11, 2019, 9:44am UTC](https://meta.discourse.org/t/bug-in-topic-unread-while-reply-in-topic/106189 "2019-01-11T09:44:13Z")

</div>

Hi Team, Good Evening I am Using Discourse API and in Topic List Unread count not displaying in some topic may be in some time. so can you please help for displaying unread reply in specific topic List. can you please …

---

## [How to increase Header avatar size?](https://meta.discourse.org/t/how-to-increase-header-avatar-size/46719)

<div class="topic-metadata">

**Author:** [@P16](https://meta.discourse.org/u/P16)\
**Replies:** 15\
**Last updated:** [January 9, 2019, 10:43pm UTC](https://meta.discourse.org/t/how-to-increase-header-avatar-size/46719 "2019-01-09T22:43:54Z")

</div>

Other than editing the header file, is there an easy way to increase the header avatar size (menu icon)? If I scale the current image, it gets blurry. I think the medium avatar image is used and is closer to 32px. I want…

---

## [Share your Discourse dev setup](https://meta.discourse.org/t/share-your-discourse-dev-setup/105816)

<div class="topic-metadata">

**Author:** [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Replies:** 6\
**Last updated:** [January 9, 2019, 3:45pm UTC](https://meta.discourse.org/t/share-your-discourse-dev-setup/105816 "2019-01-09T15:45:38Z")

</div>

I will start with my own setup on macOS. I don’t use docker for speed reasons and also because I enjoy having fewer indirections levels as much as possible. redis is installed with homebrew I use postgress.app for the…

---

## [Is there a way to modify Discourse endpoints through plugin?](https://meta.discourse.org/t/is-there-a-way-to-modify-discourse-endpoints-through-plugin/105967)

<div class="topic-metadata">

**Author:** [@Chong\_An\_Chen](https://meta.discourse.org/u/Chong_An_Chen)\
**Replies:** 3\
**Last updated:** [January 8, 2019, 2:49pm UTC](https://meta.discourse.org/t/is-there-a-way-to-modify-discourse-endpoints-through-plugin/105967 "2019-01-08T14:49:52Z")

</div>

for example, I want to change the result on /latest.json endpoint, and I found the controller is list\_controller.rb, is there a way to modify related functions through plugin?

---

## [Using CSS to suppress vote options from view results with zero votes](https://meta.discourse.org/t/using-css-to-suppress-vote-options-from-view-results-with-zero-votes/105275)

<div class="topic-metadata">

**Author:** [@bletch](https://meta.discourse.org/u/bletch)\
**Replies:** 3\
**Last updated:** [January 6, 2019, 5:01pm UTC](https://meta.discourse.org/t/using-css-to-suppress-vote-options-from-view-results-with-zero-votes/105275 "2019-01-06T17:01:59Z")

</div>

Hi meta, Help please! tl;dr I’ve wracked my (limited) brain on this but with no joy. Can someone tell me how I can hide the non-chosen poll items once you’ve participated in a poll? For example, here is a screenshot of…

---

## [Adding command line tools support for user api keys](https://meta.discourse.org/t/adding-command-line-tools-support-for-user-api-keys/103803)

<div class="topic-metadata">

**Author:** [@vsoch](https://meta.discourse.org/u/vsoch)\
**Replies:** 23\
**Last updated:** [January 4, 2019, 3:53pm UTC](https://meta.discourse.org/t/adding-command-line-tools-support-for-user-api-keys/103803 "2019-01-04T15:53:35Z")

</div>

I can give you my use case to help a bit with next steps! I’ve added a discourse endpoint to the “helpme” client → HelpMe | HelpMe - a command line tool for helping you out. and Journal of Open Source Software: HelpMe Co…

---

## [Website looks different on different browsers](https://meta.discourse.org/t/website-looks-different-on-different-browsers/105561)

<div class="topic-metadata">

**Author:** [@Edwin\_Mhoy\_Silva](https://meta.discourse.org/u/Edwin_Mhoy_Silva)\
**Replies:** 2\
**Last updated:** [January 4, 2019, 1:25am UTC](https://meta.discourse.org/t/website-looks-different-on-different-browsers/105561 "2019-01-04T01:25:48Z")

</div>

I have customized my discourse website. The website look good on chrome, but when using safari a lot of the element on the website har positioned differently. I read a lot of articles only, and found something which coul…

---

## [Rack::Request:Class undefined method error](https://meta.discourse.org/t/rack-class-undefined-method-error/105458)

<div class="topic-metadata">

**Author:** [@sau226](https://meta.discourse.org/u/sau226)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 7:43pm UTC](https://meta.discourse.org/t/rack-class-undefined-method-error/105458 "2019-01-02T19:43:00Z")

</div>

Continuing the discussion from IP addresses are not correct in my installation: I am currently getting an error from discourse when I try to rebuild on my staging (I use it for dev but its installed using the production…

---

## [Plugin Development: List a user’s groups without making a request](https://meta.discourse.org/t/plugin-development-list-a-user-s-groups-without-making-a-request/103710)

<div class="topic-metadata">

**Author:** [@kleinfreund](https://meta.discourse.org/u/kleinfreund)\
**Replies:** 8\
**Last updated:** [January 2, 2019, 10:15am UTC](https://meta.discourse.org/t/plugin-development-list-a-user-s-groups-without-making-a-request/103710 "2019-01-02T10:15:38Z")

</div>

As per “https://meta.discourse.org/t/getting-users-custom-groups-problems/37792”, the property Discourse.User.current().groups isn’t exposed to all pages. As per “Discourse docs: Get a single user by username”, the resp…

---

## [Isolate conversations by user groups](https://meta.discourse.org/t/isolate-conversations-by-user-groups/105239)

<div class="topic-metadata">

**Author:** [@mcki0127](https://meta.discourse.org/u/mcki0127)\
**Replies:** 2\
**Last updated:** [December 29, 2018, 2:57am UTC](https://meta.discourse.org/t/isolate-conversations-by-user-groups/105239 "2018-12-29T02:57:51Z")

</div>

I am considering using Discource for my web app. I have a networking site where groups of people can create and join separate “networks.” I want them to have the ability to hold private in-network conversations. I’m h…

---

## [Changing a user's email address via api](https://meta.discourse.org/t/changing-a-users-email-address-via-api/41027)

<div class="topic-metadata">

**Author:** [@paully21](https://meta.discourse.org/u/paully21)\
**Replies:** 7\
**Last updated:** [March 14, 2016, 5:05pm UTC](https://meta.discourse.org/t/changing-a-users-email-address-via-api/41027 "2016-03-14T17:05:58Z")

</div>

We have a section on our website that allows users to manage their Discourse account preferences. Most of our users only use Discourse as a sort of mailing list, so we made it easy for them to manage that activity within…

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

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