{"id":1769,"date":"2007-05-02T18:05:01","date_gmt":"2007-05-02T18:05:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/comment-analysis\/"},"modified":"2008-09-19T18:29:41","modified_gmt":"2008-09-19T18:29:41","slug":"comment-analysis","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/comment-analysis\/","author":5143,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.6.2","stable_tag":"2.6.2","tested":"2.6","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Comment Analysis","header_author":"Mark Styles","header_description":"","assets_banners_color":"","last_updated":"2008-09-19 18:29:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.lambic.co.uk\/wp-plugins\/","header_author_uri":"http:\/\/www.lambic.co.uk","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4749,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.2","2.3","2.4","2.5","2.6","2.6.1","2.6.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1108,107,521],"plugin_category":[36,44],"plugin_contributors":[91962],"plugin_business_model":[],"class_list":["post-1769","plugin","type-plugin","status-closed","hentry","plugin_tags-analysis","plugin_tags-comments","plugin_tags-statistics","plugin_category-analytics","plugin_category-discussion-and-community","plugin_contributors-lambic","plugin_committers-lambic"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/comment-analysis.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Contains functions to show comment count, pingback count, trackback count, top commentors, most recent comments, and more.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the appropriate version<\/li>\n<li>Make sure the file is called comment&#095;analysis.php<\/li>\n<li>Put it into your \/wp-content\/plugins\/ directory.<\/li>\n<li>Activate the plugin from your WordPress admin \"Plugins\" page.<\/li>\n<li>Make use of the functions in your template (see examples below).<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What functions are available?<\/dt>\n<dd><p>This plugin is now widgetized, so you can use the widget, or use these functions:<\/p>\n\n<p>ca&#095;comment&#095;count()\nShow total count of comments for your blog, excluding pingbacks and trackbacks.<\/p>\n\n<p>ca&#095;pingback&#095;count()\nShow total count of pingbacks for your blog.<\/p>\n\n<p>ca&#095;trackback&#095;count()\nShow total count of trackbacks for your blog.<\/p>\n\n<p>ca&#095;spam&#095;count()\nShow total count of comments marked as spam. (Version 2.1 only)<\/p>\n\n<p>ca&#095;comment&#095;last ($format=.)\nShow date of last comment. The optional parameter allows you to format the date using standard date formatting.<\/p>\n\n<p>ca&#095;pingback&#095;last ($format=.)\nShow date of last pingback. The optional parameter allows you to format the date using standard date formatting.<\/p>\n\n<p>ca&#095;trackback&#095;last ($format=.)\nShow date of last trackback. The optional parameter allows you to format the date using standard date formatting.<\/p>\n\n<p>ca&#095;commentor&#095;latest ($count=10, $exclude='' $before='<li>', $after='<\/li>')\nShows latest $count commentors, with links to their websites if provided. $exclude is a comma separated list of commentors not to include in the list. $before and $after define the tags which will be output at the start and end of each line.<\/p>\n\n<p>ca&#095;commentor&#095;most ($count=10, $exclude='', $before='<li>', $after='<\/li>', $before_count='(', $after_count=')')\nShow the top $count commentors, with links. $exclude is a comma separated list of commentors not to include in the list. $before and $after define the tags which will be output at the start and end of each line.<\/p>\n\n<p>ca&#095;comment&#095;latest ($count=10, $length=60, $before='<li>', $after='<\/li>', $linktext='Go')\nShows the first $length chars of the latest $count comments. $before and $after define the tags which will be output at the start and end of each line.<\/p>\n\n<p>ca&#095;comment&#095;latest&#095;posts ($count=10, $show&#095;count='yes', $before='<li>', $after='<\/li>', $before_count='(', $after_count=')')\nShow the latest $count posts with comments (with a count of comments if $show&#095;count is not no. $before and $after define the tags which will be output at the start and end of each line.<\/p>\n\n<p>ca&#095;comment&#095;most($count=10, $show&#095;count='yes', $before='<li>', $after='<\/li>', $before_count='(', $after_count=')', $exclude='', $hours=0)\nShow the top $count commented posts (with a count of comments if $show&#095;count is not no. $before and $after define the tags which will be output at the start and end of each line.\n$exclude can exclude certain posts, it should contain a comma separated list of post IDs.\nIf $hours is not zero, only comments in the last $hours hours will be looked at.<\/p>\n\n<p>ca&#095;author&#095;most ($count=10, $exclude='', $before='<li>', $after='<\/li>', $before_count='(', $after_count=')')\nShow the top $count authors on your blog (with a count of posts written). I realise this isn.t comment related, but someone asked for it and I was too lazy to write a new plugin for it.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Functions to output comment statistics and lists","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1769"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lambic"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1769"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1769"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1769"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1769"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1769"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}