# Remove quote of the solution if solved quote length is set to zero

**URL:** https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106
**Category:** Feature
**Tags:** solved
**Created:** [2017 年4 月 17 日 08:57 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106 "2017-04-17T08:57:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### 作者： ![Kovah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kovah/32/60310_2.png) [@Kovah](https://meta.discourse.org/u/Kovah)
#### 发布日期： [2017 年4 月 17 日 08:57 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/1 "2017-04-17T08:57:34Z")

</div>

I would prefer to only display a link to the solved post instead of embedding the whole content. Therefore, setting the option “solved quote length” to 0 (zero) should disable the embedded quote and only display the “Solved by xyz in post 23”.

I thought the corresponding line is [this one](https://github.com/discourse/discourse-solved/blob/master/plugin.rb#L239), tried to implement it on my own but but the box disappeared completely.

---

<div class="post-metadata">

### 作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### 发布日期： [2017 年4 月 17 日 15:16 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/2 "2017-04-17T15:16:39Z")

</div>

Sure, this is fine with me, #pr-welcome

---

<div class="post-metadata">

### 作者： ![clapmyhands](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clapmyhands/32/69810_2.png) [@clapmyhands](https://meta.discourse.org/u/clapmyhands)
#### 发布日期： [2017 年4 月 19 日 12:56 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/3 "2017-04-19T12:56:38Z")

</div>

heya, 🙂 if nobody is working on this yet, I think I can try working on this.

but if anyone have a pr ready then feel free to stop me.

---

<div class="post-metadata">

### 作者： ![Kovah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kovah/32/60310_2.png) [@Kovah](https://meta.discourse.org/u/Kovah)
#### 发布日期： [2017 年7 月 24 日 07:52 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/4 "2017-07-24T07:52:34Z")

</div>

@clapmyhands Any news about that?

---

<div class="post-metadata">

### 作者： ![clapmyhands](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clapmyhands/32/69810_2.png) [@clapmyhands](https://meta.discourse.org/u/clapmyhands)
#### 发布日期： [2017 年7 月 26 日 04:40 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/5 "2017-07-26T04:40:51Z")

</div>

no unfortunately I’ve been swamped with life stuff and haven’t had the chance / might not be able to continue contributing. 😅

If anybody want to take up the job, feel free.

---

<div class="post-metadata">

### 作者： ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)
#### 发布日期： [2017 年8 月 9 日 19:20 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/6 "2017-08-09T19:20:03Z")

</div>

PR for this feature. Open to suggestions!

[https://github.com/discourse/discourse-solved/pull/65](https://github.com/discourse/discourse-solved/pull/65)

* * *

### Screenshots

`solved_quote_length := 0`

 ![excerpt_length_0](https://global.discourse-cdn.com/meta/original/3X/1/8/1847e290d1642ad03b59c206c88fd6e3a24ed7e3.png)

* * *

`solved_quote_length := 10`

 ![excerpt_length_10](https://global.discourse-cdn.com/meta/original/3X/3/6/36d81194369b53eb467e8558954404adde686b83.png)

* * *

---

<div class="post-metadata">

### 作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### 发布日期： [2017 年8 月 11 日 16:20 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/7 "2017-08-11T16:20:07Z")

</div>

Merged in now, big thanks @xrav3nz 🍕

---

<div class="post-metadata">

### 作者： ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### 发布日期： [2017 年9 月 3 日 11:02 UTC](https://meta.discourse.org/t/remove-quote-of-the-solution-if-solved-quote-length-is-set-to-zero/61106/8 "2017-09-03T11:02:31Z")

</div>


