Hey, how can I get Discourse to do X?


#725

Not as far as I can tell. None of the user scripts that have been created for added functionality; Front Page muted. Happening both on wifi and LTE for me. Nexus 5X using Chrome as my browser.


#726

Hmm I am kind of at a loss to diagnose this, as I haven’t experienced any problems tracking read positions here on mobile or desktop. Nor do we have any reports of this on other Discourse instances that I am aware of.

Any browser plugins in use that could interfere?


#727

Nada on my end.


#728

Any upstream routers or “anti-virus” that could interfere? Https should already prevent basic tampering though, and you could test by switching from wifi to cellular to bypass, so I am really grasping at straws here.


#729

Re: routers; I can replicate the results at my place, my parents’ place, and via the cell network in two locations ~30 miles apart so far. No anti-virus/anti-malware/what have you installed on the phone.

My mobile accessing of QT3 is going to drop like a rock again soon anyway so personally not too bothered.


#730

Testing a bug from another forum, I think it is the lines:

A MESSAGE FROM THE QUEEN
To the citizens of the United States of America from Her Sovereign Majesty Queen Elizabeth II
In
light of your failure in recent years to nominate competent candidates
for President of the USA and thus to govern yourselves, we hereby give
notice of the revocation of your independence, effective immediately.
(You should look up ‘revocation’ in the Oxford English Dictionary.)
Her
Sovereign Majesty Queen Elizabeth II will resume monarchical duties
over all states, commonwealths, and territories (except North Dakota,
which she does not fancy).
Your new Prime Minister, David Cameron, will appoint a Governor for America without the need for further elections.
Congress and the Senate will be disbanded. A questionnaire may be circulated next year to determine whether any of you noticed.
To aid in the transition to a British Crown dependency, the following rules are introduced with immediate effect:

The letter ‘U’ will be reinstated in words such as ‘colour,’ ‘favour,’
‘labour’ and ‘neighbour.’ Likewise, you will learn to spell 'doughnut’
without skipping half the letters, and the suffix ‘-ize’ will be
replaced by the suffix ‘-ise.’ Generally, you will be expected to raise
your vocabulary to acceptable levels. (look up ‘vocabulary’).

Using the same twenty-seven words interspersed with filler noises such
as ‘‘like’ and ‘you know’ is an unacceptable and inefficient form of
communication. There is no such thing as U.S. English. We will let
Microsoft know on your behalf. The Microsoft spell-checker will be
adjusted to take into account the reinstated letter ‘u’’ and the
elimination of ‘-ize.’

  1. July 4th will no longer be celebrated as a holiday.

OK looks like that recreated it fine. It seems to be the lines. Copy and paste from https://www.dpreview.com/forums/thread/3644665

Discourse attempts to auto renumber and it is not pretty. Can you turn off auto-renumber on a specific paste?


#731

You could always put it in a preformatted block:

indent preformatted text by 4 spaces

or do something like this:

```
Hello
```

Though that renders it in monospace.


#732

It interprets some of what you are pasting as markdown and renders it funny.


#733

Yeah, but on a different source, the auto-renumbering still was full fail as it was all 1’s. This copy shows both errors.

The original format was fine, so my question is: is there any way to turn off the auto format features in a paste?

That and to ping @wumpus. On the site I saw this, they are referring to discourse as “a piece of shit”. It is not a technical oriented site, so the site member’s who post are varied between people like on Qt3 but mostly people like my mother-in-law (who may gasp and drop her laptop when it does “unexpected” things). If he can tell me how, I’ll try and explain over there. I don’t see how though.


#734

That’s actually not a bug but a frustrating part of the Markdown/Commonmark specification. It drives me nuts. The best way to turn off the Markdown rendering for a paste is to do what Pod mentioned above.

```text
paste here
```

We have some custom CSS in that might not wrap the text. It’s useful for when there’s a lot of code used on a forum. Since we don’t have lots of code here, I can change that if it causes a problem.


#735

Yeah, would have been nice if there was some kind of paste as code feature that would be more user friendly, and applicable to boards of all kinds. The user generally knows if they want the paste auto-formatted. Edit: I tried cntrl-K and get wonky results.


#736

Yep just use 2) instead of 2. and you’re golden. Pretty easy fix.


#737

If I had written the original, but I didn’t. Cut, paste to notepad, hand change numbering punctuation, then re- cut/paste notepad to discourse would do what you suggest. Explaining Clay’s method will be better received on the other discourse board, and easier. Which I did, thanks.

(internal board for website TPM called subscribers called Hive for the record)
Smart people, but their enjoyment of tech/fiddling varies greatly by individual.


#738

Do I submit bug report here?

So there is a 5 character min post limit. I type a short, less than 5 character reply post. Discourse “politely” asks me to edit the post to be “more descriptive”.

The bug is, if I edit the post again because of the prompt, then Discourse generated 2 replies instead of just editing the original. One is a direct reply to a post. The other is a reply to the thread in general. See my post in Wonder Woman thread in the Movie forum. I’ve deleted the 2nd post, but it shouldn’t have been there in the first place.


#739

Testing

Edit: no repro.

  1. Press reply
  2. Type “tes”
  3. Press submit
  4. See error post too short
  5. Add “ting”
  6. Submit

Observe that two posts were not created


#740

It really happened to me. :shrug:


#741

That is fine, if we have repro steps we can fix it. One warning sign: the error you describe is the all caps or gibberish post message, not the post length message.


#742

Is there any reason this message isn’t more explicitly worded?

Cuz it definitely took me trying to post like 3 all-caps messages and wondering what the heck “more descriptive” meant before I realized what was going on back when we were testing Discourse out w/ Clay’s help.


#743

How can I get Discourse to stop turning posted links into banner ads?

Yes, I know they’re not actually banner ads, but they look exactly like them, so banner blindness kicks in and it’s really frickin’ annoying.


#744

I actually like the Onebox feature. I think you are referring to that. Come on, it’s the 21st century :)