# Development

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

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

**Page:** 145

---

## [Need help finding user info](https://meta.discourse.org/t/need-help-finding-user-info/42870)

<div class="topic-metadata">

**Author:** [@Ryan\_H](https://meta.discourse.org/u/Ryan_H)\
**Replies:** 3\
**Last updated:** [May 2, 2016, 3:25am UTC](https://meta.discourse.org/t/need-help-finding-user-info/42870 "2016-05-02T03:25:01Z")

</div>

Can someone point me to the file or helper file that pulls user info? I don’t mind hacking my way through my first Ruby project but just finding the right file is proving to take ages for me. I have a plugin that takes …

---

## [Setting the session token '\_t' on the entire domain, not just my subdomain](https://meta.discourse.org/t/setting-the-session-token--t-on-the-entire-domain-not-just-my-subdomain/43254)

<div class="topic-metadata">

**Author:** [@reverend\_paco](https://meta.discourse.org/u/reverend_paco)\
**Replies:** 6\
**Last updated:** [May 1, 2016, 11:38pm UTC](https://meta.discourse.org/t/setting-the-session-token--t-on-the-entire-domain-not-just-my-subdomain/43254 "2016-05-01T23:38:53Z")

</div>

Continuing the discussion from Encryption of \_forum\_session cookie: I have a site set up at forum.wordadoplicus.com. When a user logs in, it sets a cookie ‘\_t’ that I could use to look up user info in the database. Ho…

---

## [How to make the queued posts visible to their authors?](https://meta.discourse.org/t/how-to-make-the-queued-posts-visible-to-their-authors/39153)

<div class="topic-metadata">

**Author:** [@iva](https://meta.discourse.org/u/iva)\
**Replies:** 19\
**Last updated:** [April 29, 2016, 6:38pm UTC](https://meta.discourse.org/t/how-to-make-the-queued-posts-visible-to-their-authors/39153 "2016-04-29T18:38:35Z")

</div>

Currently, if Discourse is configured to require approval of posts unless the user has a certain trust level, those pending posts are not visible to their authors. I’m tasked with migrating an existing forum from anothe…

---

## [Altering an Ember Route in a Plugin](https://meta.discourse.org/t/altering-an-ember-route-in-a-plugin/43332)

<div class="topic-metadata">

**Author:** [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Replies:** 1\
**Last updated:** [April 27, 2016, 5:27pm UTC](https://meta.discourse.org/t/altering-an-ember-route-in-a-plugin/43332 "2016-04-27T17:27:59Z")

</div>

Continuing the discussion from Discourse.Route.buildRoutes is not a function: I am confused as to how to alter a route from within a plugin. Is it different then just following the same file path from within the plugin?…

---

## [Trying to edit user.hbs with no results](https://meta.discourse.org/t/trying-to-edit-user-hbs-with-no-results/43204)

<div class="topic-metadata">

**Author:** [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Replies:** 15\
**Last updated:** [April 26, 2016, 8:32pm UTC](https://meta.discourse.org/t/trying-to-edit-user-hbs-with-no-results/43204 "2016-04-26T20:32:30Z")

</div>

I am trying to modify the user.hbs file my plugin. Doing the standard plugins/myplugin/assets/javascripts/discourse/templates/user/user.hbs and copying the original code and modifying what I need. However, the result is …

---

## [Undefined method "enable quoting" for User](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000)

<div class="topic-metadata">

**Author:** [@ivanrlio](https://meta.discourse.org/u/ivanrlio)\
**Replies:** 4\
**Last updated:** [April 22, 2016, 8:47pm UTC](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000 "2016-04-22T20:47:18Z")

</div>

If I’m not mistaken, this error has occurred because I pulled the “latest” version a few weeks ago, but as I have not needed to go back to my local Discourse for testing until today, I have only just seen this error mes…

---

## [Return emails with list of user from API](https://meta.discourse.org/t/return-emails-with-list-of-user-from-api/42978)

<div class="topic-metadata">

**Author:** [@jamesarobbo](https://meta.discourse.org/u/jamesarobbo)\
**Replies:** 1\
**Last updated:** [April 22, 2016, 8:54am UTC](https://meta.discourse.org/t/return-emails-with-list-of-user-from-api/42978 "2016-04-22T08:54:00Z")

</div>

Hi Can anyone tell me how when i’m getting a list of users from the API i can get the email included in the response? Can’t find any docs on this. Many Thanks

---

## [Testing a Discourse API client on Travis-CI](https://meta.discourse.org/t/testing-a-discourse-api-client-on-travis-ci/42947)

<div class="topic-metadata">

**Author:** [@sckott](https://meta.discourse.org/u/sckott)\
**Replies:** 4\
**Last updated:** [April 22, 2016, 3:03am UTC](https://meta.discourse.org/t/testing-a-discourse-api-client-on-travis-ci/42947 "2016-04-22T03:03:47Z")

</div>

What’s the best or fastest way to get Discourse installed on Travis for testing a client for the Discourse API ? It appears as though the discourse\_api gem uses webmock so I think does not use a real Discourse installat…

---

## [Mixing a Category & "Featured" Topics](https://meta.discourse.org/t/mixing-a-category-featured-topics/42889)

<div class="topic-metadata">

**Author:** [@Takumo](https://meta.discourse.org/u/Takumo)\
**Replies:** 1\
**Last updated:** [April 22, 2016, 2:10am UTC](https://meta.discourse.org/t/mixing-a-category-featured-topics/42889 "2016-04-22T02:10:11Z")

</div>

Hi All, I’d like to present topics from discourse in a blog-style, to replace a rather unloved blog. I’ve already got an “Announcements” category in which only staff can create new topics. I’d like to also have the op…

---

## [Added custom initializer](https://meta.discourse.org/t/added-custom-initializer/42722)

<div class="topic-metadata">

**Author:** [@jamesarobbo](https://meta.discourse.org/u/jamesarobbo)\
**Replies:** 3\
**Last updated:** [April 19, 2016, 3:08pm UTC](https://meta.discourse.org/t/added-custom-initializer/42722 "2016-04-19T15:08:52Z")

</div>

Just to be certain, I’ve added a custom initializer file to the initializers folder, will this be picked up when the app starts? Cheers

---

## [Adding default sets of topics, categories and users to a new Discourse](https://meta.discourse.org/t/adding-default-sets-of-topics-categories-and-users-to-a-new-discourse/42733)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 6\
**Last updated:** [April 18, 2016, 7:48pm UTC](https://meta.discourse.org/t/adding-default-sets-of-topics-categories-and-users-to-a-new-discourse/42733 "2016-04-18T19:48:32Z")

</div>

I have another university professor interested in using Discourse as a tool to run online classes. I would like to have a means to create an initial Discourse database with a set of sample categories and topics. For exam…

---

## [Adding custom settings](https://meta.discourse.org/t/adding-custom-settings/42654)

<div class="topic-metadata">

**Author:** [@jamesarobbo](https://meta.discourse.org/u/jamesarobbo)\
**Replies:** 7\
**Last updated:** [April 18, 2016, 10:56am UTC](https://meta.discourse.org/t/adding-custom-settings/42654 "2016-04-18T10:56:28Z")

</div>

Hi Is it possible to add custom settings to Discourse and if so where should i do it? For example i want to add getsentry and need to store its DSN somewhere. cheers

---

## [\[SOLVED\] VM error on Windows 10 during Vagrant setup](https://meta.discourse.org/t/solved-vm-error-on-windows-10-during-vagrant-setup/42581)

<div class="topic-metadata">

**Author:** [@Ryan\_H](https://meta.discourse.org/u/Ryan_H)\
**Replies:** 1\
**Last updated:** [April 14, 2016, 11:51pm UTC](https://meta.discourse.org/t/solved-vm-error-on-windows-10-during-vagrant-setup/42581 "2016-04-14T23:51:32Z")

</div>

I’m running Win10; downloaded the latest VM from the link in the blog but everytime I try the vagrant up command it errors out with the following: There was an error while executing \`VBoxManage\`, a CLI used by Vagrant f…

---

## [Help debugging Sequence Diagram plugin](https://meta.discourse.org/t/help-debugging-sequence-diagram-plugin/40279)

<div class="topic-metadata">

**Author:** [@nskerl](https://meta.discourse.org/u/nskerl)\
**Replies:** 15\
**Last updated:** [April 14, 2016, 3:11pm UTC](https://meta.discourse.org/t/help-debugging-sequence-diagram-plugin/40279 "2016-04-14T15:11:04Z")

</div>

I am trying to cobble together a plugin that will support simple sequence diagrams in posts. For example, this: \[seqdiagram\] A-\>B:one B-\>A:two \[/seqdiagram\] Would result in this: The JS Sequence Diagram library ha…

---

## [Consider Random Topic backfill as background task?](https://meta.discourse.org/t/consider-random-topic-backfill-as-background-task/40210)

<div class="topic-metadata">

**Author:** [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Replies:** 1\
**Last updated:** [April 13, 2016, 12:24am UTC](https://meta.discourse.org/t/consider-random-topic-backfill-as-background-task/40210 "2016-04-13T00:24:40Z")

</div>

Whenever the random topic list backfill is executed page load time is dramatically hit. In this example here an additional 301.9 ms for the single query. If the “random topic” plays any part of a new users experience t…

---

## [Jobs are stuck in Sidekiq after a restart](https://meta.discourse.org/t/jobs-are-stuck-in-sidekiq-after-a-restart/42446)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 1\
**Last updated:** [April 12, 2016, 1:12pm UTC](https://meta.discourse.org/t/jobs-are-stuck-in-sidekiq-after-a-restart/42446 "2016-04-12T13:12:37Z")

</div>

I meant to post this to @mperham on twitter but it does not really fit in a tweet :slight\_smile: Quite a few times we have notice a “stuck” sidekiq. All the jobs in the queue appear to be “stuck” in a running state forev…

---

## [Using Redis then dump data is just great](https://meta.discourse.org/t/using-redis-then-dump-data-is-just-great/42431)

<div class="topic-metadata">

**Author:** [@Aymane\_Shuichi](https://meta.discourse.org/u/Aymane_Shuichi)\
**Replies:** 4\
**Last updated:** [April 12, 2016, 7:37am UTC](https://meta.discourse.org/t/using-redis-then-dump-data-is-just-great/42431 "2016-04-12T07:37:22Z")

</div>

Hello, Discourse is using Redis to store live data, and dumps this data periodically to the database. This is such a great idea, It makes scalability very easy and cheap. I want to learn more about this architecture, …

---

## [Version 1.5.1 - different policy?](https://meta.discourse.org/t/version-1-5-1-different-policy/42252)

<div class="topic-metadata">

**Author:** [@michaeld](https://meta.discourse.org/u/michaeld)\
**Replies:** 5\
**Last updated:** [April 8, 2016, 7:41pm UTC](https://meta.discourse.org/t/version-1-5-1-different-policy/42252 "2016-04-08T19:41:36Z")

</div>

Did you change your policy with respect to minor version updates on master? Just being curious - you used to have only some security updates in minor versions on stable, but it seems that you moved a LOT of stuff in 1.5…

---

## [Is the route /users/:username different for different actions?](https://meta.discourse.org/t/is-the-route-users-username-different-for-different-actions/42205)

<div class="topic-metadata">

**Author:** [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Replies:** 1\
**Last updated:** [April 8, 2016, 5:11pm UTC](https://meta.discourse.org/t/is-the-route-users-username-different-for-different-actions/42205 "2016-04-08T17:11:59Z")

</div>

I am trying to change the default view of profile from /activity to /summary. The route sending users to profile is /users/:username/ which is most commonly used for the avatar drop-down link to the profile and also the…

---

## [Just Curious: How exactly does profile views work?](https://meta.discourse.org/t/just-curious-how-exactly-does-profile-views-work/42202)

<div class="topic-metadata">

**Author:** [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Replies:** 1\
**Last updated:** [April 7, 2016, 9:27pm UTC](https://meta.discourse.org/t/just-curious-how-exactly-does-profile-views-work/42202 "2016-04-07T21:27:56Z")

</div>

I have been exploring the UserProfileViews model and the User controller hoping to find out exactly how this feature works. I get the basics of how it’s sending the current user’s id and the profile’s user id to the DB b…

---

## [Images uploading problem (Heroku, S3, JS)](https://meta.discourse.org/t/images-uploading-problem-heroku-s3-js/41558)

<div class="topic-metadata">

**Author:** [@Anthony\_Hopkins](https://meta.discourse.org/u/Anthony_Hopkins)\
**Replies:** 4\
**Last updated:** [April 6, 2016, 7:50pm UTC](https://meta.discourse.org/t/images-uploading-problem-heroku-s3-js/41558 "2016-04-06T19:50:57Z")

</div>

When I try to upload image (composer form, User Avatar etc.) the Uploading… never ends. I tested everything: Heroku → S3 connection correct (file uploaded): Heroku response Success (HTTP Status 200) It looks like…

---

## [Has anyone used the new click-hook widget?](https://meta.discourse.org/t/has-anyone-used-the-new-click-hook-widget/42078)

<div class="topic-metadata">

**Author:** [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Replies:** 1\
**Last updated:** [April 5, 2016, 7:24pm UTC](https://meta.discourse.org/t/has-anyone-used-the-new-click-hook-widget/42078 "2016-04-05T19:24:57Z")

</div>

What’s the best application for the new click-hook widget? What have other’s used it for?

---

## [How to actually define the action inside a widget](https://meta.discourse.org/t/how-to-actually-define-the-action-inside-a-widget/42081)

<div class="topic-metadata">

**Author:** [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Replies:** 2\
**Last updated:** [April 5, 2016, 7:20pm UTC](https://meta.discourse.org/t/how-to-actually-define-the-action-inside-a-widget/42081 "2016-04-05T19:20:46Z")

</div>

Continuing the discussion from A tour of how the Widget (Virtual DOM) code in Discourse works: In the topic-map widget I have the below code adding an action and class name to some text in the topic-map: contents.push(…

---

## [How to move the topic-map widget so it appears above the post's content](https://meta.discourse.org/t/how-to-move-the-topic-map-widget-so-it-appears-above-the-posts-content/42029)

<div class="topic-metadata">

**Author:** [@stevenpslade](https://meta.discourse.org/u/stevenpslade)\
**Replies:** 1\
**Last updated:** [April 4, 2016, 11:34pm UTC](https://meta.discourse.org/t/how-to-move-the-topic-map-widget-so-it-appears-above-the-posts-content/42029 "2016-04-04T23:34:07Z")

</div>

Looking to alter topic-map but cannot find it in either the post.hbs or topic.hbs. I have tried altering the component template via discourse/templates/components/topic-map.hbs but it does nothing. Perhaps it is because t…

---

## [What markdown parser Discourse is using?](https://meta.discourse.org/t/what-markdown-parser-discourse-is-using/41938)

<div class="topic-metadata">

**Author:** [@thangngoc89](https://meta.discourse.org/u/thangngoc89)\
**Replies:** 6\
**Last updated:** [April 2, 2016, 10:09pm UTC](https://meta.discourse.org/t/what-markdown-parser-discourse-is-using/41938 "2016-04-02T22:09:30Z")

</div>

I’m building a portal page for our community by using Statinamic (a static site generator) which will pull data from Discourse API and rebuild everyday. But I can’t find a compatible Javascript markdown parser for Disco…

---

## [Admin banner notification of error floods at /logs](https://meta.discourse.org/t/admin-banner-notification-of-error-floods-at-logs/39379)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 6\
**Last updated:** [March 30, 2016, 2:29pm UTC](https://meta.discourse.org/t/admin-banner-notification-of-error-floods-at-logs/39379 "2016-03-30T14:29:43Z")

</div>

We use the awesome Logster to display our error logs on all Discourse sites in the /logs path. In many cases we noticed “log floods” that do not get notified. Log floods are strong indicators that stuff is seriously …

---

## [How I debugged and fixed issues with unread/new counts](https://meta.discourse.org/t/how-i-debugged-and-fixed-issues-with-unread-new-counts/41738)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 4\
**Last updated:** [March 30, 2016, 3:11am UTC](https://meta.discourse.org/t/how-i-debugged-and-fixed-issues-with-unread-new-counts/41738 "2016-03-30T03:11:42Z")

</div>

Today I fixed a couple of issues with incorrect new and unread counts. https://github.com/discourse/discourse/commit/fbdd9c00345f7df31fb194633923e242f037bbbf The fixes themselves though interesting are less interesting…

---

## [How do I make my gallery?](https://meta.discourse.org/t/how-do-i-make-my-gallery/41618)

<div class="topic-metadata">

**Author:** [@JimmyX](https://meta.discourse.org/u/JimmyX)\
**Replies:** 1\
**Last updated:** [March 29, 2016, 6:59pm UTC](https://meta.discourse.org/t/how-do-i-make-my-gallery/41618 "2016-03-29T18:59:52Z")

</div>

I am building a web site heavily based on images and videos that people will comment on. There will also be text and audio as subjects of discussion, which perhaps I will also have people represent with images. So I will…

---

## [Plugin docs or tutorials on hooks?](https://meta.discourse.org/t/plugin-docs-or-tutorials-on-hooks/41691)

<div class="topic-metadata">

**Author:** [@RyanH](https://meta.discourse.org/u/RyanH)\
**Replies:** 1\
**Last updated:** [March 29, 2016, 2:05am UTC](https://meta.discourse.org/t/plugin-docs-or-tutorials-on-hooks/41691 "2016-03-29T02:05:45Z")

</div>

I have a custom field for users when they register. The user enters an ID, in this case the ID represents their job. Is there anyway to write a plugin that displays that custom field alongside the users screen name? Can …

---

## [Adding an interface adjacent to a conversation (with a plugin)](https://meta.discourse.org/t/adding-an-interface-adjacent-to-a-conversation-with-a-plugin/41407)

<div class="topic-metadata">

**Author:** [@paulm](https://meta.discourse.org/u/paulm)\
**Replies:** 2\
**Last updated:** [March 26, 2016, 2:43am UTC](https://meta.discourse.org/t/adding-an-interface-adjacent-to-a-conversation-with-a-plugin/41407 "2016-03-26T02:43:53Z")

</div>

I’d like to create a plugin that integrates a separate user interface with a topic. This is what I’m thinking: So the topic would be as normal, except each post can have a separate, but linked, interface. If a post h…

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

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