{"id":14599,"date":"2011-08-25T07:55:48","date_gmt":"2011-08-25T07:55:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nextgen-gallery-comments\/"},"modified":"2011-09-16T18:01:26","modified_gmt":"2011-09-16T18:01:26","slug":"nextgen-gallery-comments","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/nextgen-gallery-comments\/","author":5077264,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.5","stable_tag":"0.1.5","tested":"3.2.1","requires":"2.9.1","requires_php":"","requires_plugins":"","header_name":"NextGEN Gallery Comments","header_author":"Roberto Cantarano","header_description":"","assets_banners_color":"","last_updated":"2011-09-16 18:01:26","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.cantarano.com","rating":1,"author_block_rating":0,"active_installs":70,"downloads":15477,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1","0.1.2","0.1.3","0.1.4","0.1.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[131,210,228,4619,649],"plugin_category":[44,50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-14599","plugin","type-plugin","status-publish","hentry","plugin_tags-comment","plugin_tags-gallery","plugin_tags-nextgen","plugin_tags-nextgen-gallery","plugin_tags-photo-gallery","plugin_category-discussion-and-community","plugin_category-media","plugin_committers-robertoc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nextgen-gallery-comments.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Please use at least version 1.8.3 of NextGEN Gallery. This plugin is not tested with lower versions<\/strong><\/p>\n\n<p>NextGEN Gallery Comments give power to the best wordpress gallery plugin i have seen! With my plugin, now all users can leave comments to your galleries. Comments are also displayed in admin in Comments section and in manage gallery page.<\/p>\n\n<p>** * * NOTE * * **<\/p>\n\n<p>For now, comments are show on galleries only when they are not called directly in post\/page with shortcode. Example:<\/p>\n\n<p>[nggallery id=X]  ----&gt; gallery comments are not showed<\/p>\n\n<p>[album id=X] ----&gt; gallery comments are showed (Not in album list, but inside the gallery page)<\/p>\n\n<p>I will check in next release to find a way to do it.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Template : You can add custom comment form template for your theme. (read F.A.Q.)<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<p>Copyright 2011 by Roberto Cantarano<\/p>\n\n<p>This program is free software; you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.<\/p>\n\n<p>This program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress (you need NextGEN Gallery plugin to be active!)<\/li>\n<\/ol>\n\n<p>That's it ... Have fun<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>I have installed the plugin but i can't see any admin options page. Where is it?<\/dt>\n<dd><p>Ehm.. this is my first release of my first plugin, in next versions i will ad an option page with various options.<\/p><\/dd>\n<dt>What about customizing the comments page?<\/dt>\n<dd><p>This is a simple task. This plugin use the template <code>comments-nggallery.php<\/code> inside <code>plugins\/nextgen-gallery-comments\/template<\/code> to show comments list and form.\nIf you want to customize it, copy it and paste in your theme inside <code>nggallery<\/code> folder (if this not exists, create it. This folder is needed to customize <a href=\"http:\/\/nextgen-gallery.com\/templates\/\">NextGEN Gallery templates<\/a>)<\/p><\/dd>\n<dt>If i click the logout button in gallery comment form, the page is bad redirected. How can i fix it?<\/dt>\n<dd><p>You have to use a filter (put it in FUNCTIONS.PHP in your theme) to change the logout url:<\/p>\n\n<p>add_filter('your_function','rcwd_comment_form_defaults');\nfunction your_function($defaults){\n   global $user_identity, $post_id;\n   if(get_query_var('gallery') != ''){\n      $logout_url = esc_attr($_SERVER[\"REQUEST_URI\"]);\n   }else{\n      $logout_url = get_permalink($post_id);\n   }\n   $defaults['logged_in_as'] = '<\/p>\n\n<p>' . sprintf( __( 'Logged in as <a href=\"%1$s\">%2$s<\/a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out?<\/a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', $logout_url ) ) ) . '<\/p>\n\n<p>';\n   return $defaults;<\/p>\n\n<p>}<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>V0.1.5 - 16.09.2011<\/h4>\n\n<ul>\n<li>FIX: gallery is displayed above the content event if inside the editor it was placed below<\/li>\n<\/ul>\n\n<h4>V0.1.4 - 02.09.2011<\/h4>\n\n<ul>\n<li>FIX: 'no comments' text in nggallery-manage-gallery appears in bottom left position<\/li>\n<\/ul>\n\n<h4>V0.1.3 - 31.08.2011<\/h4>\n\n<ul>\n<li>FIX: all existing galleries before the plugin activation don't show comments<\/li>\n<li>Removed comments from gallery when called directly with shortcode [nggallery id=X]   <\/li>\n<\/ul>\n\n<h4>V0.1.2 - 28.08.2011<\/h4>\n\n<ul>\n<li>Fixed some bugs which did not allow the installation in NextGEN Gallery Date is active<\/li>\n<\/ul>\n\n<h4>V0.1.1 - 27.08.2011<\/h4>\n\n<ul>\n<li>Fixed some bugs which did not allow the display of comments <\/li>\n<\/ul>\n\n<h4>V0.1 - 24.08.2011<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin add comments (form and list) in every NextGEN Gallery.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14599"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/robertoc"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14599"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14599"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14599"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14599"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14599"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}