Version

1.3.2.15.2.4 (checked in on 2008/07/24 at 15:03:31 by sirkitree)

Description

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.

Constants

Namesort iconDescription
COMMENT_ANONYMOUS_MAYNOT_CONTACTConstants to define the anonymous poster contact handling
COMMENT_ANONYMOUS_MAY_CONTACT
COMMENT_ANONYMOUS_MUST_CONTACT
COMMENT_CONTROLS_ABOVEConstants to define the position of the comment controls
COMMENT_CONTROLS_ABOVE_BELOW
COMMENT_CONTROLS_BELOW
COMMENT_CONTROLS_HIDDEN
COMMENT_FORM_BELOW
COMMENT_FORM_SEPARATE_PAGEConstants to define the comment form location
COMMENT_MODE_FLAT_COLLAPSEDConstants to define the viewing modes for comment listings
COMMENT_MODE_FLAT_EXPANDED
COMMENT_MODE_THREADED_COLLAPSED
COMMENT_MODE_THREADED_EXPANDED
COMMENT_NODE_DISABLEDConstants to define a node's comment state
COMMENT_NODE_READ_ONLY
COMMENT_NODE_READ_WRITE
COMMENT_NOT_PUBLISHED
COMMENT_ORDER_NEWEST_FIRSTConstants to define the viewing orders for comment listings
COMMENT_ORDER_OLDEST_FIRST
COMMENT_PREVIEW_OPTIONALConstants to define if comment preview is optional or required
COMMENT_PREVIEW_REQUIRED

Functions

Namesort iconDescription
nodecomment_admin_settingsMenu callback; presents the comment settings page.
nodecomment_comment_type_validate
nodecomment_disable_comment_moduleDisables the comment module checkbox so it can't be selected.
nodecomment_form
nodecomment_form_alterImplementation of hook_form_alter().
nodecomment_form_box
nodecomment_get_thread
nodecomment_helpImplementation of hook_help().
nodecomment_int2vancodeGenerate vancode.
nodecomment_linkImplementation of hook_link().
nodecomment_links
nodecomment_menuImplementation of hook_menu().
nodecomment_nodeapiImplementation of hook_nodeapi().
nodecomment_num_all
nodecomment_num_newget number of new comments for current user and specified node
nodecomment_permImplementation of hook_perm().
nodecomment_render
nodecomment_saveAccepts a submission of new or changed comment content.
nodecomment_theme
nodecomment_userImplementation of hook_user().
nodecomment_vancode2intDecode vancode back to an integer.
theme_nodecomment
theme_nodecomment_wrapperAllow themable wrapping of all comments.
_nodecomment_delete_thread
_nodecomment_get_modesReturn an array of viewing modes for comment listings.
_nodecomment_get_ordersReturn an array of viewing orders for comment listings.
_nodecomment_per_pageReturn an array of "comments per page" settings from which the user can choose.
_nodecomment_update_node_statisticsUpdates the comment statistics for a given node. This should be called any time a comment is added, deleted, or updated.