I've got a site with alot of comments posted with the normal comments module.
After setting up node comments all the comment counts are the same as before I installed node comments but when you load a node with comments you only see the post new comment form(and when you enter a new node comment they show up)
So to not create confusion I'd like to either:
reset all the comment_counts in the $node objects
OR
migrate all the old comments to become node comments
I would of course prefer the last option but if that's not (easily) doable I'm fine with just reseting the comment count of all the nodes.. What's the best way to do this? Can I just edit the database in one place for every node or do I need to change the comment count in several different places to avoid problems?
Comments
Comment #1
soupp commented- I'd be interested in any ideas on comment migration as well.
Comment #2
donBono commentedSo do I, is there any database script to do this?
Comment #3
yngens commentedI also support the request to migrate old comments to node comments.
As for the first option, it is not that much important because the counter for number of old comments resets as soon as you submit first comment using node comment.
Comment #4
yngens commentedI've decided to try this module just yesterday and am astonished by the flexibility it supplies, and would love to transfer number of websites of mine to it. However, I will not be able to do it just because I don't want to loose all the numerous comments added via the core comment module. So this feature requested is crucial for many Drupal users and, I believe, implementation of it could boost the use of this module.
Comment #5
sirkitree commentedRobert wrote a script a while back that will give you a basis. I've not tried it myself, but check out this thread: http://drupal.org/node/200871
Comment #6
ianchan commentedsubscribe
Comment #7
quicksketchThis feature will be added to the 2.x version of the module, which now supports using the comment module and node comments together. See #472886: Convert comments to nodecomments and viceversa when the type is changed.