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?
AI-generated summary
The discussion revolves around merging user accounts on Discourse. SethL asks about changing or merging a Twitter account with a local one. Overmind notes there’s no built-in feature yet, referencing a related meta topic. Purldator shares a script via a gist that may help, which thangngoc89 later confirms they’ve used successfully. Dax mentions a rake task for merging users, with a link to the relevant meta post. Codinghorror adds that merging can now be done via the UI, though caution is advised for large accounts. Rickyfarguson asks about badges and achievements, and JammyDodger confirms that badges, site settings, and stats are transferred during the merge.
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
Теперь это также можно сделать через интерфейс.
Объединение крупных аккаунтов с другими крупными аккаунтами может потребовать значительных ресурсов базы данных и сервера. Однако при объединении двух небольших аккаунтов или крупного аккаунта с небольшим у вас не должно возникнуть проблем.
При слиянии аккаунтов пользователя бейджи и достижения переносятся? Или переносятся только посты, лайки и сообщения?
Я только что объединил несколько тестовых пользователей. Значки, настройки сайта, статистика и т.д. были перенесены из одного в другой. ![]()
Спасибо! Мне удалось объединить обе учётные записи одного пользователя, и значки перенеслись — это потрясающая функция.