# phpBB3 import script improvements

**URL:** <https://meta.discourse.org/t/phpbb3-import-script-improvements/22935>\
**Category:** Migration\
**Tags:** phpbb\
**Created:** [December 7, 2014, 8:15pm UTC](https://meta.discourse.org/t/phpbb3-import-script-improvements/22935 "2014-12-07T20:15:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![chrisalley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisalley/32/119703_2.png) [@chrisalley](https://meta.discourse.org/u/chrisalley)\
**Post date:** [December 8, 2014, 12:12pm UTC](https://meta.discourse.org/t/phpbb3-import-script-improvements/22935/4 "2014-12-08T12:12:32Z")

</div>

> [@gerhard](#):
>
> Regarding point 1: Are you sure those accounts are just disabled? This sounds like anonymous users which currently are not supported by Discourse. Disabled users should currently be imported as normals users, which isn’t correct either. I’ve fixed that in the version of the importer I’m working on.

Poor terminology on my part. The user account was deleted, and his posts in phpBB2 continued to be listed with his name and the “Guest” status. In phpBB3 his posts still have his name next to the post, but with no “Guest” status. I just had a look at the phpbb\_posts table (in the phpBB3 version of the database) and found that the post\_username field contains his old username. For posts that are linked to users (who exist), this field is blank. The ID of the post is 1, which is the anonymous user.

> [@gerhard](#):
>
> That’s a tough one. I’m not sure how this can be fixed since the Markdown parser interprets it as a list. The current parser has quite a few problems with edge case like this. I guess we’ll have to live with it.

Could you escape number+dot combinations that appear at start of a line? E.g.

`1\.`

This would be safer than converting the number to an ordered list item. BBCode ordered lists could still be converted to Markdown ordered lists.

---

_[View the full topic](https://meta.discourse.org/t/phpbb3-import-script-improvements/22935)._
