# 第三次迁移，又一次是为了一个小众论坛（大众露营车）

**URL:** <https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224>\
**Category:** Praise\
**Created:** [2022年三月6日 21:36 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224 "2022-03-06T21:36:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2022年三月6日 21:36 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/1 "2022-03-06T21:36:08Z")

</div>

这是我的第三次迁移。我是前两个论坛的所有者，但不是这个论坛的所有者。  
我一如既往地免费进行了迁移，以帮助我的朋友。

论坛链接：

> **[VW Camper](https://vw-camper.fr/)**
>
> Le site des amateurs de campers VW et qui s'en servent !

我另外两次迁移的详细信息：

> [@Moved from PluXml and phpBB to Wordpress and Discourse, my all-new experience tada](https://meta.discourse.org/t/moved-from-pluxml-and-phpbb-to-wordpress-and-discourse-my-all-new-experience/90636):
>
> Hi! I’ve been a user of a niche sport French website and forum. Both were fairly old: almost 20 years old! 500 articles on the site, about 180000 messages on the forum. The last few years, the activity has decreased a lot on the forum. I think there are several reasons for that, the main may be the fact that a lot of community now use Facebook groups. Both our site and forum didn’t display well on smartphones, the phpBB forum was… Well, you all know phpBB. It’s working and work as expected, …

> [@My 2nd Discourse forum, 2 years after the first one](https://meta.discourse.org/t/my-2nd-discourse-forum-2-years-after-the-first-one/165489):
>
> More than 2 years ago, I migrated a very old forum to Discourse. I relate my experience here: [Moved from PluXml and phpBB to Wordpress and Discourse, my all-new experience tada](https://meta.discourse.org/t/moved-from-pluxml-and-phpbb-to-wordpress-and-discourse-my-all-new-experience/90636/1) This time, I have migrated a vBulletin5 forum. This forum has been the largest unicycling community for 20 years, but contain topics up from 1993 as content from mailing lists and newsgroups were imported a long time ago. So, it contains almost 30 years-old online information about this niche sports, which is a quite uniq…

这次，它是一个旧的 phpBB 3.1，包含 2007 年的 250,000 条消息。  
我不得不对导入脚本做一些调整，但经过一些工作，一切都很顺利。

现任管理员基于“latte”方案创建了两个配色方案。  
我喜欢浅色的那个！

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/0/50c497c7cfbbcbffacd1ae30defad27282a25888.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/7/275885c34d3cc73257900d804e519152e28fbfed.png)

我做了一些小的调整，正如你所看到的子类别在类别部分是如何显示的；它们与类别徽标的右侧对齐。

我们还使用了我在 [unicyclist.com](http://unicyclist.com) 上制作的相同的捐赠按钮系统（只是一个额外的标题按钮，用户可以在其首选项中禁用它）。论坛的年费将通过这些捐赠来支付。

我们使用了 [欢迎横幅](https://meta.discourse.org/t/welcome-link-banner/218743)，这是一个非常好的补充，设计精良，总体上比标准的固定主题横幅要好。

我们还使用了出色的 [MD Topic List Mobile component](https://meta.discourse.org/t/md-topic-list-mobile-component/146341)，我在“我”的三个论坛上都使用了它。

我们为仅限员工启用了 alpha 聊天插件。旧论坛有一个用户非常喜欢的聊天功能，这是一个损失，所以他们很高兴有这样的功能可用。  
我们打算在几周后，当用户习惯了 Discourse 的界面后，为所有用户启用它。

我修改了横幅，使其在移动设备上显示，但不会占用过多的垂直空间。

从：

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/0/809e12ca5886766eb9c660d8be6d07398f3e8e9e.png)

到：

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/8/c8f0eb06405354f1b638048290c98be8567f08f2.png)

人们尤其高兴的是，上传图片 **非常** 容易，因为论坛上广泛使用图片。

/latest/ 视图：

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/c/6c1b6da74f82eb917256697cceb4657aecc48e90.png)

主题视图：

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/f/ff35c4a463f310c5785a6ab3916046bec293a7dc.jpeg)

到目前为止，发布是成功的。许多老用户在几个月没有访问后又回来了，甚至还有新注册用户。  
此外，phpBB 版本充斥着垃圾邮件账户，我想这不会再是一个问题了。

我们还有一些工作要做，例如启用 Google、Facebook、Twitter 和 Discord 注册。

由于我不会成为“官方”管理员（但仍会在这里提供帮助），我祝愿这个论坛的员工好运并拥有愉快的体验，而且一如既往地，尽管我们遇到了随机的问题（就像任何迁移一样），与这个论坛合作是一件乐事。 🙂

---

<div class="post-metadata">

**Author:** ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)\
**Post date:** [2022年三月7日 05:45 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/2 "2022-03-07T05:45:28Z")

</div>

该网站看起来很棒，配色方案让我想起了 `community.atlasobscura.com` – 感谢您的努力 👏

> [@Canapin](#):
>
> 我们仅为员工启用了 alpha 聊天插件。旧论坛有一个用户非常喜欢的聊天功能，这是一个损失，所以他们很高兴有这样的功能。我们打算在几周后，当用户习惯了 Discourse 的界面后，为所有用户启用它。

如果您的用户对聊天功能有任何反馈，我们很乐意听取。

---

<div class="post-metadata">

**Author:** ![apgar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/apgar/32/252451_2.png) [@apgar](https://meta.discourse.org/u/apgar)\
**Post date:** [2022年三月7日 06:18 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/3 "2022-03-07T06:18:35Z")

</div>

> [@Canapin](#):
>
> 我修改了横幅，使其在移动设备上显示，但不会占用太多垂直空间。

你好 Canapin！我喜欢你做的。虽然欢迎横幅在视觉上很吸引人，但我发现（在移动设备上）需要滚动很长一段距离才能到达论坛的类别或主题。您能否分享一下您实施的尺寸修改？谢谢！🙂

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2022年三月7日 07:22 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/4 "2022-03-07T07:22:03Z")

</div>

请记住，您可以从浏览器的检查器中获得很多信息。

---

<div class="post-metadata">

**Author:** ![Jacky\_Joy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jacky_joy/32/244273_2.png) [@Jacky\_Joy](https://meta.discourse.org/u/Jacky_Joy)\
**Post date:** [2022年三月7日 09:56 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/5 "2022-03-07T09:56:18Z")

</div>

> [@apgar](#):
>
> 嗨 Canapin！我喜欢你做的。虽然欢迎横幅在视觉上很有吸引力，但我发现（在移动设备上）需要滚动很长一段距离才能到达论坛上的类别或主题。您能否分享一下您实施的尺寸修改？

感谢您提供这些很棒的信息。

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2022年三月7日 12:15 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/6 "2022-03-07T12:15:09Z")

</div>

> [@rishabh](#):
>
> 这个配色方案让我想起了 `community.atlasobscura.com`

哦哦，是的，绝对！这个配色方案有“舒缓”之处！

> [@rishabh](#):
>
> 如果您的用户对聊天有任何反馈，我们很乐意听到。

是的，我打算分享反馈。  
在 [vw-camper.fr](http://vw-camper.fr) 上获得这次未来体验后，我也打算将其扩展到 [uniyclist.com](http://uniyclist.com)，在那里从未明确要求或想要聊天功能。因此，这次实验可能很有趣：用户会作何反应？积极还是消极？但由于这是一种为期数月的两步体验，所以不是明天的事…… 🙂

> [@apgar](#):
>
> 您能否分享一下您实施的尺寸修改？谢谢！ 🙂

当然。请注意，这只是一个非常快速和粗糙的修改。将其放入主题自定义的 **mobile** 选项卡中。

```css
.below-site-header-outlet.welcome-link-banner-connector .welcome-wrapper {
    margin: 0 auto 0 !important;
    .featured-banner-link {
        flex-direction: row;
        padding-bottom: 0.5em;
        &>div a {
            padding: 0 5px;
            h3 {
                font-size: 0.75em;
                white-space: normal;
            }
        }
    }
}
.wrap.welcome-link-banner {
    padding: 0;
}

```

毫无疑问，它需要一些额外的调整才能使其更可靠。

---

<div class="post-metadata">

**Author:** ![apgar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/apgar/32/252451_2.png) [@apgar](https://meta.discourse.org/u/apgar)\
**Post date:** [2022年三月7日 17:31 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/7 "2022-03-07T17:31:41Z")

</div>

> [@Canapin](#):
>
> 当然。请注意，这只是一个非常快速粗糙的修改。如果文本太宽，可能会导致水平滚动。

感谢您的 CSS 技巧。它极大地改善了我的论坛在移动视图上欢迎链接横幅的布局。通过对边距和填充进行一些小的编辑，移动视图现在可以模仿我论坛的桌面视图。

还有一件事。你太棒了！ 👍

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2022年四月5日 22:40 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/8 "2022-04-05T22:40:43Z")

</div>

论坛很老旧，用户依赖外部图片托管服务。他们在论坛中使用了大量的图片。在 300,000 篇帖子中，有 40,000 篇至少包含一张图片，通常不止一张。我甚至看到过一个帖子包含 150 张图片（！）。

由于旧的图片托管服务现已失效，绝大多数（也许……95%？）论坛的图片都已损坏，无法修复（有趣的事实：即使旧图片中有 5% 仍然存在，它们在上传到 Discourse 后仍然占用 10 GB 的磁盘空间……），导致旧帖子中出现大量损坏的图片图标：

![](https://global.discourse-cdn.com/meta/original/3X/c/7/c71ed18c3742653d9a6e9ba02b60dfb4645e2bca.png)

我们用自定义图片替换了这些图标：

![](https://global.discourse-cdn.com/meta/original/3X/2/f/2f6d99bc3491d540e3eecc2a4dd6d58cda169c9d.png)

文字显示“哎呀！图片未找到”。自定义图片为论坛增添了一些个性，有点像 [unicyclist.com](http://unicyclist.com) 上的自定义加载旋转器。

```scss
// Remplacement des icônes d'images invalides par une icône personnalisée :
.broken-image {
    display: block;
    width: 227px;
    height: 51px;
    margin: 10px 0;
    background: url($broken-image);
    border: none;
    svg {
        display: none;
    }
}

```

易于自定义 👍

---

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2022年四月6日 00:11 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/9 "2022-04-06T00:11:29Z")

</div>

> [@Canapin](#):
>
> 我们已将这些图标替换为自定义图像：
> 
> ![](https://global.discourse-cdn.com/meta/original/3X/2/f/2f6d99bc3491d540e3eecc2a4dd6d58cda169c9d.png)

我真的很喜欢看到这样的小定制！这是一个很好的细节。

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2022年五月2日 21:17 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/10 "2022-05-02T21:17:14Z")

</div>

我稍微调整了一下代码，通过在 `h3` 上添加 `white-space: normal;` 应该就不会在小屏幕上出现横向滚动了。

另外，如果你想保留背景图片，可以移除 `margin: 0 auto 0 !important;`。这样看起来会不错。例如：

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/c/c/4cc800a89dd090142155dd5fb2e6562943f4ed50.png)

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2022年五月6日 14:38 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/11 "2022-05-06T14:38:48Z")

</div>

快速更新：管理员/版主/用户们对从 phpBB 迁移到 Discourse 感到非常满意。很多人回来了。新注册用户也有增加。所以，确实是一个成功。

🥳

有趣的事实：他们使用 [anniversary 插件](https://meta.discourse.org/t/cakeday-celebrating-birthdays-and-anniversaries/38447) 每天在 [专门的主题](https://vw-camper.fr/t/le-topic-des-anniversaires/426/6660?u=canapin) 中手动提及每位会员的生日。  
我一开始认为这是一个坏主意，但它让人们回来了，并且似乎能有效地达到这个目的。不过，我不建议所有社区都这样做…… 😄

我有点惊讶他们还没有启用聊天功能，因为一切都已准备就绪并配置完毕，但我知道他们打算这样做。我想让他们启用它，看看在这个社区中效果如何，这样我就可以在这里提供反馈。

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2022年十一月3日 23:51 UTC](https://meta.discourse.org/t/third-migration-once-again-for-a-niche-forum-volkswagen-campers-vans/220224/12 "2022-11-03T23:51:54Z")

</div>

只是想更新一下，说明用户根本不使用聊天功能。

在之前的论坛软件上，聊天功能使用得很多，而且是一个大家想要的功能，但最终根本不起作用。

我一点也不惊讶，因为旧软件上的论坛聊天框总是可见的，这会激发人们参与，而在 Discourse 上，你必须点击一个图标才能打开聊天。它默认总是隐藏的，人们要么注意不到，要么不愿意付出“努力”去点击它来阅读内容和互动。🤷

但论坛本身状况非常好，比迁移到 Discourse 之前活跃得多。👍
