It sounds probably ridiculous since people usually want to avoid or remove duplicate threads. However I have a use case right now where I need to duplicate a thread. How can I do it?
Manually ? You can navigate to the raw contents of the topic by going to /raw/{topic_id} and copying everything there.
So, https://meta.discourse.org/t/195111 becomes https://meta.discourse.org/raw/195111
By the way, Discourse calls topics what you call “threads”
Edit: or, if you are TL4/staff you can just click edit and copy everything there
Actually that doesn’t do what I need. I want all the topic with all the replies. I want an exact duplicate of the thread, but with different topic_id
I found a way to “reproduce” a whole thread which was laborious but no way to truly duplicate it. (Retaining the likes for instance)
I create a new thread and put it in a non accessible category e.g. staff. I copy each reply from the original topic tread and paste it in a reply in the new topic thread. For replies I only need in the new topic thread, I just select and move them. Then I change ownership of the copied reply to the name of the poster of the original reply. Once I am done, I close the original thread and I change the category of the new topic to a public category.
Of course this is too painstaking to use on a regular basis. The reason I needed to do it this time was because someone created a topic with a very long title that could be interpreted in two different topic threads. We (moderators) noted the issue of long title (this will be restricted to less characters now) but didn’t realize at that time that it would cause a problem.
The conversation started and before we knew it, we had two very intertwined delicate conversations going on, with some offensive comments from one member that nevertheless provoked a rich series of responses in both matters.
To retain the richness of the contributions that had taken place, to reprimand the repeated offender, to use the event for community educational purpose and to permit both valuable conversations to grow each their way, I determined that it was best to split the topics apart, keeping only the pertinent interventions to each but not hesitating to repeat in both the interventions that were covering both matters for clarity comprehension purposes.
In the topic thread that retained the offensive reply, I also put a staff notice before the offensive post saying that it wasn’t in accordance with our community values but that we’d let it for educational purpose. I doctored that post in the following manner: I put the markdown code < del >
In front of the offensive language
I explained that to express his opinion in a constructive manner the member
would have been better wording it
< ins > this way instead.
That was a lot of work and thinking. I would not do that again manually. But the use case is definitely there.
That sounds like a lot of work! You might get better feedback next time when you don’t just ask for technical support (“How can I duplicate a topic?”), but explain the situation and what you want to achieve in your initial post. E.g. you probably could have just closed the topic, put a staff note as last post and link it to two new topics where the respective discussions could continue?
I can’t blame you for your comment: we often ask what is the goal when people ask for technical stuff about fmpro on our board.
However I was dead set on my intent to experiment this approach with the current situation. I knew about closing thread and starting two new topics. I wanted to use the existing material for educational purposes.
We have a very good community, lots of great contributions. However, we were born out of frustration with the vendor’s platform. So I have been using various approach and change management techniques to help people move away from the whining and bitching about the vendor.
Most have progressed in the way they express critical opinions about the product or the vendor. Unfortunately a few individuals had the tendency to stir the pot and brought upon the community a bad reputation and valuable members of the ecosystem whom have a closer or privileged relationship with the vendor won’t come near us. Which is unfortunate because we have grown organically as most people when they become aware that we exist like the forums and want to stay and these stellar members were bringing in valuable expertise and content.
Two very reputable and esteemed developers had to withstand bickering and had to “work” too hard to rectify information and lost the motivation and fun to contribute and removed themselves.
We did moderate but it was just unpleasant to constantly have the same irritating behaviours resurfacing and by trying to give everyone the right to their say, I eventually realize that it was somewhat unfair on everyone to have to exercise tolerance and forcing them to witness unpleasantries because a few would not refrain from being jerks.
Our FAQ did nit impress upon them the faculty to observe and recognize the faults in their interactions. Instead of do’s and don’ts, or guidelines people interpret how they want anyway, our new administrator decided to promote values instead. It turns out it is easier to moderate because we just say that post doesn’t abide by our community values so it was edited (or hidden until you modify it).
However we eventually realized that doing this didn’t help people who have been communicating poorly all their lives to know how to do better.
So now we are adding educational interventions, basically metacommunicating, directly in the threads. We’ll se how that turns out.
I know, @HAWK even edited my title to reflect that.
I use threads exactly to avoid what happened here: your suggestion was a solution to duplicate the topic (aka the initial post). However what I wanted was a solution to duplicate the whole thread (which is the the initial post aka topic + all the following replies.
In other words, when you create a new topic and people post replies, what you get is a thread.
That’s the thing – you don’t… There is literally no such thing as a thread in Discourse. The first post and all responses together are called a topic.
I will accept the concept you expose in the context of Discourse. However, linguistically, philosophically, and historically in the online fora domain, thread is what best describe the thing that has for components a titled initial post and the following replies. 
Agreed, but the thing that you’re missing here is that Discourse doesn’t have threading like all other forum platforms do. That is literally why we make this distinction.
You make a point. In this case a discussion or conversation might be a better term since it is less specific about the design uniting the components 
Bem, você pode pesquisar a definição de tópico no Google:
top·ic
/ˈtäpik/
um assunto tratado em um texto, discurso ou conversa; um tema.
É bastante preciso. Se você preferir uma palavra diferente por motivos pessoais, sinta-se à vontade para editar o texto no Discourse via Admin, Personalizar.
Quanto ao assunto original…
Por que não usar a chave inglesa de administrador no tópico e dividir o tópico, de modo que as respostas sobre o “outro” tópico estejam em um tópico diferente, mas vinculado? Essa seria a ação mais simples, apoiada por uma série de ferramentas no Discourse.
Porque:
“Eu [queria] separar os tópicos, mantendo apenas as intervenções pertinentes a cada um, mas sem hesitar em repetir em ambos as intervenções que cobriam ambos os assuntos para fins de clareza e compreensão.”
A menos que haja uma maneira de copiar uma postagem para um novo tópico, mantendo-a também no tópico original que eu ainda não descobri, a solução que você propõe não permite manter certas respostas em ambos os tópicos para fins de compreensão.
Entendo, se você tiver respostas muito interligadas com muitas citações de várias postagens, isso pode ficar complicado, mas isso deve ser relativamente raro. Moderei meta aqui na maioria das formas por quase uma década e não consigo me lembrar de muitas vezes em que encontrei essa “necessidade” de duplicar um tópico inteiro… uma divisão regular de tópico geralmente funciona bem o suficiente.
Jeff, tenho um caso de uso onde duplicar um tópico inteiro seria extremamente útil.
Usamos nossa instância para colaboração empresarial, especificamente um sindicato. Em cada reunião, criamos um tópico, com 8 posts, no estilo TOC.
Cada reunião posta de 1 a 8, enquanto muito diferente dentro do tópico, o formato é o mesmo mês a mês, com apenas informações específicas coladas. Seria incrivelmente útil ter a capacidade de criar um modelo não apenas para o primeiro post, mas para o tópico inteiro, replicando-o a cada mês e inserindo as informações mensais.
No momento, tenho um tópico que criei em uma categoria privada com o modelo para cada post de 1 a 8. Atualmente, tenho que abri-lo em tela dividida com um novo tópico, copiar o post 1 do tópico modelo para o novo tópico, depois o post 2, depois o post 3, etc.
Embora este seja um caso de uso realmente incomum, existem algumas instâncias que poderiam realmente se beneficiar de um recurso de administrador para clonar um tópico, ou se houver uma maneira de expandir o modelo de tópico para incluir vários modelos de resposta individuais aninhados na categoria com o modelo de tópico.
No momento, seja um modelo de tópico ou um assistente, tudo o que posso fazer é clonar um post nº 1 não preenchido, basicamente.
Olá,
O Discourse Canned Replies não poderia ser uma solução melhor para isso? Você só precisa criá-lo uma vez para o tópico e as postagens, então poderá simplesmente selecionar os modelos.
Sabe… isso pode funcionar bem. Tendo analisado, estou muito encorajado. @Don obrigado!
Também temos um caso de uso. Estamos usando mensagens privadas para um grupo como um meio de solicitações de ajuda privadas, mas estamos incentivando os usuários a nos permitirem tornar suas solicitações públicas. Preferimos solicitações de ajuda públicas, pois mais pessoas podem se beneficiar da assistência.
Idealmente, copiaríamos a solicitação de ajuda do OP e as respostas selecionadas para um novo tópico público, omitindo a mensagem do autoresponder e as respostas em que perguntamos se podemos torná-la pública, etc.
Como está, teremos que transformar o tópico de mensagem privada em um tópico completo em uma categoria privada, excluir as respostas que não queremos mostrar e, em seguida, movê-lo para uma área pública.
Existe algum motivo para você não fazer o contrário? Selecionar as postagens que você quer que sejam públicas, movê-las para uma nova conversa e transformar isso em um tópico público? Eu me sentiria mais seguro escolhendo cuidadosamente o que publicar do que deletando tudo o que não quero publicar.
Esse é um bom ponto. Acho que presumi que a postagem do OP não poderia ser movida para um novo tópico. Farei alguns testes e verei como isso pode funcionar. Obrigado pela sugestão.
