{"id":4505,"date":"2009-01-17T13:21:46","date_gmt":"2009-01-17T13:21:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/comment-counter\/"},"modified":"2010-01-30T22:58:08","modified_gmt":"2010-01-30T22:58:08","slug":"comment-counter","status":"closed","type":"plugin","link":"https:\/\/es-mx.wordpress.org\/plugins\/comment-counter\/","author":1669362,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4","stable_tag":"trunk","tested":"3.0.5","requires":"2.6","requires_php":"","requires_plugins":"","header_name":"Comment Counter","header_author":"ocean90","header_description":"","assets_banners_color":"","last_updated":"2010-01-30 22:58:08","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/ocean90.wphelper.de\/wordpress\/plugin-comment-counter\/","header_author_uri":"http:\/\/wphelper.de","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4596,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"":"<p>If you upgrade from version &lt; 0.4, you should read the new documentation. The handling of parameters is changed!<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.21","0.22","0.3","0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[131,18967,442,267,538],"plugin_category":[41,44],"plugin_contributors":[78912],"plugin_business_model":[],"class_list":["post-4505","plugin","type-plugin","status-closed","hentry","plugin_tags-comment","plugin_tags-commentator","plugin_tags-count","plugin_tags-email","plugin_tags-url","plugin_category-communication","plugin_category-discussion-and-community","plugin_contributors-ocean90","plugin_committers-ocean90"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/comment-counter.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Comment Counter is a plugin which count the comments by a commentator.\nYou can define different parameters for the count:<\/p>\n\n<ul>\n<li>the URL<\/li>\n<li>the authorname<\/li>\n<li>the email address<\/li>\n<li>the userid<\/li>\n<li>the author IP<\/li>\n<\/ul>\n\n<h4>Usage<\/h4>\n\n<pre><code>&lt;?php comment_counter($args); ?&gt;\n<\/code><\/pre>\n\n<p>.<\/p>\n\n<h4>Links<\/h4>\n\n<ul>\n<li><a href=\"http:\/\/ocean90.wphelper.de\/wordpress\/plugin-comment-counter\/\" title=\"Comment Counter\">Plugin documentation in German<\/a><\/li>\n<li><a href=\"http:\/\/twitter.com\/ocean90\" title=\"ocean90 on Twitter\">Follow me on Twitter for support, news and updates<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/profile\/ocean90\" title=\"Other plugins\">My other plugins<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/profile\/stalkerx\" title=\"Other plugins\">Take also a look at these plugins<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download <em>Comment Counter<\/em> plugin<\/li>\n<li>Unzip the archive<\/li>\n<li>Upload the folder <em>comment_count<\/em> into <em>..\/wp-content\/plugins\/<\/em><\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>&lt;?php comment_counter();?&gt;<\/code> in your template<\/li>\n<li>Have fun!<\/li>\n<\/ol>\n\n<p>Info: If you use <code>&lt;?php wp_list_comments(); ?&gt;<\/code> in your template you should read <a href=\"http:\/\/ottodestruct.com\/blog\/2008\/09\/29\/wordpress-27-comments-enhancements\/\" title=\"Information for wp_list_comments()\">this article<\/a>.<\/p>\n\n<p>Bitte besuch die <a href=\"http:\/\/blog.ocean90.ath.cx\/wordpress\/wp-plugin-comment-counter\/\" title=\"Comment Counter Seite\">Comment Counter Seite<\/a> fuer eine deutsche Anleitung.<\/p>\n\n<h4>Default Usage<\/h4>\n\n<pre><code>&lt;?php $args = array(\n        'routine' =&gt; 'email',\n        'exclude' =&gt; '',\n        'cc_comment_id' =&gt; '',\n        'echo' =&gt; 1,\n        'format' =&gt;  '&lt;small&gt;%s&lt;\/small&gt;',\n        'german_plural' =&gt; 1,\n        'access' =&gt; ''\n        );\n?&gt;\n<\/code><\/pre>\n\n<p>.<\/p>\n\n<h4>Parameters<\/h4>\n\n<p><strong>routine<\/strong>\n<em>(string)<\/em> The count parameter.\nValid values:<\/p>\n\n<ul>\n<li><code>'email'<\/code> (default) the commentator e-mail adress<\/li>\n<li><code>'author'<\/code> the commentator name<\/li>\n<li><code>'url'<\/code> the commentator url<\/li>\n<li><code>'id'<\/code> the user ID of the commentator<\/li>\n<li><code>'ip'<\/code> the commentator IP<\/li>\n<\/ul>\n\n<p><strong>exclude<\/strong>\n<em>(string)<\/em> Define which e-mail, name, url, id or ip shouldn't be count. Valid values:<\/p>\n\n<ul>\n<li><code>'email@email.de,spam@cvo.de'<\/code><\/li>\n<li><code>'max,anna,lukas'<\/code><\/li>\n<\/ul>\n\n<p><strong>cc_comment_id<\/strong>\n<em>(int)<\/em> Define an ID of a comment. It will display the count from the commentator of this comment. Valid values:<\/p>\n\n<ul>\n<li><code>'4355435'<\/code><\/li>\n<\/ul>\n\n<p><strong>echo<\/strong>\n<em>(boolean)<\/em> If you want to save the number in a variable, you should use echo=0. Valid values:<\/p>\n\n<ul>\n<li><code>'1'<\/code> (true) output via echo<\/li>\n<li><code>'0'<\/code> (false) output via return<\/li>\n<\/ul>\n\n<p><strong>format<\/strong>\n<em>(string)<\/em> Style the output\nValid values:<\/p>\n\n<ul>\n<li><code>'%s comments (that are %s of %s comments'<\/code> first %s for comment count. Optional: second %s for percentage and the last %s for total comments.<\/li>\n<\/ul>\n\n<p><strong>access<\/strong>\n<em>(string)<\/em> Who should see the comment count. Values are <a href=\"http:\/\/codex.wordpress.org\/Roles_and_Capabilities#Capabilities\" title=\"Capabilities\">capabilities<\/a>. Valid values:<\/p>\n\n<ul>\n<li><code>''<\/code> (default) All user can see the number<\/li>\n<li><code>'manage_options'<\/code> Only users who can change options can see the number (Admins)<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>0.4<\/h4>\n\n<ul>\n<li>code style cleanups<\/li>\n<li>new handling of parameters, please read the new documentation!<\/li>\n<li>add parameter echo for echo or return<\/li>\n<li>add parameter access, who is allowed to see the numbers<\/li>\n<li>add parameter format, so you can easier style the output<\/li>\n<li>add parameter german_plural for german plural (x Kommentar, x Kommentare)<\/li>\n<li>add option, to display the percentage of the total comments, please read the new documentation!<\/li>\n<li>remove parameter before and after because of new parameter format<\/li>\n<li>add security check<\/li>\n<li>add parameter cc_comment_id, set a comment id and you will get the number of the comments from the commentator of the comment<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>works now with WordPress cache, no duplicate queries anymore<\/li>\n<\/ul>\n\n<h4>0.22<\/h4>\n\n<ul>\n<li>fix bug with trackbacks; now pingbacks and trackbacks are excluded<\/li>\n<\/ul>\n\n<h4>0.21<\/h4>\n\n<ul>\n<li>add exclude option<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>add parameter for count: id, ip, email, author, userid<\/li>\n<li>add parameter before and after for styling<\/li>\n<li>add check for pingbacks and comments<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>release<\/li>\n<\/ul>","raw_excerpt":"Comment Counter -  Count comments by a commentator.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4505"}],"author":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ocean90"}],"wp:attachment":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4505"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4505"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4505"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4505"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4505"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}