# Development

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

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

**Page:** 125

---

## [Anonymize user - blank response from API on attempt?](https://meta.discourse.org/t/anonymize-user-blank-response-from-api-on-attempt/79144)

<div class="topic-metadata">

**Author:** [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)\
**Replies:** 4\
**Last updated:** [January 29, 2018, 11:42pm UTC](https://meta.discourse.org/t/anonymize-user-blank-response-from-api-on-attempt/79144 "2018-01-29T23:42:29Z")

</div>

Hi folks, I’m trying to hit the endpoint to anonymize a user in Discourse; I’ve got single sign-on between WordPress and Discourse set up, and when the user deletes their account on WordPress I want to anonymize them in …

---

## [Import users from csv](https://meta.discourse.org/t/import-users-from-csv/79203)

<div class="topic-metadata">

**Author:** [@michaeltcoelho](https://meta.discourse.org/u/michaeltcoelho)\
**Replies:** 4\
**Last updated:** [January 29, 2018, 7:38pm UTC](https://meta.discourse.org/t/import-users-from-csv/79203 "2018-01-29T19:38:02Z")

</div>

Hi there, i’ve exported users from my blog into a csv. Trying to import on discourse through a rake script i’m getting the following error: NoMethodError: undefined method \`bio\_raw\_will\_change!' for nil:NilClass /var/w…

---

## [Token Controlled Permissions](https://meta.discourse.org/t/token-controlled-permissions/44574)

<div class="topic-metadata">

**Author:** [@auryn\_macmillan](https://meta.discourse.org/u/auryn_macmillan)\
**Replies:** 13\
**Last updated:** [January 29, 2018, 7:34pm UTC](https://meta.discourse.org/t/token-controlled-permissions/44574 "2018-01-29T19:34:43Z")

</div>

UPDATE: There is now a bounty US$250 +10ETH for this feature. UPDATE: below is a more detailed spec of what we are looking to build. In short, this consists of two separate features - (1) Ability to associate Ethereum …

---

## [Plugin development: site settings "enabled" checkbox not working](https://meta.discourse.org/t/plugin-development-site-settings-enabled-checkbox-not-working/65460)

<div class="topic-metadata">

**Author:** [@jack2](https://meta.discourse.org/u/jack2)\
**Replies:** 7\
**Last updated:** [January 28, 2018, 9:42pm UTC](https://meta.discourse.org/t/plugin-development-site-settings-enabled-checkbox-not-working/65460 "2018-01-28T21:42:51Z")

</div>

I declared a myplugin\_enabled site setting in config/settings.yml, config/locales/server.en.yml and plugin.rb (as described here),. However, I’ve recently discovered that unchecking the box doesn’t disable my plugin. Th…

---

## [Looking for Ruby-based CMS recommendations as a compliment to Discourse](https://meta.discourse.org/t/looking-for-ruby-based-cms-recommendations-as-a-compliment-to-discourse/78930)

<div class="topic-metadata">

**Author:** [@Vocino](https://meta.discourse.org/u/Vocino)\
**Replies:** 6\
**Last updated:** [January 26, 2018, 3:01pm UTC](https://meta.discourse.org/t/looking-for-ruby-based-cms-recommendations-as-a-compliment-to-discourse/78930 "2018-01-26T15:01:13Z")

</div>

We’re looking to build out some other parts of our site and transform what is currently a landing page into a more robust and full-featured destination. I would love to stay within the Ruby world and even better would be…

---

## [Vagrant environment randomly hangs VirtualBox VM](https://meta.discourse.org/t/vagrant-environment-randomly-hangs-virtualbox-vm/78670)

<div class="topic-metadata">

**Author:** [@codechef](https://meta.discourse.org/u/codechef)\
**Replies:** 1\
**Last updated:** [January 26, 2018, 5:28pm UTC](https://meta.discourse.org/t/vagrant-environment-randomly-hangs-virtualbox-vm/78670 "2018-01-26T17:28:08Z")

</div>

I like the Vagrant dev setup because of it’s simplicity and isolation. However, I’ve found it to be unreliable and am curious if anyone else is running into this? Symptom Within a couple minutes of starting rails and s…

---

## [Track User Search](https://meta.discourse.org/t/track-user-search/78982)

<div class="topic-metadata">

**Author:** [@Bolarinwa\_Balogun](https://meta.discourse.org/u/Bolarinwa_Balogun)\
**Replies:** 3\
**Last updated:** [January 26, 2018, 1:04am UTC](https://meta.discourse.org/t/track-user-search/78982 "2018-01-26T01:04:46Z")

</div>

Hi, I am working on a discourse setup to be used for a school discussion board. For analytics purposes, I wanted to know if it is possible to view and keep track of search queries made by users. I also wanted to ask abo…

---

## [Advanced editor?](https://meta.discourse.org/t/advanced-editor/78998)

<div class="topic-metadata">

**Author:** [@SmoothModeler](https://meta.discourse.org/u/SmoothModeler)\
**Replies:** 0\
**Last updated:** [January 25, 2018, 8:25pm UTC](https://meta.discourse.org/t/advanced-editor/78998 "2018-01-25T20:25:03Z")

</div>

Hello! :wave: edit: already found something.. sorry.. (GitHub - MonDiscourse/discourse-formatting-toolbar: Add formatting options on your post (center, align to right, justify a text, etc.) · GitHub) Is there a more ad…

---

## [New top-menu item or drop-down](https://meta.discourse.org/t/new-top-menu-item-or-drop-down/78940)

<div class="topic-metadata">

**Author:** [@Hossein\_Amerkashi](https://meta.discourse.org/u/Hossein_Amerkashi)\
**Replies:** 1\
**Last updated:** [January 25, 2018, 5:19am UTC](https://meta.discourse.org/t/new-top-menu-item-or-drop-down/78940 "2018-01-25T05:19:42Z")

</div>

Hi, Is there anyway to add in a drop-down (like shown below) in the top menu? Ultimately, we like to add drop-down to include multiple items to link to website and help-docs,etc. If drop-down not possible, how top signl…

---

## [Using TarWriter to stream backup](https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909)

<div class="topic-metadata">

**Author:** [@riking](https://meta.discourse.org/u/riking)\
**Replies:** 3\
**Last updated:** [January 25, 2018, 1:33am UTC](https://meta.discourse.org/t/using-tarwriter-to-stream-backup/78909 "2018-01-25T01:33:53Z")

</div>

While doing research, I found that this class is already available in Discourse via require 'rubygems/package': Class: Gem::Package::TarWriter (Ruby 2.0.0) Using this should allow Discourse to take backups without havin…

---

## [Refactoring plugin installation](https://meta.discourse.org/t/refactoring-plugin-installation/78848)

<div class="topic-metadata">

**Author:** [@Ori\_Pekelman](https://meta.discourse.org/u/Ori_Pekelman)\
**Replies:** 1\
**Last updated:** [January 24, 2018, 9:39am UTC](https://meta.discourse.org/t/refactoring-plugin-installation/78848 "2018-01-24T09:39:22Z")

</div>

Hi, I noticed that public/plugins/ requires to be on a read/write mount, which is awkward as this is code under git control.. I wanted to fix that .. but I got to the part where you install plugins .. and I find that p…

---

## [Is there any fake data to be used to test a plugin?](https://meta.discourse.org/t/is-there-any-fake-data-to-be-used-to-test-a-plugin/78784)

<div class="topic-metadata">

**Author:** [@saiqulhaq](https://meta.discourse.org/u/saiqulhaq)\
**Replies:** 5\
**Last updated:** [January 24, 2018, 2:37am UTC](https://meta.discourse.org/t/is-there-any-fake-data-to-be-used-to-test-a-plugin/78784 "2018-01-24T02:37:11Z")

</div>

Hi all actually it’s been on my head few times I am wondering is there any public dataset of Discourse site that can be used? similar like FakerPress – WordPress plugin | WordPress.org or WP Dummy Post Generator – Wor…

---

## [Which files can you override from a plugin?](https://meta.discourse.org/t/which-files-can-you-override-from-a-plugin/78781)

<div class="topic-metadata">

**Author:** [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)\
**Replies:** 6\
**Last updated:** [January 23, 2018, 6:19pm UTC](https://meta.discourse.org/t/which-files-can-you-override-from-a-plugin/78781 "2018-01-23T18:19:56Z")

</div>

I’m creating a plugin that overrides a lot of files for a pretty much complex customization of Discourse. I was able to override most of the file except for the ones in the components directory. Is this expected?, is so,…

---

## [./launcher rebuild app error './launcher: No such file or directory'](https://meta.discourse.org/t/launcher-rebuild-app-error-launcher-no-such-file-or-directory/78762)

<div class="topic-metadata">

**Author:** [@obiwankenoobi](https://meta.discourse.org/u/obiwankenoobi)\
**Replies:** 7\
**Last updated:** [January 23, 2018, 4:31pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-error-launcher-no-such-file-or-directory/78762 "2018-01-23T16:31:28Z")

</div>

Hey guys. So I started with Discourse a couple of days ago and today I tried to install some plugin but couldn’t make it work. I followed this tutorial and when I get to the final stage and should have to rebuild the app…

---

## [Set post custom field when composing](https://meta.discourse.org/t/set-post-custom-field-when-composing/78642)

<div class="topic-metadata">

**Author:** [@sicher](https://meta.discourse.org/u/sicher)\
**Replies:** 3\
**Last updated:** [January 23, 2018, 9:00am UTC](https://meta.discourse.org/t/set-post-custom-field-when-composing/78642 "2018-01-23T09:00:47Z")

</div>

I am working on a plugin that should allow users to create specially flagged posts when pressing a button in the topic view. The post flag is just a boolean value. This is for interaction with an external tool. Currently…

---

## [Exporting all Topic titles and IDs?](https://meta.discourse.org/t/exporting-all-topic-titles-and-ids/78624)

<div class="topic-metadata">

**Author:** [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)\
**Replies:** 1\
**Last updated:** [January 22, 2018, 7:03am UTC](https://meta.discourse.org/t/exporting-all-topic-titles-and-ids/78624 "2018-01-22T07:03:03Z")

</div>

Hey folks, is there a way I can export a list of topic titles and IDs? I’m happy to do it from the command line in the DigitalOcean droplet via SSH if I have to, if someone might be able to point me in the right directio…

---

## [Making topics private and visible for not logged in users](https://meta.discourse.org/t/making-topics-private-and-visible-for-not-logged-in-users/78015)

<div class="topic-metadata">

**Author:** [@michaeltcoelho](https://meta.discourse.org/u/michaeltcoelho)\
**Replies:** 10\
**Last updated:** [January 20, 2018, 11:50am UTC](https://meta.discourse.org/t/making-topics-private-and-visible-for-not-logged-in-users/78015 "2018-01-20T11:50:16Z")

</div>

Hi there, I’m supporting a customer with Discourse and i’ve been asked to help them with private topics but visibles ones for non logged in users. I’ve been researching for it but no success. I know that Discourse enab…

---

## [I think I found a bug: Miniracer crashes with valid ES6 syntax](https://meta.discourse.org/t/i-think-i-found-a-bug-miniracer-crashes-with-valid-es6-syntax/78075)

<div class="topic-metadata">

**Author:** [@sukima](https://meta.discourse.org/u/sukima)\
**Replies:** 1\
**Last updated:** [January 16, 2018, 12:17am UTC](https://meta.discourse.org/t/i-think-i-found-a-bug-miniracer-crashes-with-valid-es6-syntax/78075 "2018-01-16T00:17:47Z")

</div>

This is quite frustrating and I’d love to understand how historically this has happened. If I write the following valid ES6 code into discourse/services/foo.js.es6 and add it to the asset pipeline in Discourse it will f…

---

## [What is the recommended way to extend SiteSettings::TypeSupervisor with new types?](https://meta.discourse.org/t/what-is-the-recommended-way-to-extend-sitesettings-typesupervisor-with-new-types/77835)

<div class="topic-metadata">

**Author:** [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)\
**Replies:** 1\
**Last updated:** [January 14, 2018, 10:02pm UTC](https://meta.discourse.org/t/what-is-the-recommended-way-to-extend-sitesettings-typesupervisor-with-new-types/77835 "2018-01-14T22:02:40Z")

</div>

How do I extend the type supervisor with additional types

---

## [Suspending an expired user](https://meta.discourse.org/t/suspending-an-expired-user/77797)

<div class="topic-metadata">

**Author:** [@rodeezy](https://meta.discourse.org/u/rodeezy)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 7:58am UTC](https://meta.discourse.org/t/suspending-an-expired-user/77797 "2018-01-12T07:58:04Z")

</div>

I use the sso feature to connect from my personal site to my discourse site. I want to suspend users on my discourse site that have cancelled their membership on my personal site. Also, I want to unsuspend users on my …

---

## [We should never leak out exceptions in our controller tests](https://meta.discourse.org/t/we-should-never-leak-out-exceptions-in-our-controller-tests/77800)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 3:24am UTC](https://meta.discourse.org/t/we-should-never-leak-out-exceptions-in-our-controller-tests/77800 "2018-01-12T03:24:55Z")

</div>

I just finished pushing a rather gnarly change per: https://github.com/discourse/discourse/commit/49ed382c2a7ddd11756e552e094319861418cd7f It basically replaces this pattern we used previously in tests: expect do …

---

## [Why does the \`SiteSettings\` class use the \`DistributedCache\` without a \`require 'distributed\_cache';\` statement?](https://meta.discourse.org/t/why-does-the-sitesettings-class-use-the-distributedcache-without-a-require-distributed-cache-statement/77580)

<div class="topic-metadata">

**Author:** [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)\
**Replies:** 4\
**Last updated:** [January 9, 2018, 11:44pm UTC](https://meta.discourse.org/t/why-does-the-sitesettings-class-use-the-distributedcache-without-a-require-distributed-cache-statement/77580 "2018-01-09T23:44:31Z")

</div>

---

## [Category custom field value strage behaviour in category edit form](https://meta.discourse.org/t/category-custom-field-value-strage-behaviour-in-category-edit-form/55807)

<div class="topic-metadata">

**Author:** [@Janno\_Liivak](https://meta.discourse.org/u/Janno_Liivak)\
**Replies:** 3\
**Last updated:** [January 9, 2018, 12:38pm UTC](https://meta.discourse.org/t/category-custom-field-value-strage-behaviour-in-category-edit-form/55807 "2018-01-09T12:38:52Z")

</div>

I’m about to create a plugin adding a checkbox to Category settings. All is fine with the field until I uncheck the field. In database I can see that value of custom field is set to “false” but as I reopen category setti…

---

## [Mute/hide categories for a specific user from API?](https://meta.discourse.org/t/mute-hide-categories-for-a-specific-user-from-api/77563)

<div class="topic-metadata">

**Author:** [@jonobacon](https://meta.discourse.org/u/jonobacon)\
**Replies:** 1\
**Last updated:** [January 9, 2018, 12:38pm UTC](https://meta.discourse.org/t/mute-hide-categories-for-a-specific-user-from-api/77563 "2018-01-09T12:38:43Z")

</div>

Hi Everyone, I am working with a client who has a number of categories and we want to provide a dedicated UI where they can select which ones they do and don’t see. I am thinking we can hide categories by muting them v…

---

## [Issues using SSO in custom web app](https://meta.discourse.org/t/issues-using-sso-in-custom-web-app/77429)

<div class="topic-metadata">

**Author:** [@supernaturally](https://meta.discourse.org/u/supernaturally)\
**Replies:** 10\
**Last updated:** [January 9, 2018, 7:52am UTC](https://meta.discourse.org/t/issues-using-sso-in-custom-web-app/77429 "2018-01-09T07:52:23Z")

</div>

Potential issue for users on shared devices - I’ve noticed that Discourse will not log out an authenticated user if a different user is attempting SSO in the same browser session, until that user physically clicks “logo…

---

## [Clarifications on use of &page URL parameter](https://meta.discourse.org/t/clarifications-on-use-of-page-url-parameter/77158)

<div class="topic-metadata">

**Author:** [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)\
**Replies:** 4\
**Last updated:** [January 8, 2018, 1:36am UTC](https://meta.discourse.org/t/clarifications-on-use-of-page-url-parameter/77158 "2018-01-08T01:36:18Z")

</div>

First time poster, so forgive me if I am doing this entirely wrong. I was trying to pull down our users via https://discuss.elastic.co/admin/users/list/all.json?api\_key=KEY&api\_username=USER which is working fine. Howev…

---

## [Recreating the single sign on logic for generating usernames](https://meta.discourse.org/t/recreating-the-single-sign-on-logic-for-generating-usernames/67748)

<div class="topic-metadata">

**Author:** [@SwisherSweet](https://meta.discourse.org/u/SwisherSweet)\
**Replies:** 4\
**Last updated:** [January 5, 2018, 5:05pm UTC](https://meta.discourse.org/t/recreating-the-single-sign-on-logic-for-generating-usernames/67748 "2018-01-05T17:05:26Z")

</div>

Howdy, I’m pre-populating users in Discourse from an integrated SSO external system and would like to mimic the username creation process in Discourse. Currently, I’m having to create usernames like so, where the numbe…

---

## [Discourse embedded on my WP](https://meta.discourse.org/t/discourse-embedded-on-my-wp/77110)

<div class="topic-metadata">

**Author:** [@michaeltcoelho](https://meta.discourse.org/u/michaeltcoelho)\
**Replies:** 3\
**Last updated:** [January 3, 2018, 12:59am UTC](https://meta.discourse.org/t/discourse-embedded-on-my-wp/77110 "2018-01-03T00:59:30Z")

</div>

Hi there, firstly Happy New Year everyone! I’ve implemented Discourse on my application (an educational finance community) but i’m not happy yet with the outcome. I’m using another domain different from my one but i’d …

---

## [Rake aborted message is showing when installing vagrant development](https://meta.discourse.org/t/rake-aborted-message-is-showing-when-installing-vagrant-development/74504)

<div class="topic-metadata">

**Author:** [@thegurjyot](https://meta.discourse.org/u/thegurjyot)\
**Replies:** 12\
**Last updated:** [January 2, 2018, 8:25am UTC](https://meta.discourse.org/t/rake-aborted-message-is-showing-when-installing-vagrant-development/74504 "2018-01-02T08:25:49Z")

</div>

I am following this installation guide to install Discourse on localhost. Everything was working as written in that guide but then as I types this command, bundle exec rake db:migrate I got a message that “rake abort…

---

## [The site setting \`port\` can no longer be set based on Rails environment](https://meta.discourse.org/t/the-site-setting-port-can-no-longer-be-set-based-on-rails-environment/77087)

<div class="topic-metadata">

**Author:** [@yms9654](https://meta.discourse.org/u/yms9654)\
**Replies:** 1\
**Last updated:** [January 2, 2018, 7:55am UTC](https://meta.discourse.org/t/the-site-setting-port-can-no-longer-be-set-based-on-rails-environment/77087 "2018-01-02T07:55:59Z")

</div>

After update discourse version to 1.9 this error occurred. How could I set port in development env now?

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

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