I have a discuorse forum, or rather I am staff of one and I have a Twitter account I no longer use as my login method. Is there a way to change the Twitter account, or merge the account with another, maybe local account?
https://meta.discourse.org/t/ability-to-merge-users/9220
Nothing yet that I see, would be good to be able to at least bulk change ownership of posts / topics like mentioned in that topic. So far there isn’t an easy way to do this that I see.
Can you show me how to use that script
I am in the same situation as you.

I will be watching that gist to see if the author replies.
Now I know how to use that script. Just copy it to app/lib
Open rails console and type the last line of that gist (change username)
Yes, we have a rake task now
これからは UI からも同様に実行できます。
大規模アカウント同士をマージすると、データベースおよびサーバーの処理時間に大きな負荷がかかる可能性があります。ただし、小規模アカウント同士、または大規模アカウントと小規模アカウントをマージする場合は、問題が発生しないはずです。
アカウントをマージする際、バッジやアチーブメントは引き継がれますか?それとも投稿、いいね、メッセージのみですか?
テストユーザーをいくつかマージしたところ、バッジ、サイト設定、統計などが一方から他方にコピーされました。![]()
ありがとうございます。ユーザー一人に対して両方のアカウントをマージすることができ、バッジも移動したので、これは素晴らしい機能です。
このトピックは21時間後に自動的にクローズされました。返信はもうできません。