My apologies if it was mentioned already
But it will be great if we could set autoclose after X hours for resolved topics.
I like this feature request and would love to add this option to the plugin. pr-welcome
@tgxworld given your recent changes, how simple would it be to add this to the solved plugin?
Pretty simple, just have to call topic.set_or_create_timer(TopicTimer.types[:close], SiteSetting.solved_topics_auto_close_hours) once the topic is marked as solved.
PR in
A few questions:
- If a post is âun-selectedâ as the solution, will the timer be cancelled?
- Similarly, once the topic is closed, the answer can still be âunselectedâ - should this make the topic re-open?
- What if people continue replying to the topic after a solution has been chosen? Would it be better to replace âclosing (n) hours after solutionâ with âclosing (n) hours after last reply, if a solution has been chosenâ?
I guess it should but itâll be tricky to implement. Weâll have to track the context in which the timer was created in and cancel timers based on that context. Iâll have a look to see what the possibility is like but I think having the admin cancel the topic timer manually should be sufficient for the first pass.
I donât think it should auto reopen if the answer is un-selected. In fact, I think it is a bug that the answer can be unselected when the topic is already closed.
Ah yes that is a good point, Iâve updated the PR to reflect that. Thank you ![]()
Sorry, I realise now I wasnât particularly clear. I was referring to the actual functionality rather than the copy. From looking at the code it seems like itâll close the topic, even if people are still replying to it.
You were very clear actually 
I think you missed

while reading through the code. That was how the feature should have been from the start ![]()
Ah yes, will read more closely next time 
OMG ⌠THANK YOU team for this feature !
Ps: spanish translation updated (PR60)
This topic was automatically closed after 35 hours. New replies are no longer allowed.