# Import (migration) tool from FluxBB

**URL:** https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168
**Category:** Marketplace
**Created:** [6 Outubro , 2016 09:16 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168 "2016-10-06T09:16:13Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Raz\_Taz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raz_taz/32/62466_2.png) [@Raz\_Taz](https://meta.discourse.org/u/Raz_Taz)
#### Post date: [6 Outubro , 2016 09:16 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/1 "2016-10-06T09:16:13Z")

</div>

Dear Colleagues,

We are a very small (but big hearted) team of volunteers working in our spare time to migrate the old [Ubuntu Romania Forum](http://forum.ubuntu.ro) from FluxBB to Discourse.  
Over the years, our forum evolved into a community which has provided and enjoyed free, competent and prompt support and assistance to hundreds of users on thousands of topics related to the use of Ubuntu operating system. However, the FluxBB platform we have be using became utterly inadequate to accommodate our needs. And then we looked to Discourse and chose it as our replacement of choice for its many features and high versatility.

Over the last week we have managed to complete the full localization of Discourse to Romanian (on Transifex), and currently we are making fine tunes to the translation on an on-line testing environment.

Once that is completed, we plan to move the old forum to Discourse.  
I saw here [http://learndiscourse.org/migrating-to-discourse-from-another-forum-software/](http://learndiscourse.org/migrating-to-discourse-from-another-forum-software/) that you have a quite large number of importing tools from other platforms to Discourse, but unfortunately (for us), there is no import tool from FluxBB.

This topic is to **kindly request an import feature from FluxBB to Discourse.**

We would also be most grateful if you could give us your ideas about how we can accomplish this migration and to what extent (categories,topics,replies,users, passwords, etc).

Many thanks, on behalf of our team.  
Raz Taz

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [6 Outubro , 2016 09:52 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/2 "2016-10-06T09:52:20Z")

</div>

> [@Raz\_Taz](#):
>
> This topic is to kindly request an import feature from FluxBB to Discourse.

Ubuntu is a key part of our technology stack, so we’d be happy to sponsor the development of a FluxBB import script. We’ll pay $500 for an open source script and a basic #howto writeup. If anyone’s interested, send me a PM.

**Update:** Well that was quick. Seems we’ve got someone already. Stay tuned for updates.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [6 Outubro , 2016 10:00 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/3 "2016-10-06T10:00:12Z")

</div>

Import script should be in Ruby only?

Anyway I will try to create the tool in Ruby itself.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [6 Outubro , 2016 10:02 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/4 "2016-10-06T10:02:11Z")

</div>

> [@vinothkannans](#):
>
> Import script should be in Ruby only?

Yes, we’d like to include it alongside our [other import scripts](https://github.com/discourse/discourse/tree/master/script/import_scripts).

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [6 Outubro , 2016 10:07 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/5 "2016-10-06T10:07:38Z")

</div>

Okay. I will start working on it.

I am not an expert in Ruby. So it may take sometime.

---

<div class="post-metadata">

### Author: ![Raz\_Taz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raz_taz/32/62466_2.png) [@Raz\_Taz](https://meta.discourse.org/u/Raz_Taz)
#### Post date: [6 Outubro , 2016 10:15 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/6 "2016-10-06T10:15:51Z")

</div>

Wow. Guys, **thank you** so much for your support. I’m impressed: that was fast. Let us see then where it goes.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [6 Outubro , 2016 13:33 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/7 "2016-10-06T13:33:03Z")

</div>

That’s what I get for sleeping! I’d have gladly taken this on. Sometimes I’m in the wrong timezone, I guess. ☺

I’ve written a few importers. If the database is in mysql, I recommend starting with the vanilla\_mysql importer.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [6 Outubro , 2016 13:51 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/8 "2016-10-06T13:51:53Z")

</div>

sorry @pfaffman. I spent few hours on this and I hope I can do this without much troubles. Anyway if you are still interested to work on this task you can take it.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [6 Outubro , 2016 17:13 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/9 "2016-10-06T17:13:31Z")

</div>

Thanks, @vinothkannans! I was partly kidding, and I’ve got a couple other projects going right now, so go for it! If you decide that you can’t or don’t want to do it, let me know and I’ll take a stab at it.

A couple pointers: [this file](https://github.com/fluxbb/fluxbb/blob/5a9a5f401f1711ecb610d5e6a70bf8c0d1e3847a/install.php) defines the database, though you’re probably just as well off poking in the database. [This function](https://github.com/fluxbb/fluxbb/blob/5a9a5f401f1711ecb610d5e6a70bf8c0d1e3847a/include/parser.php#L757) appears to have all the BBCode stuff that you’ll need to deal with translating.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [6 Outubro , 2016 17:57 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/10 "2016-10-06T17:57:58Z")

</div>

Thank you @pfaffman. I just created a PR regarding this script.

[https://github.com/discourse/discourse/pull/4480](https://github.com/discourse/discourse/pull/4480)

But still doing few changes & testing in my branch. Including bbcode conversion and etc.,

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [7 Outubro , 2016 08:49 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/11 "2016-10-07T08:49:22Z")

</div>

It’s done. Now it can me merged to master 👍

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [10 Outubro , 2016 05:40 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/12 "2016-10-10T05:40:06Z")

</div>

FYI the fluxbb importer is now merged in, @Raz_Taz let us know how you go and ping @vinothkannans if you get stuck somewhere

:unicorn:

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [10 Outubro , 2016 06:36 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/13 "2016-10-10T06:36:37Z")

</div>

And I released the related #howto topic below

> [@Migrate a FluxBB forum to Discourse](https://meta.discourse.org/t/importing-from-fluxbb/51322):
>
> I created a migration [script](https://github.com/discourse/discourse/blob/main/script/import_scripts/fluxbb.rb) to import FluxBB database into Discourse. Now I’m going to explain how to do the import process in a step-by-step tutorial. I tested this migration script with FluxBB v1.5.10 (which is current version now) What data can be imported? Users (including bios/signatures) Groups Categories warning Permissions won’t be imported and all categories will be public. Right permissions must be set manually after the import. Topics (including sticky/pinned status) Posts Sus…

---

<div class="post-metadata">

### Author: ![Raz\_Taz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raz_taz/32/62466_2.png) [@Raz\_Taz](https://meta.discourse.org/u/Raz_Taz)
#### Post date: [13 Outubro , 2016 18:54 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/14 "2016-10-13T18:54:09Z")

</div>

Dear Colleagues,

First of all, I (and all my colleagues) would like to warmly thank you for your fast support and sponsorship in our attempt to migrate our community forum to Discourse. What a wonderful team you/we are!

These days we are making some cosmetic upgrades (theme, link between the forum and the website, etc) and final testing.

One question we have about the import tool is if it will work with FluxBB 1.2, which is the current version of our old forum.

We will be in touch and I will contact Vinoth directly for some further info.

Many thanks,  
RazTaz (on behalf of Ubuntu.ro).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [22 Abril , 2017 10:16 UTC](https://meta.discourse.org/t/import-migration-tool-from-fluxbb/51168/15 "2017-04-22T10:16:21Z")

</div>


