# MyBB import doesn't process on quoted posts PID and date

**URL:** https://meta.discourse.org/t/mybb-import-doesnt-process-on-quoted-posts-pid-and-date/27412
**Category:** Bug
**Created:** [April 10, 2015, 9:39am UTC](https://meta.discourse.org/t/mybb-import-doesnt-process-on-quoted-posts-pid-and-date/27412 "2015-04-10T09:39:10Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [September 22, 2015, 5:16am UTC](https://meta.discourse.org/t/mybb-import-doesnt-process-on-quoted-posts-pid-and-date/27412/5 "2015-09-22T05:16:16Z")

</div>

I’ve looked some more into this. The quote syntax for MyBB is:

```plaintext
[quote='username' pid='1234' dateline='1412029545']
...
[/quote]

```

In Discourse, it’s

```plaintext
[quote="username, post:12, topic:1234"]
...
[/quote]

```

How can I [get the post number and topic ID from the post ID](https://meta.discourse.org/t/searching-for-the-topic-post-by-id/19084/), via the API? [process\_mybb\_post](https://github.com/discourse/discourse/blob/master/script/import_scripts/mybb.rb#L156) would need to be updated to take that into account; BTW, the `import_id` parameter isn’t used.

---

_[View the full topic](https://meta.discourse.org/t/mybb-import-doesnt-process-on-quoted-posts-pid-and-date/27412)._
