# Migrate a phpBB3 forum to Discourse

**URL:** https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810
**Category:** Migrating to Discourse
**Tags:** how-to
**Created:** [7월 5, 2015, 10: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:** 410

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [1월 1, 2019, 8:32오후 UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810/410 "2019-01-01T20:32:18Z")

</div>

Yes, it’s available. You can follow my work at [https://github.com/gschlager/discourse/tree/phpbb3](https://github.com/gschlager/discourse/tree/phpbb3).

I assume you will be able to figure this out on your own, since you want to add support for custom BBCodes. I won’t give any support until my work is finished and merged. Expect some heavy refactoring on my part which might break things for you. 😉

Two hints to get you started:

- [https://github.com/gschlager/discourse/blob/phpbb3/script/import\_scripts/phpbb3/support/bbcode/xml\_to\_markdown.rb](https://github.com/gschlager/discourse/blob/phpbb3/script/import_scripts/phpbb3/support/bbcode/xml_to_markdown.rb)
- And lots of specs in [https://github.com/gschlager/discourse/blob/phpbb3/spec/script/import\_scripts/phpbb3/support/bbcode/xml\_to\_markdown\_spec.rb](https://github.com/gschlager/discourse/blob/phpbb3/spec/script/import_scripts/phpbb3/support/bbcode/xml_to_markdown_spec.rb)

The import from phpBB 3.2 works with a few caveats right now:

- Poll votes aren’t imported.
- Internal links aren’t rewritten to Discourse URLs.
- The `[attachment]` BBCode doesn’t work.

---

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