# phpBB 3 Importer goes slow

**URL:** <https://meta.discourse.org/t/phpbb-3-importer-goes-slow/26182>\
**Category:** Product Support\
**Created:** [10. März 2015 um 19:56 UTC](https://meta.discourse.org/t/phpbb-3-importer-goes-slow/26182 "2015-03-10T19:56:00Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [12. März 2015 um 20:35 UTC](https://meta.discourse.org/t/phpbb-3-importer-goes-slow/26182/11 "2015-03-12T20:35:31Z")

</div>

Yes, the importer has the ID from phpBB and it also finds the correct category, but it is currently using the category name:

> <https://github.com/discourse/discourse/blob/519c875d87a83d4fc9332e1a56991399a557d8b5/script/import_scripts/phpbb3.rb#L159>

This problem seems to exist for all importers since they all use the category name instead of its ID.

There’s some kind of workaround in `TopicCreator` which uses either the ID or the the name to find the category…

> <https://github.com/discourse/discourse/blob/17d07a8b9a3db9d963f9d7d5bd73504984ef3188/lib/topic_creator.rb#L94-L106>

Anyway, I submitted a PR which should fix this.

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

---

_[View the full topic](https://meta.discourse.org/t/phpbb-3-importer-goes-slow/26182)._
