# 将 phpBB3 论坛迁移到 Discourse

**URL:** https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810
**Category:** Migrating to Discourse
**Tags:** how-to
**Created:** [2015年七月5日 22:02 UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810 "2015-07-05T22:02:57Z")
**Posts on this page:** 1
**Showing post:** 781

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [2024年九月6日 20:47 UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810/781 "2024-09-06T20:47:08Z")

</div>

> [@GeoffSchultz](#):
>
> 我在 phpBB 上的用户名与我在 Discourse 上的管理员帐户相同。我无法登录，并且出现一条消息：
> 
> ```plaintext
> 所有发出的电子邮件已被管理员全局禁用。不会发送任何种类的电子邮件通知。
> 
> ```

您可以通过 rails 控制台启用管理员用户的电子邮件：

```plaintext
./launcher enter import
rails c

> SiteSetting.disable_emails = "non-staff"

```

您也可以直接从容器重置密码，无需使用电子邮件，方法是运行：

```plaintext
./launcher enter import
rake admin:create

```

---

_[View the full topic](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810)._
