By droopy on
Is there an easy way to convert a comment to a forum or story node - other than creating a new node and copying the information in?
Is there an easy way to convert a comment to a forum or story node - other than creating a new node and copying the information in?
Comments
No
You could probably write a module that allows admins to do this.
--
Drupal services
My Drupal services
Not me I couldn't
I was hoping someone had already done so. It seems a useful functionality - people often add comments to posts that take the discussion off at a tangent. It would be great to be able to reassign the comment as a new topic or story.
Comments as nodes
I've almost finished writing a patch for
comment.modulethat enables Drupal to store comments as nodes. With this, a comment could be (for example) promoted to front page enabling the flag.It was discussed at the devel mailing list, but most people thought this could cause bad performance.
Did you check the performance
Did you check the performance impact of your patch? Don't you think an extra module would be better for this particular purpose?
--
Drupal services
My Drupal services
No, I don't
I haven't tested yet, I've only tested a small number of nodes & comments & accessess. It works fine on this scenario.
Do we need an extra module to store comments?
Not to store them, but to con
Not to store them, but to convert some of them to nodes. This is probably much easier than patching comment.module that all comments should be nodes.
--
Drupal services
My Drupal services
Ok
I think it is a good idea but, should comments below "noded" comment remain attached to it or should both threads remain independant?
comments below remain attached
I would strongly prefer comments attached below the comment that is moved to stay attached and be moved with it, though I guess people are not always careful to reply to the right branch of the thread. Or could it be made optional?
I think they should remain at
I think they should remain attached, but you could also just set a link to the old discussion thread.
--
Drupal services
My Drupal services
What about reverse process?
I think, reverse process also will usefull - convert "nodes" to "comments", or by other words, split two nodes into one. Like works 'split' in forum-engines.
--
Axel,
Russian Debian Community
Progress
Has anyone made any progress on this front? I would think that this would ideally appear in core, but should be a free-standing module, if core isn't practical. It's always dangerous to patch a core module, if it doesn't look like it'll be supported in the long run.
Perhaps a new module could import the comment as a new node that, somehow, sets all the other node links null and links back to the original node for comments, subscriptions, etc.