gingerman
(ginger man)
16.Ноябрь.2021 05:24:08
2
Похожий вопрос в прошлом →
I know that Discourse lets use now change text almost everyone on the site through the admin panel, but is there a way to do something like find and replace all?
I know categories and topics are fundamental to how Discourse was built, but what if I wanted to match the experience of the forum I’m migrated to and instead wanted to use ‘Forums’ to replace ‘Categories’ and ‘Threads’ to replace to ‘Topics’. ?
Если вы разбираетесь в технологиях, есть несколько вариантов массовой замены строк в постах, которые теоретически можно расширить для решения вашей задачи
==> 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…