unlike _timestamp and _edited, topic._deleted and post._deleted are NOT timestamps, either 1 or 0, although I would like them to be, maybe we can request that from the core nodebb team, it kinda makes more sense actually.
(this one is my fault, I should have documented this better, it is now) but in getPaginatedVotes, you shouldn't need to include vote._tid AND vote._pid, either or; use _tid when the Like occured on the "main-post" of the topic (the importer will find the new topic.mainPid using the old _tid), and use _pid when it's on any other post within a topic. (also fixed a major bug in votes in the core import plugin, so you should update to latest)
(also undocumented till now) in getPaginatedPosts - you should also include post._toPid, which is the post_id which was replied to. NodeBB keeps track of these are well.
_timestamp
and_edited
,topic._deleted
andpost._deleted
are NOT timestamps, either1
or0
, although I would like them to be, maybe we can request that from the core nodebb team, it kinda makes more sense actually.getPaginatedVotes
, you shouldn't need to includevote._tid
ANDvote._pid
, either or; use_tid
when the Like occured on the "main-post" of the topic (the importer will find the newtopic.mainPid
using the old_tid
), and use_pid
when it's on any other post within a topic. (also fixed a major bug in votes in the core import plugin, so you should update to latest)getPaginatedPosts
- you should also includepost._toPid
, which is the post_id which was replied to. NodeBB keeps track of these are well.