Flatcomments is a very small module that allows you to force comments to always be replies to the node regardless of the reply link used.

The comments are not just displayed flat, but also stored in this way, making edits with for example comment_mover more intuitive.

If you delete comment, all of it's replies are deleted as well. This is an issue especially when you are displaying your comments as a flat list because you can not see if a comment has any replies causing the deletion of more than the single comment you intended.

As this is unintuitive for the user that does not realize they are replying to a specific comment when you are displaying them as a flat list.

Flatcomment fixes these issues.

Example:

  • comment 1
  • comment 2

Suppose user replies via the reply link on comment 1:

Without flatcomments (using any core comment display, even if you are displaying comments flat they are stored threaded):

  • comment 1
    • comment 3
  • comment 2

With flatcomments enabled for the node type story:

  • comment 1
  • comment 2
  • comment 3

2.x

D6 has a 2.x branch with these new features:

  • Ability to flatten existing comments with the Flatcomments Existing sub-module. Big thanks go to JirkaRybka for this one. (currently only in 6.x-2.0, will be ported to 7.x later)
  • Option to hide the reply link on comments. Note: Hiding the reply link only works with an unmodified links section. Ex. It does not work with Advanced forum currently but may in the future. See #374463: Alter comment links..
  • An advanced comment display mode called "Orderable flat list - expanded". Note: This option does nothing by itself. Modules like the upcoming Comment Mover 2.x will take advantage of this setting.

Project Information

Downloads