# Development

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

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

**Page:** 134

---

## [Group all lightbox elements in a discussion](https://meta.discourse.org/t/group-all-lightbox-elements-in-a-discussion/61468)

<div class="topic-metadata">

**Author:** [@designbygio](https://meta.discourse.org/u/designbygio)\
**Replies:** 2\
**Last updated:** [April 24, 2017, 10:33am UTC](https://meta.discourse.org/t/group-all-lightbox-elements-in-a-discussion/61468 "2017-04-24T10:33:11Z")

</div>

I need to group all the .lightbox elements in a discussion. Does someone has any idea where i should call lightbox.js in order to get fired when all the discussion is ready, not each individual post? So far i figured o…

---

## [Dealing with the limited messagebus backlog](https://meta.discourse.org/t/dealing-with-the-limited-messagebus-backlog/61436)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**Replies:** 9\
**Last updated:** [April 23, 2017, 11:57am UTC](https://meta.discourse.org/t/dealing-with-the-limited-messagebus-backlog/61436 "2017-04-23T11:57:46Z")

</div>

Continuing the discussion from Who's Online Plugin: My plugin relies on receiving every message on a messagebus channel, in order, with no gaps. As I understand it, if the client loses connection, it should receive all…

---

## [Trouble to display thumb images and lightbox on local](https://meta.discourse.org/t/trouble-to-display-thumb-images-and-lightbox-on-local/61334)

<div class="topic-metadata">

**Author:** [@designbygio](https://meta.discourse.org/u/designbygio)\
**Replies:** 5\
**Last updated:** [April 22, 2017, 8:58pm UTC](https://meta.discourse.org/t/trouble-to-display-thumb-images-and-lightbox-on-local/61334 "2017-04-22T20:58:11Z")

</div>

On my local i cannot see the users thumbs picture and if i post image, they don’t get lightboxed. I thought was a problem with sidekiq but i run bundle exec sidekiq -q critical,low,default -d -l log/sidekiq.log and stil…

---

## [How to find to the people have liked me?](https://meta.discourse.org/t/how-to-find-to-the-people-have-liked-me/61092)

<div class="topic-metadata">

**Author:** [@Alavi1412](https://meta.discourse.org/u/Alavi1412)\
**Replies:** 12\
**Last updated:** [April 22, 2017, 1:43pm UTC](https://meta.discourse.org/t/how-to-find-to-the-people-have-liked-me/61092 "2017-04-22T13:43:20Z")

</div>

I want to show my users that you have received some likes from a specific user. I have explored the discourse site but I don’t find like’s owener of my likes. I just find the most\_liked\_by\_users but I want all users no…

---

## [Discourse in localhost](https://meta.discourse.org/t/discourse-in-localhost/61394)

<div class="topic-metadata">

**Author:** [@Ziil](https://meta.discourse.org/u/Ziil)\
**Replies:** 1\
**Last updated:** [April 21, 2017, 4:54pm UTC](https://meta.discourse.org/t/discourse-in-localhost/61394 "2017-04-21T16:54:33Z")

</div>

I would like to try out Discourse software, but before I am going to pay for hosting I would like to play around with it a bit. I remember that I saw one good step by step tutorial somewhere while ago “how to install di…

---

## [Trying to set up SSO](https://meta.discourse.org/t/trying-to-set-up-sso/61284)

<div class="topic-metadata">

**Author:** [@riz](https://meta.discourse.org/u/riz)\
**Replies:** 2\
**Last updated:** [April 19, 2017, 9:34pm UTC](https://meta.discourse.org/t/trying-to-set-up-sso/61284 "2017-04-19T21:34:46Z")

</div>

When do i need to use a webhook? I’m trying to setup SSO or possible create a new user through the API. Do i need to setup a webhook for that? So i’m confused as to the use case for webhooks? and when to use them or u…

---

## [How to remove tags via API](https://meta.discourse.org/t/how-to-remove-tags-via-api/61232)

<div class="topic-metadata">

**Author:** [@smith\_Lin](https://meta.discourse.org/u/smith_Lin)\
**Replies:** 1\
**Last updated:** [April 19, 2017, 8:48am UTC](https://meta.discourse.org/t/how-to-remove-tags-via-api/61232 "2017-04-19T08:48:30Z")

</div>

I want to remove topic tags via API How to do it?

---

## [Discourse view file update does not reflect in browser](https://meta.discourse.org/t/discourse-view-file-update-does-not-reflect-in-browser/60836)

<div class="topic-metadata">

**Author:** [@hussain\_anver](https://meta.discourse.org/u/hussain_anver)\
**Replies:** 11\
**Last updated:** [April 16, 2017, 6:16pm UTC](https://meta.discourse.org/t/discourse-view-file-update-does-not-reflect-in-browser/60836 "2017-04-16T18:16:01Z")

</div>

Hello everyone I have 2 questions I want to change come ui elements of discourse I am not able to figure out from where login modal is triggering (I want to change UI) I tried to change view file I tried to change .h…

---

## [How are plugins loaded automatically?](https://meta.discourse.org/t/how-are-plugins-loaded-automatically/61033)

<div class="topic-metadata">

**Author:** [@kgish](https://meta.discourse.org/u/kgish)\
**Replies:** 3\
**Last updated:** [April 15, 2017, 5:22pm UTC](https://meta.discourse.org/t/how-are-plugins-loaded-automatically/61033 "2017-04-15T17:22:17Z")

</div>

I’d like to understand better how discourse automatically loads plugins, e.g all those placed in the /plugins directory. How does a plugin can provide a mount point and its resources during initialization? Can someone …

---

## [Microsoft Edge - Brotli Encoding included in Edge 15 (11th April)](https://meta.discourse.org/t/microsoft-edge-brotli-encoding-included-in-edge-15-11th-april/60809)

<div class="topic-metadata">

**Author:** [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Replies:** 1\
**Last updated:** [April 11, 2017, 10:51pm UTC](https://meta.discourse.org/t/microsoft-edge-brotli-encoding-included-in-edge-15-11th-april/60809 "2017-04-11T22:51:02Z")

</div>

Microsoft just made an announcement: Brotli is included in Edge 15, which shipped today (11th April) with Windows 10 Creators Update. I believe you need to be a member of the “Windows Insider program” to download …

---

## [How to like posts from a plugin in a secure way](https://meta.discourse.org/t/how-to-like-posts-from-a-plugin-in-a-secure-way/60808)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**Replies:** 1\
**Last updated:** [April 11, 2017, 10:22pm UTC](https://meta.discourse.org/t/how-to-like-posts-from-a-plugin-in-a-secure-way/60808 "2017-04-11T22:22:43Z")

</div>

I’m working on allowing users to “like” posts via my telegram bot plugin (and eventually be able to post responses through telegram). I have it working, but I want to make sure I’m implementing it in the right way to ma…

---

## [Discourse sso login using Rest API](https://meta.discourse.org/t/discourse-sso-login-using-rest-api/60773)

<div class="topic-metadata">

**Author:** [@Rana\_Muhammad\_Ahsan](https://meta.discourse.org/u/Rana_Muhammad_Ahsan)\
**Replies:** 1\
**Last updated:** [April 11, 2017, 1:03pm UTC](https://meta.discourse.org/t/discourse-sso-login-using-rest-api/60773 "2017-04-11T13:03:04Z")

</div>

I’m creating a mobile application for my forum, and I want to use Discourse server (Rest API) with it. I’m looking for an api call which will return my sso signed payload (sig & sso). Is there any way to generate sso pay…

---

## [How to properly alter the database?](https://meta.discourse.org/t/how-to-properly-alter-the-database/60659)

<div class="topic-metadata">

**Author:** [@icculus](https://meta.discourse.org/u/icculus)\
**Replies:** 7\
**Last updated:** [April 11, 2017, 4:35am UTC](https://meta.discourse.org/t/how-to-properly-alter-the-database/60659 "2017-04-11T04:35:06Z")

</div>

This is probably easy, but I see conflicting information in various topics, so I’ll ask: If I wanted to add a field to a database table for a new Discourse feature, where is the schema defined? And how does one tell exi…

---

## [API request to users/by-external on private forum](https://meta.discourse.org/t/api-request-to-users-by-external-on-private-forum/60609)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**Replies:** 6\
**Last updated:** [April 9, 2017, 7:24pm UTC](https://meta.discourse.org/t/api-request-to-users-by-external-on-private-forum/60609 "2017-04-09T19:24:23Z")

</div>

I’m trying to make an API GET request to /users/by-external/:external\_id.json on a login\_required forum that is using SSO. When the forum isn’t set to ‘login required’, the user is returned. When it is set to ‘login req…

---

## [Discourse and ruby "require"](https://meta.discourse.org/t/discourse-and-ruby-require/60664)

<div class="topic-metadata">

**Author:** [@oystersauce8](https://meta.discourse.org/u/oystersauce8)\
**Replies:** 0\
**Last updated:** [April 9, 2017, 1:57am UTC](https://meta.discourse.org/t/discourse-and-ruby-require/60664 "2017-04-09T01:57:08Z")

</div>

I was reading the Rails autoloading guide \[1\] and it seems Rails Autoloading was designed so that programmers don’t have to write “require …” statements. This is also mentioned in this other article \[2\] But looking at c…

---

## [Adding a ruby controller via plugin](https://meta.discourse.org/t/adding-a-ruby-controller-via-plugin/60661)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Replies:** 14\
**Last updated:** [April 8, 2017, 11:25pm UTC](https://meta.discourse.org/t/adding-a-ruby-controller-via-plugin/60661 "2017-04-08T23:25:13Z")

</div>

Please bare with me here - first time developing a Discourse plugin. Was thrown into this project by my job… Background: This is a continuation of this post. For clarity, I’ll repeat the background here. My company …

---

## [How to provide custom URL for notification](https://meta.discourse.org/t/how-to-provide-custom-url-for-notification/60273)

<div class="topic-metadata">

**Author:** [@jafeth.diazc](https://meta.discourse.org/u/jafeth.diazc)\
**Replies:** 3\
**Last updated:** [April 7, 2017, 2:00pm UTC](https://meta.discourse.org/t/how-to-provide-custom-url-for-notification/60273 "2017-04-07T14:00:53Z")

</div>

Hi, I know that if I create a custom type notification, I can provide a data.message field with a I18n scope value to form the text of the notification. This is the code in the notification-item widget: https://github.…

---

## [Revisiting moving to TypeScript](https://meta.discourse.org/t/revisiting-moving-to-typescript/60519)

<div class="topic-metadata">

**Author:** [@Seanny123](https://meta.discourse.org/u/Seanny123)\
**Replies:** 3\
**Last updated:** [April 7, 2017, 2:39am UTC](https://meta.discourse.org/t/revisiting-moving-to-typescript/60519 "2017-04-07T02:39:15Z")

</div>

Around a year ago, @eviltrout has previously expressed reasonably cautious interest in moving to TypeScript. Having recently started using it in my own development projects, I’ve been slowly figuring out how to integrate…

---

## [Can we add a php page to discourse?](https://meta.discourse.org/t/can-we-add-a-php-page-to-discourse/60411)

<div class="topic-metadata">

**Author:** [@Alavi1412](https://meta.discourse.org/u/Alavi1412)\
**Replies:** 6\
**Last updated:** [April 4, 2017, 1:03pm UTC](https://meta.discourse.org/t/can-we-add-a-php-page-to-discourse/60411 "2017-04-04T13:03:53Z")

</div>

I Have a php code and I want to add it to my discourse app and access this php file throw domain name. for example I want to have this url: meta.discourse.org/myphpcode.php can anyone help me?

---

## [Frontend customization](https://meta.discourse.org/t/frontend-customization/60362)

<div class="topic-metadata">

**Author:** [@shalz](https://meta.discourse.org/u/shalz)\
**Replies:** 4\
**Last updated:** [April 3, 2017, 3:53pm UTC](https://meta.discourse.org/t/frontend-customization/60362 "2017-04-03T15:53:38Z")

</div>

Hi I was able to edit all font sizes and colors. But hard to find where to edit the last-posted-at date color. Can some one help me?

---

## [Error installing with vagrant for developent](https://meta.discourse.org/t/error-installing-with-vagrant-for-developent/60309)

<div class="topic-metadata">

**Author:** [@razaq](https://meta.discourse.org/u/razaq)\
**Replies:** 0\
**Last updated:** [April 2, 2017, 6:09am UTC](https://meta.discourse.org/t/error-installing-with-vagrant-for-developent/60309 "2017-04-02T06:09:35Z")

</div>

I installed according to Discourse as Your First Rails App | BlogDiscourse and after cloning the repository with Github for windows and running vagrant up I got this error I am using Virtualbox Version 5.1.18 r114002 …

---

## [How does Discourse cloaking store cloaked data?](https://meta.discourse.org/t/how-does-discourse-cloaking-store-cloaked-data/60296)

<div class="topic-metadata">

**Author:** [@Saurek](https://meta.discourse.org/u/Saurek)\
**Replies:** 0\
**Last updated:** [April 1, 2017, 8:28pm UTC](https://meta.discourse.org/t/how-does-discourse-cloaking-store-cloaked-data/60296 "2017-04-01T20:28:18Z")

</div>

Hello! I’ve been very interested in how Discourse uses cloaking to unload off screen content. After looking at the source I didn’t see any client-side DBs being used, is post data stored in a variable while off screen? …

---

## [Routing Error uninitialized constant TestController](https://meta.discourse.org/t/routing-error-uninitialized-constant-testcontroller/60294)

<div class="topic-metadata">

**Author:** [@Sudaraka](https://meta.discourse.org/u/Sudaraka)\
**Replies:** 1\
**Last updated:** [April 1, 2017, 6:58pm UTC](https://meta.discourse.org/t/routing-error-uninitialized-constant-testcontroller/60294 "2017-04-01T18:58:18Z")

</div>

Hi i wrote a simple plugin just for education purpose. I need to get a json by calling http://localhost:4000/admin/plugins/test/list url. I wrote the plugin.rb as # name: test-plugin # about: This is intended to be a t…

---

## [Inconsistency in code for watching first post](https://meta.discourse.org/t/inconsistency-in-code-for-watching-first-post/60223)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Replies:** 5\
**Last updated:** [March 31, 2017, 5:21pm UTC](https://meta.discourse.org/t/inconsistency-in-code-for-watching-first-post/60223 "2017-03-31T17:21:13Z")

</div>

After submitting this PR I discovered an inconsistency with watching first post that I am not sure how to resolve. Watching first post exists in two primary locations: the notification level dropdown on category pages,…

---

## [Finding out how many users are watching or tracking?](https://meta.discourse.org/t/finding-out-how-many-users-are-watching-or-tracking/56900)

<div class="topic-metadata">

**Author:** [@Alavi1412](https://meta.discourse.org/u/Alavi1412)\
**Replies:** 5\
**Last updated:** [March 31, 2017, 2:05pm UTC](https://meta.discourse.org/t/finding-out-how-many-users-are-watching-or-tracking/56900 "2017-03-31T14:05:59Z")

</div>

Where Can we find how many users are watching or tracking a topic or a category? Does it save any where in discourse?

---

## [Importers: What to do when missing email addresses](https://meta.discourse.org/t/importers-what-to-do-when-missing-email-addresses/60195)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [March 30, 2017, 10:16pm UTC](https://meta.discourse.org/t/importers-what-to-do-when-missing-email-addresses/60195 "2017-03-30T22:16:02Z")

</div>

I’m doing a phpBB import. There are a bunch of missing email addresses (apparently because Facebook and others authenticated, but didn’t supply an email address) and a bunch more invalid ones. The client doesn’t want to…

---

## [Raw instead of cooked for topic responses](https://meta.discourse.org/t/raw-instead-of-cooked-for-topic-responses/59224)

<div class="topic-metadata">

**Author:** [@adam\_beers](https://meta.discourse.org/u/adam_beers)\
**Replies:** 3\
**Last updated:** [March 27, 2017, 4:51am UTC](https://meta.discourse.org/t/raw-instead-of-cooked-for-topic-responses/59224 "2017-03-27T04:51:05Z")

</div>

Is there a way to get the raw as well as the cooked data inside a topic request for the replies? Currently, if you do a example.com/t/115.json, you get the topic and the post\_stream (also other items I’m not interested …

---

## [Dynamic Templates for plugin-outlet UIs](https://meta.discourse.org/t/dynamic-templates-for-plugin-outlet-uis/59786)

<div class="topic-metadata">

**Author:** [@mandarbapaye](https://meta.discourse.org/u/mandarbapaye)\
**Replies:** 2\
**Last updated:** [March 23, 2017, 6:15pm UTC](https://meta.discourse.org/t/dynamic-templates-for-plugin-outlet-uis/59786 "2017-03-23T18:15:00Z")

</div>

Hi All I am trying to extend the discourse UI by leveraging the plugin-outlets. Currently trying to add a custom header on top of the discourse header by leveraging ‘above-site-header’ plugin-outlet. I would like to mak…

---

## [Grok Pattern for Nginx logs](https://meta.discourse.org/t/grok-pattern-for-nginx-logs/59372)

<div class="topic-metadata">

**Author:** [@jackzampolin](https://meta.discourse.org/u/jackzampolin)\
**Replies:** 3\
**Last updated:** [March 21, 2017, 7:38pm UTC](https://meta.discourse.org/t/grok-pattern-for-nginx-logs/59372 "2017-03-21T19:38:20Z")

</div>

It looks like discourse spits out custom Nginx logs. There wouldn’t happen to be a grok pattern for those logs anywhere? I looked and was unable to find anything.

---

## [Install v1.7.2 using Docker](https://meta.discourse.org/t/install-v1-7-2-using-docker/59635)

<div class="topic-metadata">

**Author:** [@Kel](https://meta.discourse.org/u/Kel)\
**Replies:** 6\
**Last updated:** [March 21, 2017, 6:51pm UTC](https://meta.discourse.org/t/install-v1-7-2-using-docker/59635 "2017-03-21T18:51:20Z")

</div>

Hi there, First post so hello :slight\_smile: I am trying to install Discourse on a Digital Ocean Droplet all goes well, except I need to run a script that only works with v1.7.2 (long story just trust me!) Tried every…

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

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