{"id":13442,"date":"2011-05-28T12:07:17","date_gmt":"2011-05-28T12:07:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/updownupdown-postcomment-voting\/"},"modified":"2011-07-08T18:15:21","modified_gmt":"2011-07-08T18:15:21","slug":"updownupdown-postcomment-voting","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/updownupdown-postcomment-voting\/","author":7423583,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"3.1.4","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"UpDownUpDown","header_author":"Dave Konopka, Martin Scharm","header_description":"","assets_banners_color":"","last_updated":"2011-07-08 18:15:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/davekonopka.com\/updownupdown","header_author_uri":"http:\/\/davekonopka.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":7808,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1539084","resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1539084","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539084","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539084","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539084","resolution":"1","location":"plugin"}},"screenshots":{"1":"This shows a badge in a post with no votes yet.","2":"This shows a badge in a post with a vote set.","3":"This shows a view-only badge if voting is disabled via theme function flag or guest voting is disabled in the admin settings.","4":"This shows a badge using the alternate simple style.","5":"Admin settings page for the plugin."}},"plugin_section":[],"plugin_tags":[107,166,11299,11300],"plugin_category":[44,53],"plugin_contributors":[88529],"plugin_business_model":[],"class_list":["post-13442","plugin","type-plugin","status-closed","hentry","plugin_tags-comments","plugin_tags-posts","plugin_tags-votes","plugin_tags-voting","plugin_category-discussion-and-community","plugin_category-ratings-and-reviews","plugin_contributors-dkonopka","plugin_committers-dkonopka"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/updownupdown-postcomment-voting.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/updownupdown-postcomment-voting\/trunk\/screenshot-1.png?rev=1539084","caption":"This shows a badge in a post with no votes yet."},{"src":"https:\/\/ps.w.org\/updownupdown-postcomment-voting\/trunk\/screenshot-2.png?rev=1539084","caption":"This shows a badge in a post with a vote set."},{"src":"https:\/\/ps.w.org\/updownupdown-postcomment-voting\/trunk\/screenshot-3.png?rev=1539084","caption":"This shows a view-only badge if voting is disabled via theme function flag or guest voting is disabled in the admin settings."},{"src":"https:\/\/ps.w.org\/updownupdown-postcomment-voting\/trunk\/screenshot-4.png?rev=1539084","caption":"This shows a badge using the alternate simple style."},{"src":"https:\/\/ps.w.org\/updownupdown-postcomment-voting\/trunk\/screenshot-5.png?rev=1539084","caption":"Admin settings page for the plugin."}],"raw_content":"<!--section=description-->\n<p>UpDownUpDown provides two template tags for adding up\/down voting for any post or comment. Anonymous guest visitors can either be allowed to vote (tracked by ip address) or be denied voting and shown a view-only vote count badge. Votes are registered on the server without refreshing the page.<\/p>\n\n<p>Fork the Github repo: <a href=\"https:\/\/github.com\/davekonopka\/updownupdown\">https:\/\/github.com\/davekonopka\/updownupdown<\/a><\/p>\n\n<p>This plugin was initially developed as a project of Wharton Research Data Services.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the folder containing the plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place the following function calls in your templates, somewhere inside the post or comment loop:\n\n<ol>\n<li><code>&lt;?php if(function_exists('up_down_post_votes')) { up_down_post_votes( get_the_ID() ); } ?&gt;<\/code><\/li>\n<li><code>&lt;?php if(function_exists('up_down_comment_votes')) { up_down_comment_votes( get_comment_ID() ); } ?&gt;<\/code><\/li>\n<\/ol><\/li>\n<li>Display vote badge display only with no voting by setting the second parameter to false:\n\n<ol>\n<li><code>&lt;?php if(function_exists('up_down_post_votes')) { up_down_post_votes( get_the_ID(), false ); } ?&gt;<\/code><\/li>\n<li><code>&lt;?php if(function_exists('up_down_comment_votes')) { up_down_comment_votes( get_comment_ID(), false ); } ?&gt;<\/code><\/li>\n<\/ol><\/li>\n<li>Visit the plugin settings page to customize it.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Release includes major contributions by Martin Scharm<\/li>\n<li>Added admin page<\/li>\n<li>Added option to allow guest-votes<\/li>\n<li>Added option to select from multiple styles, added simple styling<\/li>\n<li>Choose between up\/down counts or a total count<\/li>\n<li>Fixed some XHTML errors<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Replaced JavaScript JSON.parse reference with jQuery.parseJSON to accommodate browsers without native JSON support. In IE7 votes were registering on the server but not updating in the browser without a refresh. Now it's fixed in IE7.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Simple WordPress plugin for up\/down voting on posts and comments.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13442","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=13442"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dkonopka"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13442"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13442"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13442"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13442"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13442"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}