# Development

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

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

**Page:** 127

---

## [Custom Intro page for discourse](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037)

<div class="topic-metadata">

**Author:** [@Aman\_Jagga](https://meta.discourse.org/u/Aman_Jagga)\
**Replies:** 13\
**Last updated:** [November 30, 2017, 12:52pm UTC](https://meta.discourse.org/t/custom-intro-page-for-discourse/53037 "2017-11-30T12:52:29Z")

</div>

I have a custom Intro page for the discourse forum to tell new visitors about it benefits.I have designed a page through a plugin and is available at location like www.example/home. I want to make this location(www.exam…

---

## [Mini\_suffix and "unknown file type"](https://meta.discourse.org/t/mini-suffix-and-unknown-file-type/75034)

<div class="topic-metadata">

**Author:** [@joebuhlig](https://meta.discourse.org/u/joebuhlig)\
**Replies:** 4\
**Last updated:** [November 30, 2017, 3:29am UTC](https://meta.discourse.org/t/mini-suffix-and-unknown-file-type/75034 "2017-11-30T03:29:35Z")

</div>

Okay. I give. I’ve spent the last six hours trying to nail this one down with no luck. I took a week off and had a functioning development environment running beforehand. When I attempted to load my local Discourse inst…

---

## [Is it possible to replace code of initializer via plugin?](https://meta.discourse.org/t/is-it-possible-to-replace-code-of-initializer-via-plugin/75031)

<div class="topic-metadata">

**Author:** [@sashich](https://meta.discourse.org/u/sashich)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 7:12pm UTC](https://meta.discourse.org/t/is-it-possible-to-replace-code-of-initializer-via-plugin/75031 "2017-11-29T19:12:49Z")

</div>

I want to customize code of page-tracking.js initializer via plugin. I’ve created plugin. I’ve placed my code in plugin-name/javascripts/discourse/initializers/page-tracking.js.es6 When page load i get error in console:…

---

## [How to get username of author's topic?](https://meta.discourse.org/t/how-to-get-username-of-authors-topic/75016)

<div class="topic-metadata">

**Author:** [@sashich](https://meta.discourse.org/u/sashich)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 2:54pm UTC](https://meta.discourse.org/t/how-to-get-username-of-authors-topic/75016 "2017-11-29T14:54:31Z")

</div>

I want to send username of a author’s topic when page:changed event . So i can get to access to topic model, but don’t understand how to get author. Topic model has user\_id only.

---

## [Add embedded CSS code as part of theme file](https://meta.discourse.org/t/add-embedded-css-code-as-part-of-theme-file/74981)

<div class="topic-metadata">

**Author:** [@Jane\_Jojo](https://meta.discourse.org/u/Jane_Jojo)\
**Replies:** 1\
**Last updated:** [November 28, 2017, 10:18pm UTC](https://meta.discourse.org/t/add-embedded-css-code-as-part-of-theme-file/74981 "2017-11-28T22:18:20Z")

</div>

I use a fork of the material stock theme with my custom styling edit going into the forked version and then using the Github remote URL for pulling and using the theme. I’ve not been successful in adding the embedding c…

---

## [Discourse appears to be broken with Postgres 10](https://meta.discourse.org/t/discourse-appears-to-be-broken-with-postgres-10/71723)

<div class="topic-metadata">

**Author:** [@darix](https://meta.discourse.org/u/darix)\
**Replies:** 17\
**Last updated:** [November 27, 2017, 1:36pm UTC](https://meta.discourse.org/t/discourse-appears-to-be-broken-with-postgres-10/71723 "2017-11-27T13:36:43Z")

</div>

discourse-1.9.0.beta12~git20.14b1736c74-9.1.noarch == Seed from /srv/www/vhosts/discourse/db/fixtures/003\_post\_action\_types.rb - PostActionType {:id=\>1, :name\_key=\>"bookmark", :is\_flag=\>false, :position=\>1} rake aborte…

---

## [How to check if there is a user in the group or not?](https://meta.discourse.org/t/how-to-check-if-there-is-a-user-in-the-group-or-not/74869)

<div class="topic-metadata">

**Author:** [@Stranik](https://meta.discourse.org/u/Stranik)\
**Replies:** 0\
**Last updated:** [November 27, 2017, 9:56am UTC](https://meta.discourse.org/t/how-to-check-if-there-is-a-user-in-the-group-or-not/74869 "2017-11-27T09:56:51Z")

</div>

At the moment I’m using the API (180ms time). $.ajax({ url: "/u/"+ username +".json" , dataType: 'json', async: false, success: function(data) { ... for (var t = 0; t \< groups.length; t++) { g\_id = groups\[t\]…

---

## [Getting a Stripe Checkout button (\<script\>, \<form\> tags) rendering in a post (via plugin).. help required](https://meta.discourse.org/t/getting-a-stripe-checkout-button-script-form-tags-rendering-in-a-post-via-plugin-help-required/71967)

<div class="topic-metadata">

**Author:** [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)\
**Replies:** 3\
**Last updated:** [November 27, 2017, 2:38am UTC](https://meta.discourse.org/t/getting-a-stripe-checkout-button-script-form-tags-rendering-in-a-post-via-plugin-help-required/71967 "2017-11-27T02:38:30Z")

</div>

I’m currently working on the Discourse Stripe Donations plugin, forked from @rimian’s original work. I’m close to getting a Stripe Checkout button displayed within a forum post, but something is preventing the Stripe HT…

---

## [Google Tag Manager - override page-tracking.es6.js](https://meta.discourse.org/t/google-tag-manager-override-page-tracking-es6-js/74521)

<div class="topic-metadata">

**Author:** [@Mathieu](https://meta.discourse.org/u/Mathieu)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 9:16pm UTC](https://meta.discourse.org/t/google-tag-manager-override-page-tracking-es6-js/74521 "2017-11-21T21:16:43Z")

</div>

Hello there :slight\_smile: I’m working with Google Tag Manager and there is something I don’t understand on your implementation: When I load the first page, I have two events sent: a « Page View » event; a « VirtualP…

---

## [Change title in head section for specific category](https://meta.discourse.org/t/change-title-in-head-section-for-specific-category/73533)

<div class="topic-metadata">

**Author:** [@Mathieu](https://meta.discourse.org/u/Mathieu)\
**Replies:** 3\
**Last updated:** [November 17, 2017, 3:26pm UTC](https://meta.discourse.org/t/change-title-in-head-section-for-specific-category/73533 "2017-11-17T15:26:22Z")

</div>

Hello there, I’m trying to do something by creating a plugin but I have problems to find the best way to. I have on my Discourse instance a specific category for which I want to change the in the head section. I need…

---

## [Auto generation of user api keys for push notification](https://meta.discourse.org/t/auto-generation-of-user-api-keys-for-push-notification/73669)

<div class="topic-metadata">

**Author:** [@ayazmaroof](https://meta.discourse.org/u/ayazmaroof)\
**Replies:** 3\
**Last updated:** [November 13, 2017, 2:35am UTC](https://meta.discourse.org/t/auto-generation-of-user-api-keys-for-push-notification/73669 "2017-11-13T02:35:20Z")

</div>

We are currently working on integrating our discourse forum into our mobile app. I have gone through several topics about whitelisting discourse mobile apps and push notifications. I understand at this point that users …

---

## [Event Listeners for footer loaded](https://meta.discourse.org/t/event-listeners-for-footer-loaded/47929)

<div class="topic-metadata">

**Author:** [@e\_division](https://meta.discourse.org/u/e_division)\
**Replies:** 6\
**Last updated:** [November 12, 2017, 10:25pm UTC](https://meta.discourse.org/t/event-listeners-for-footer-loaded/47929 "2017-11-12T22:25:15Z")

</div>

Hi! I was looking through old forum posts looking for a way to listen for page loads, specifically the footer but found possible outdated or deprecated solutions. The problem I am facing is that there is no current way o…

---

## [Use the API to find a username based on an email?](https://meta.discourse.org/t/use-the-api-to-find-a-username-based-on-an-email/45424)

<div class="topic-metadata">

**Author:** [@alehandrof](https://meta.discourse.org/u/alehandrof)\
**Replies:** 5\
**Last updated:** [November 9, 2017, 6:10am UTC](https://meta.discourse.org/t/use-the-api-to-find-a-username-based-on-an-email/45424 "2017-11-09T06:10:21Z")

</div>

I’m trying to integrate a Discourse forum into an existing site. Is it possible via the API to find out what a user’s username is, if all I have is their email?

---

## [Piping into rake admin:create](https://meta.discourse.org/t/piping-into-rake-admin-create/73643)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 0\
**Last updated:** [November 7, 2017, 11:36pm UTC](https://meta.discourse.org/t/piping-into-rake-admin-create/73643 "2017-11-07T23:36:19Z")

</div>

I have a new\_discourse\_database script that, among other things, does this: cat | bundle exec rake admin:create \<\<EOF pfaffman@somewhere.com mysafepassword mysafepassword EOF Until recently, it worked just fine. Now i…

---

## [How to connect my (existing) User Database?](https://meta.discourse.org/t/how-to-connect-my-existing-user-database/73597)

<div class="topic-metadata">

**Author:** [@mertins-mir](https://meta.discourse.org/u/mertins-mir)\
**Replies:** 3\
**Last updated:** [November 7, 2017, 2:03pm UTC](https://meta.discourse.org/t/how-to-connect-my-existing-user-database/73597 "2017-11-07T14:03:36Z")

</div>

Hi all, I have already an existing Webseite with a User DB. How can I use the Users from this DB to log into Discourse? It would be the best that they are automatically logged in, when the are already logged into my Web…

---

## [What languages / frameworks do I need to contribute to Discourse on GitHub?](https://meta.discourse.org/t/what-languages-frameworks-do-i-need-to-contribute-to-discourse-on-github/73388)

<div class="topic-metadata">

**Author:** [@nsuchy](https://meta.discourse.org/u/nsuchy)\
**Replies:** 4\
**Last updated:** [November 5, 2017, 7:10pm UTC](https://meta.discourse.org/t/what-languages-frameworks-do-i-need-to-contribute-to-discourse-on-github/73388 "2017-11-05T19:10:08Z")

</div>

I’m looking for more open source projects to contribute to on GitHub and would like to know which languages and frameworks I need to learn to contribute to the project. From what I understand so far… Ruby Ruby on Rail…

---

## [How to import data from Xenforo plugins into Discourse](https://meta.discourse.org/t/how-to-import-data-from-xenforo-plugins-into-discourse/73264)

<div class="topic-metadata">

**Author:** [@Morell](https://meta.discourse.org/u/Morell)\
**Replies:** 2\
**Last updated:** [November 2, 2017, 9:34am UTC](https://meta.discourse.org/t/how-to-import-data-from-xenforo-plugins-into-discourse/73264 "2017-11-02T09:34:19Z")

</div>

I need to import some data from a Xenforo table to Discourse using PluginStore, with the xenforo importer, how do I do it? Thanks

---

## [API for Category based notification level update](https://meta.discourse.org/t/api-for-category-based-notification-level-update/72914)

<div class="topic-metadata">

**Author:** [@Vaishak\_Kallore](https://meta.discourse.org/u/Vaishak_Kallore)\
**Replies:** 9\
**Last updated:** [October 30, 2017, 3:11pm UTC](https://meta.discourse.org/t/api-for-category-based-notification-level-update/72914 "2017-10-30T15:11:39Z")

</div>

Dear Discourse Team, I was looking for the API to add certain Categories to user’s Watching/Tracking list, however I could get only ‘SQL/Launcher’ based insertion ideas from here. My purpose is that, we have 50K+ users…

---

## [Speeding up Development Reloads when changing Ruby files](https://meta.discourse.org/t/speeding-up-development-reloads-when-changing-ruby-files/72923)

<div class="topic-metadata">

**Author:** [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Replies:** 1\
**Last updated:** [October 30, 2017, 3:32am UTC](https://meta.discourse.org/t/speeding-up-development-reloads-when-changing-ruby-files/72923 "2017-10-30T03:32:05Z")

</div>

Recently a few team members noticed that reloading after saving ruby files was painfully slow. It seems to take about 10 seconds after each save to reload in a browser. TL;DR: Check out the latest Discourse, add a ENV …

---

## [What is Profile.rb for?](https://meta.discourse.org/t/what-is-profile-rb-for/72946)

<div class="topic-metadata">

**Author:** [@drew0101](https://meta.discourse.org/u/drew0101)\
**Replies:** 1\
**Last updated:** [October 27, 2017, 9:02pm UTC](https://meta.discourse.org/t/what-is-profile-rb-for/72946 "2017-10-27T21:02:59Z")

</div>

Hello, I am working on configuring my development instance to use SMTP instead of mailcatcher. I notice that there are mail settings in config/environments/profile.rb but I cant figure out for the life of me what this e…

---

## [Building New Topic Lists](https://meta.discourse.org/t/building-new-topic-lists/72772)

<div class="topic-metadata">

**Author:** [@nbianca](https://meta.discourse.org/u/nbianca)\
**Replies:** 7\
**Last updated:** [October 26, 2017, 5:43am UTC](https://meta.discourse.org/t/building-new-topic-lists/72772 "2017-10-26T05:43:38Z")

</div>

Hello, For the past few weeks I have been working on a plugin that defines new topic lists (there is going to be a new topic list for each user which is going to contain only user’s favorite categories). I am developing…

---

## [What information should be modified in dev after a sql dump](https://meta.discourse.org/t/what-information-should-be-modified-in-dev-after-a-sql-dump/72787)

<div class="topic-metadata">

**Author:** [@rodeezy](https://meta.discourse.org/u/rodeezy)\
**Replies:** 6\
**Last updated:** [October 26, 2017, 12:15am UTC](https://meta.discourse.org/t/what-information-should-be-modified-in-dev-after-a-sql-dump/72787 "2017-10-26T00:15:02Z")

</div>

So I just did a sql dump of our prod db into our dev db so we have some good data to work with. I wanna run a script that changes anything that could mess stuff up for peeps. All I can think of right now are user email…

---

## [Need help with Sphinx integration](https://meta.discourse.org/t/need-help-with-sphinx-integration/72616)

<div class="topic-metadata">

**Author:** [@rornoob](https://meta.discourse.org/u/rornoob)\
**Replies:** 9\
**Last updated:** [October 24, 2017, 3:58pm UTC](https://meta.discourse.org/t/need-help-with-sphinx-integration/72616 "2017-10-24T15:58:23Z")

</div>

We want to transfer our site content to Discourse. For that we’ve setup a test site to check the performance of Discourse and find out that it’s built-in search is returning results very slowly (10 to 30 seconds) after l…

---

## [Increase file size on development environment?](https://meta.discourse.org/t/increase-file-size-on-development-environment/72539)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 6\
**Last updated:** [October 23, 2017, 11:33am UTC](https://meta.discourse.org/t/increase-file-size-on-development-environment/72539 "2017-10-23T11:33:04Z")

</div>

I’m working on an import that’s going live on Monday on a Discourse.org hosted site. There are some attachments bigger than 102400KB. Is there a way to increase that limit on the development environment so that I can inc…

---

## [Using ember within Docker install](https://meta.discourse.org/t/using-ember-within-docker-install/72499)

<div class="topic-metadata">

**Author:** [@drew0101](https://meta.discourse.org/u/drew0101)\
**Replies:** 3\
**Last updated:** [October 23, 2017, 8:01am UTC](https://meta.discourse.org/t/using-ember-within-docker-install/72499 "2017-10-23T08:01:12Z")

</div>

Hello, I am using the docker installation of discourse, but cant seem to interact with ember. I would like to add some ember addons to the project, but no ember commands work (I get the error ember: No such file or dire…

---

## [API fetch most recent posts for a topic](https://meta.discourse.org/t/api-fetch-most-recent-posts-for-a-topic/72421)

<div class="topic-metadata">

**Author:** [@Reid\_Van\_Melle](https://meta.discourse.org/u/Reid_Van_Melle)\
**Replies:** 3\
**Last updated:** [October 20, 2017, 1:20am UTC](https://meta.discourse.org/t/api-fetch-most-recent-posts-for-a-topic/72421 "2017-10-20T01:20:22Z")

</div>

I’ve read all of the discussions about using the API to fetch all of the posts for a particular topic using the post\_ids from the stream. However, I cannot seem to find anything that would allow me to fetch the most rece…

---

## [How to make category selector sideways via css](https://meta.discourse.org/t/how-to-make-category-selector-sideways-via-css/72363)

<div class="topic-metadata">

**Author:** [@Bank\_Live](https://meta.discourse.org/u/Bank_Live)\
**Replies:** 13\
**Last updated:** [October 19, 2017, 7:37am UTC](https://meta.discourse.org/t/how-to-make-category-selector-sideways-via-css/72363 "2017-10-19T07:37:57Z")

</div>

Hello @rewphus I like a categories at you make in website. http://tidbits.io I want to make same categories from example pictures. I can it how to make. Thank you very much. :grinning:

---

## [Is discourse 'stateless'?](https://meta.discourse.org/t/is-discourse-stateless/72380)

<div class="topic-metadata">

**Author:** [@iamphi](https://meta.discourse.org/u/iamphi)\
**Replies:** 2\
**Last updated:** [October 18, 2017, 11:55pm UTC](https://meta.discourse.org/t/is-discourse-stateless/72380 "2017-10-18T23:55:08Z")

</div>

I’ve identify these 3 components for my discourse forum hosted with AWS, behind an Elastic Load Balancer. A) web server (nginx/unicorn/RoR/redis). EC2 instance B) file storage. S3 C) postgres db. RDS. Is the A compon…

---

## [Setup email for development?](https://meta.discourse.org/t/setup-email-for-development/62787)

<div class="topic-metadata">

**Author:** [@Radulf](https://meta.discourse.org/u/Radulf)\
**Replies:** 5\
**Last updated:** [October 18, 2017, 8:06pm UTC](https://meta.discourse.org/t/setup-email-for-development/62787 "2017-10-18T20:06:49Z")

</div>

I’m currently setting up my discourse and am currently still using the development version as I still want to create some plugins. Now, I want to setup my email for the forum but do not know how I can do that in the deve…

---

## [Getting a post from its ID](https://meta.discourse.org/t/getting-a-post-from-its-id/72362)

<div class="topic-metadata">

**Author:** [@Mike4](https://meta.discourse.org/u/Mike4)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 6:39pm UTC](https://meta.discourse.org/t/getting-a-post-from-its-id/72362 "2017-10-18T18:39:16Z")

</div>

I’m trying to get info about a post using: curl -X GET "https://discourseExampleSite.com/posts/21?api\_key=\<api key\>&api\_username=\<api username\> Although it gives me the entire html tag. I know the post exists because …

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

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