Make reply button unavailable immediately after closing topic

I have been noticing with my forum that people have been able to reply to posts that have been closed up to 20 minutes ago. Eventually, the reply button will go away, but they do say it’s a little inconvenient having that reply button there. For example, this happened just minutes ago on my forum.


The person who was replying was not a moderator, so the reply button was still there. After feedback from some people, they say that the reply button is there for up to 20 minutes after the topic is closed. Are you able to fix this so the reply button goes away immediately?

4개의 좋아요

This is a problem which i have seen in many forums. Tho it is not causing any problems, i hope it can be changed and fixed!

1개의 좋아요

제가 아는 한, 답글 버튼은 다음과 같이 작동합니다:

  • 스태프가 토픽을 닫으면, 사용자가 페이지를 새로고침할 때까지 버튼이 그대로 남아 있습니다. 새로고침을 하지 않으면 “답글” 인터페이스를 “열 수” 있습니다(즉, 무언가를 작성하고 있는 것처럼 보이지만), "답글"을 누르는 순간 토픽이 닫혔다는 메시지가 표시됩니다.

  • 토픽이 닫힌 후에도 답글 버튼을 본 적이 없습니다. 해당 상황을 보여줄 수 있는 영상을 공유하도록 요청해 보시는 건 어떨까요? 여기서 재현해 보시고 Contribute > Bug 카테고리에 게시해 주세요.

또한 수천 번 본 것(스크린샷에도 나타남)은, 사용자가 아직 답글을 작성하고 있는 동안 모드/관리자가 토픽을 닫는 경우입니다. 참고로, 그 사용자의 아바타는 여전히 하단에 표시될 수 있습니다.

2개의 좋아요

Thank you sir for clarifying it. Now i understand mostly about why it happens!

3개의 좋아요

Can we repro this @dax?

2개의 좋아요

Let me try asking some people over on my forum and see if I can get a video of the topic closed, refreshing in the reply button still being there.

2개의 좋아요

Hi I think you will find this Theme Component very useful

As we had the same issue as members with higher levels can reply to closed threads tl4, mods and admins

This warns people they are bumping closed topics.

In your pic CaptainZac is a mod.

@codinghorror this Theme Component could maybe be included as part of Discourse install.

3개의 좋아요

So this entire topic is incorrectly stated. Moderators and staff can reply to closed topics.

1개의 좋아요

Correct, but the button for general users sometimes stays there even though it is closed for up to 20 minutes even after refreshing the page

1개의 좋아요

I think @CaptainZac is arguing about the other user replying to the closed topic. That user is not staff, is a member. If you check closely, the user “Nuggetfornia” is replying.

3개의 좋아요

Sorry missed that part of your post. Haven’t ran into that issue before. Guessing this maybe a new bug as usually even some in the middle of a reply on our site have expressed some irritation once they complete the reply and are told they cannot post as topic is closed. Except of course in our case the tl4 mods and admins, which is why I installed that Theme Component.

Right, but say I’ve started composing the reply 3 days ago and left the browser open. Then the topic closes yesterday. What do you propose doing, force closing the reply that the user is in the middle of writing?

I agree that we should remove the reply button as soon as the close occurs, but how do we know these users weren’t composing replies minutes, hours.. even days.. before the close occurred?

Possibly a warning showing up at the top of the page or a pop up on the screen saying that the topic has been closed. Definitely something that could be dismissed, so they could copy and paste their work somewhere else. Just so people aren’t taking up their time for it to be closed.

3개의 좋아요

Doesn’t this need the user to refresh though? I am not sure if it is possible to appear by the time the topic gets closed…

It would be similar to the way that this works:

Once the topic is closed, and you’re still in the composer, since discourse has a way to get the blue bar to appear at the top when a new topic is post it without refreshing, For example: below


If they’re able to have the ability to have that pop up when a new topic is posted, they should be able to have the ability to have a pop-up when you are in the composer when the topic is closed

2개의 좋아요

Not sure if I get what you mean, but when replying, half and more of the page is covered by your keyboard and composer.

On the mobile side, that wouldn’t be possible, because…

No, I mean something like this (sorry for the sloppy drawing but you get the point)

I will try getting some videos from users regarding this.

I support a “critical fail check” upon click or tap of the reply button to make sure at the exact time the editor was originally invoked that the topic is not closed.

Beyond that, if the topic is closed while the user is in the editor actively composing a reply to the topic, well.. it’s unfortunate, and rare, but it is what it is?

(Users certainly know how to copy and paste, so nothing they’re writing will be lost. I’m not sure if we save reply drafts for replies to closed topics, but I’m thinking we probably do, so users are double-covered in that case.)

2개의 좋아요

Unless this was changed recently. In my experience when the user tries to publish the reply. Discourse responds the post cannot be published. One user for example had to copy there post and start a new topic.

That being said @CaptainZac is your members complaining that they spend time completing a reply to be denied publishing it?

1개의 좋아요