gingerman
(ginger man)
16. November 2021 um 05:24
2
Ähnliche Frage in der Vergangenheit →
Ich weiß, dass Discourse es mittlerweile ermöglicht, über das Admin-Panel den Text für fast alle Benutzer auf der Seite zu ändern, aber gibt es eine Möglichkeit, so etwas wie eine „Suchen und Ersetzen-für-alles“-Funktion zu nutzen?
Mir ist bewusst, dass Kategorien und Themen grundlegend für die Funktionsweise von Discourse sind, aber was wäre, wenn ich das Erlebnis des Forums, zu dem ich migriere, nachbilden möchte und stattdessen „Foren“ statt „Kategorien“ sowie „Threads“ statt „Themen“ verwen…
Wenn Sie technikaffin sind, gibt es einige Optionen für den Massenersatz von Zeichenfolgen in Beiträgen, die theoretisch erweitert werden können, um das zu tun, wonach Sie suchen
==> Discourse-post-process <==
I’m happy to introduce this simple but powerful Node.js script that uses the Discourse API to mass-modify Discourse posts. It essentially performs a regexp-based search & replace across all posts in a forum.
After migrating a few thousand posts from MyBB to Discourse, there was various little tweaks that needed to be made (fix BBCode → Markdown conversion, re-attach attachments, fix @username mentions when the usernames have changed etc.) I’m not a Ruby coder, and…
This guide explains how to replace a string in all posts within a Discourse instance.
Required user level: System Administrator
Console Access Required
Want to replace a string in all the posts on a site? Let’s get started!
WARNING: We strongly recommend you take a full backup before proceeding, and make sure your string replacement is specific enough to affect only the places you want it to. If this string replacement goes wrong, every…