{"id":14621,"date":"2011-08-28T10:35:20","date_gmt":"2011-08-28T10:35:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nextgen-gallery-authors\/"},"modified":"2011-09-02T08:16:29","modified_gmt":"2011-09-02T08:16:29","slug":"nextgen-gallery-authors","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/nextgen-gallery-authors\/","author":5077264,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.5","stable_tag":"0.2.5","tested":"3.2.1","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"NextGEN Gallery Authors","header_author":"Roberto Cantarano","header_description":"","assets_banners_color":"","last_updated":"2011-09-02 08:16:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.cantarano.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5703,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4619,45871],"plugin_category":[50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-14621","plugin","type-plugin","status-publish","hentry","plugin_tags-nextgen-gallery","plugin_tags-nextgen-gallery-authors","plugin_category-media","plugin_committers-robertoc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nextgen-gallery-authors.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><strong>[ A T T E N T I O N ] NextGEN Gallery core modification required!<\/strong><\/p>\n\n<p>Read <a href=\"http:\/\/wordpress.org\/extend\/plugins\/nextgen-gallery-authors\/installation\/\">installation page<\/a><\/p>\n\n<p>NextGEN Gallery Authors is an add-on for the best wordpress gallery plugin i have seen! With my plugin, you can show galleries filtered by author.<\/p>\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<p><strong>[ A T T E N T I O N ] NextGEN Gallery core modification required!<\/strong><\/p>\n\n<p>To use this plugin, you need to make a simple change to a NextGEN Gallery file(tested with version 1.8.3).\nThis will be necessary until the change will not be integrated (I have already sent the request to Alex Rabe).\nTo make the change, follow the instructions:<\/p>\n\n<ol>\n<li><p>Open the following file: \/wp-content\/plugins\/nextgen-gallery\/nggfunctions.php;<\/p><\/li>\n<li>The changes affect the function nggCreateAlbum, go to row 580, just before the\n\n<p>\/\/ check for page navigation<\/p>\n\nif ($maxElement &gt; 0) {<\/li>\n<li>Enter the following filter:\n\n<p>$galleries = apply_filters('ngg_album_galleries_before_paging', $galleries, $album);\n------------------------;<\/p><\/li>\n<li><p>To check if you have done correctly, check the screenshot (plugins\/nextgen-gallery-date\/date\/admin\/images\/ngg-new-filter.png);<\/p><\/li>\n<\/ol>\n\n<p>Now, install the plugin:<\/p>\n\n<ol>\n<li><p>Install &amp; Activate the plugin (you need NextGEN Gallery plugin to be active!)<\/p><\/li>\n<li><p>Check if there is a nggallery folder (and the gallery.php inside) in your theme folder. If not, create that folder, then open the \"nextgen-gallery\" folder in wordpress plugin folder, open \"view\" folder, copy gallery.php and album-extend.php and paste them in the nggallery folder you created before.<\/p><\/li>\n<li><p>in album-extend.php, inside te cycle 'foreach ($galleries as $gallery)' you can use this var '$gallery-&gt;author_galleries' to get a link (like this http:\/\/lorem.com\/lorem-ipsum\/nggallery\/auth-1) to reload the page only to show galleries created by that author.\nYou can link directly the name of the author in this way:<\/p>\n\n<pre><code>$author = get_the_author_meta('display_name', $gallery-&gt;author);\n...\n&lt;a href=\"&lt;?php $gallery-&gt;author_galleries ?&gt;\"&gt;&lt;?php $author ?&gt;&lt;\/a&gt;\n...\n<\/code><\/pre><\/li>\n<\/ol>\n\n<p>That's it ... Have fun<\/p>\n\n<!--section=changelog-->\n<h4>V0.2.5 - 02.09.2011<\/h4>\n\n<ul>\n<li>Fix: the menu will no longer show <\/li>\n<\/ul>\n\n<h4>V0.2.3 - 01.09.2011<\/h4>\n\n<ul>\n<li>Some core modifications<\/li>\n<\/ul>\n\n<h4>V0.2.2 - 29.08.2011<\/h4>\n\n<ul>\n<li>Fix: the warning box in admin pages can not be closed<\/li>\n<\/ul>\n\n<h4>V0.2.1 - 28.08.2011<\/h4>\n\n<ul>\n<li>Fix: plugin forum link was incorrect<\/li>\n<li>Fix: NGG core modification instructions: filter line is incomplete (need ; at the end)<\/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 will let you show galleries filtered by author.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14621"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/robertoc"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14621"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14621"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14621"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14621"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14621"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}