okay, I'm moving an old custom forum across into drupal 4.7, and have written a couple of scripts that move the relevant fields from the old database into the drupal one.

The tables I've moved data into are...

* node
* node_revisions
* forum
* term_node

...and everything looks pretty good, up to the point of trying to see the forum topic listed in the relevant forum.

I can see and edit the node via the admin/content section, and get to it by browsing directly to the node/id#. The breadcrumb trail appears correctly at the top of the forum topic, and I can even browse to earlier (entered via the Drupal interface) forum topics from the forum topic entered via the script.

So it's in the right place, it would seem, but just not appearing in the forum listing.

Any tips on where I'm going wrong? Another table that needs to be updated, perhaps?

Comments

noizyboy’s picture

rightio, partly answering my own question, it would seem adding the nid, uid and a timestamp to the...

node_comment_statistics

...table at least gets the forum topic appearing in any 'active' and 'new' forum topic blocks.

still no joy on the forum list itself, though.

noizyboy’s picture

aha - just had to get my various nids and tids mapped correctly.

move along, nothing to see here...