# Posting single question mark reply limitations

**URL:** https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078
**Category:** Development
**Created:** [01.Февраль.2019 01:28:38 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078 "2019-02-01T01:28:38Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 01:28:38 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/1 "2019-02-01T01:28:38Z")

</div>

Hey guys,

I am interesting in making a lightweight plugin that removes posting limitations. My forum would love to reply to a post with just a single `?`. However that gets caught in the filter. I was hoping someone could point me in the right direction to do so. I am bit new to discourse and the likes. I downloaded the source zip from  
[https://github.com/discourse/discourse](https://github.com/discourse/discourse)

then did a directory search in atom but got no results on the popup,  
`Body seems unclear, is it a complete sentence?`

Thanks for your direction.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [01.Февраль.2019 02:21:56 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/2 "2019-02-01T02:21:56Z")

</div>

Edit your site settings to allow this. You don’t need a plugin at all. Search.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 02:33:18 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/3 "2019-02-01T02:33:18Z")

</div>

Sorry if i am a newb. Do you mean the entropy setting? Because mine is at 0. Which i assume is off, false or none.

![entropy](https://global.discourse-cdn.com/meta/original/3X/0/1/01fdc7f8e3535e6fc841a7b5bcd1efa7b8e48526.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [01.Февраль.2019 02:39:45 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/4 "2019-02-01T02:39:45Z")

</div>

That’s a big assumption you’ve made there.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 02:44:41 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/5 "2019-02-01T02:44:41Z")

</div>

Okay. is there somewhere i can RTFM?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [01.Февраль.2019 02:50:55 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/6 "2019-02-01T02:50:55Z")

</div>

If you want posts of length 1, why wouldn’t you enter 1 there?

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 02:58:25 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/7 "2019-02-01T02:58:25Z")

</div>

Interesting I assumed 0 would be off and 1 is true, but you know what happens when we assume lol.

So I tried with 1 on body entropy, and still got the same error.

 ![entropy_1](https://global.discourse-cdn.com/meta/original/3X/6/d/6df24fd928005b81fb5e8607363edf6f4131bef3.png)

might be a bit hard to see on the window behind. I enjoy darker themes.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 03:00:46 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/8 "2019-02-01T03:00:46Z")

</div>

yes I am semi aware the characters mean the string limit. just assumed at a minimum 0 mean no limit.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [01.Февраль.2019 03:05:17 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/9 "2019-02-01T03:05:17Z")

</div>

And was it an all uppercase post?

There is friction here because posting giant streams of short nonsense with an absurd post to metadata ratio … is not the intended use of Discourse. For that you should use a chat system like Discord.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 03:14:29 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/10 "2019-02-01T03:14:29Z")

</div>

I understand it is not intended. However we were an old vbulletin forum that migrated and some of the users resent not being able to respond with just a `?` or quoting the above poster with no other characters in the post.

I figured, that this functionality was something discourse was not going to support. So I was looking for direction to create a plugin that would allow this functionality. I will admit that my attempts were nothing above downloading the source code and searching for the error message. Oddly that didn’t even give me a result.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [01.Февраль.2019 03:19:27 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/11 "2019-02-01T03:19:27Z")

</div>

I am not sure, **in theory a 1 char post should work with the correct site settings**.. but

- I don’t really care if it works or not, since what you are asking for is a chat software behavior, not a discussion behavior

- you are experiencing intended friction to steer people away from stuff they should not be doing, at least, not in _this_ software

- this kind of community should pick different software, as I can guarantee you they will be unhappy with Discourse.

Note that a quote with nothing else is a zero character post from Discourse’s perspective.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 03:30:40 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/12 "2019-02-01T03:30:40Z")

</div>

I understand and I enjoy a lot of other features. I was hoping this was something I could work on for my site. I did not expect any support from the staff. Sorry if it came off this way. I can live with it. I just though it wouldn’t be that hard.

Thanks for your responses!

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [01.Февраль.2019 20:25:17 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/13 "2019-02-01T20:25:17Z")

</div>

I did find the right place to look into this!

with a `min_post_length` set to 1 symbols would still fail because of this

in `lib\text_sentinel.rb`

```plaintext
  def symbols_regex
    /[\ -\/\[-\`\:-\@\{-\~]/m
  end

  def seems_pronounceable?
    # At least some non-symbol characters
    # (We don't have a comprehensive list of symbols, but this will eliminate some noise)
    @text.gsub(symbols_regex, '').size > 0
  end

```

Which honestly is right. However for my case this caused problems. It was not hard to write a small plugin to basically allow symbols to count towards the size check.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [02.Февраль.2019 00:05:18 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/14 "2019-02-02T00:05:18Z")

</div>

Ok, good detective work. @techAPJ can you verify a min post size of 1 works, without bugs in our code? It is not _advisable_ for the above reasons, but it should work.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [02.Февраль.2019 13:37:41 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/15 "2019-02-02T13:37:41Z")

</div>

It should work. In my dev environment, normal character single body posts worked. It was just symbols that got caught in the regex.

Which was kind if fun to figure out how that worked. Didn’t even realize you could do like ASCII ranges in regex. I starred at that longer than I would like to admit trying to figure out how `?` was matching.

Man I like doing new things.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [02.Февраль.2019 19:01:13 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/16 "2019-02-02T19:01:13Z")

</div>

Isn’t this why plugins like retort exist?

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [08.Февраль.2019 17:34:50 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/17 "2019-02-08T17:34:50Z")

</div>

i tossed it up here incase anyone wants this for some reason.

[https://github.com/Roragok/discourse-remove-posting-limits](https://github.com/Roragok/discourse-remove-posting-limits)

Been working on my site for a week now with no problem.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [08.Февраль.2019 17:39:41 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/18 "2019-02-08T17:39:41Z")

</div>

Did you look at retort? It would allow users to react with a single character like a ? without needlessly bumping the topic.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [08.Февраль.2019 23:41:56 UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078/19 "2019-02-08T23:41:56Z")

</div>

Our users want to “bump” the topic. We have retort.
