1.3.2.15.2.4 (checked in on 2008/07/24 at 15:03:31 by sirkitree)
Enables users to comment on published content.
When enabled, the Drupal comment module creates a discussion board for each Drupal node. Users can post comments to discuss a forum topic, weblog post, story, collaborative book page, etc.
| Name | Description |
|---|---|
| COMMENT_ANONYMOUS_MAYNOT_CONTACT | Constants to define the anonymous poster contact handling |
| COMMENT_ANONYMOUS_MAY_CONTACT | |
| COMMENT_ANONYMOUS_MUST_CONTACT | |
| COMMENT_CONTROLS_ABOVE | Constants to define the position of the comment controls |
| COMMENT_CONTROLS_ABOVE_BELOW | |
| COMMENT_CONTROLS_BELOW | |
| COMMENT_CONTROLS_HIDDEN | |
| COMMENT_FORM_BELOW | |
| COMMENT_FORM_SEPARATE_PAGE | Constants to define the comment form location |
| COMMENT_MODE_FLAT_COLLAPSED | Constants to define the viewing modes for comment listings |
| COMMENT_MODE_FLAT_EXPANDED | |
| COMMENT_MODE_THREADED_COLLAPSED | |
| COMMENT_MODE_THREADED_EXPANDED | |
| COMMENT_NODE_DISABLED | Constants to define a node's comment state |
| COMMENT_NODE_READ_ONLY | |
| COMMENT_NODE_READ_WRITE | |
| COMMENT_NOT_PUBLISHED | |
| COMMENT_ORDER_NEWEST_FIRST | Constants to define the viewing orders for comment listings |
| COMMENT_ORDER_OLDEST_FIRST | |
| COMMENT_PREVIEW_OPTIONAL | Constants to define if comment preview is optional or required |
| COMMENT_PREVIEW_REQUIRED |
| Name | Description |
|---|---|
| nodecomment_admin_settings | Menu callback; presents the comment settings page. |
| nodecomment_comment_type_validate | |
| nodecomment_disable_comment_module | Disables the comment module checkbox so it can't be selected. |
| nodecomment_form | |
| nodecomment_form_alter | Implementation of hook_form_alter(). |
| nodecomment_form_box | |
| nodecomment_get_thread | |
| nodecomment_help | Implementation of hook_help(). |
| nodecomment_int2vancode | Generate vancode. |
| nodecomment_link | Implementation of hook_link(). |
| nodecomment_links | |
| nodecomment_menu | Implementation of hook_menu(). |
| nodecomment_nodeapi | Implementation of hook_nodeapi(). |
| nodecomment_num_all | |
| nodecomment_num_new | get number of new comments for current user and specified node |
| nodecomment_perm | Implementation of hook_perm(). |
| nodecomment_render | |
| nodecomment_save | Accepts a submission of new or changed comment content. |
| nodecomment_theme | |
| nodecomment_user | Implementation of hook_user(). |
| nodecomment_vancode2int | Decode vancode back to an integer. |
| theme_nodecomment | |
| theme_nodecomment_wrapper | Allow themable wrapping of all comments. |
| _nodecomment_delete_thread | |
| _nodecomment_get_modes | Return an array of viewing modes for comment listings. |
| _nodecomment_get_orders | Return an array of viewing orders for comment listings. |
| _nodecomment_per_page | Return an array of "comments per page" settings from which the user can choose. |
| _nodecomment_update_node_statistics | Updates the comment statistics for a given node. This should be called any time a comment is added, deleted, or updated. |