{"id":14622,"date":"2011-08-27T17:52:28","date_gmt":"2011-08-27T17:52:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nextgen-gallery-date\/"},"modified":"2011-09-02T08:19:58","modified_gmt":"2011-09-02T08:19:58","slug":"nextgen-gallery-date","status":"publish","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/nextgen-gallery-date\/","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":"3.1","requires_php":"","requires_plugins":"","header_name":"NextGEN Gallery Date","header_author":"Roberto Cantarano","header_description":"","assets_banners_color":"","last_updated":"2011-09-02 08:19:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.cantarano.com","rating":5,"author_block_rating":0,"active_installs":20,"downloads":13166,"num_ratings":1,"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":"1"},"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":[206,210,163,205,208],"plugin_category":[43,50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-14622","plugin","type-plugin","status-publish","hentry","plugin_tags-flash","plugin_tags-gallery","plugin_tags-images","plugin_tags-photos","plugin_tags-slideshow","plugin_category-customization","plugin_category-media","plugin_committers-robertoc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nextgen-gallery-date.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-date\/installation\/\">installation page<\/a><\/p>\n\n<p>NextGEN Gallery Date is an add-on for the best wordpress gallery plugin i have seen! With my plugin, you can sort galleries by date, show gallery creation and modificatio date inside gallery templates.\nIt adds two new columns for gallery table:<\/p>\n\n<ul>\n<li><p>added_date (on gallery creation)<\/p><\/li>\n<li><p>modified_date (on gallery modification and upload of pics)<\/p><\/li>\n<\/ul>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Gallery order by date: Check the Ngg Date admin panel to activate the order options in every manage album page.<\/li>\n<li>Date info: show 3 kinds of date format (read installation info)<\/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<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 paste it in the nggallery folder you created before.<\/p><\/li>\n<li><pre><code>in gallery.php you have access to the main variable $gallery. This variable contains 3 type of date (well, 3 for added date and 3 for modified date):\n  * $gallery-&gt;sql_added_date (the original date format saved in db table);\n  * $gallery-&gt;added_date (formatted date, according to wordpress date settings);\n  * $gallery-&gt;since_added_date (\"Humanized\" date, in ex. \"three days ago\");   \n<\/code><\/pre><\/li>\n<\/ol>\n\n<p>That's it ... Have fun<\/p>\n\n<!--section=changelog-->\n<h4>V0.1.5 - 02.09.2011<\/h4>\n\n<ul>\n<li>Fix: the menu will no longer show <\/li>\n<\/ul>\n\n<h4>V0.1.4 - 01.09.2011<\/h4>\n\n<ul>\n<li>Some core modifications<\/li>\n<\/ul>\n\n<h4>V0.1.3 - 29.08.2011<\/h4>\n\n<ul>\n<li>Fix: modified date info is incorrect<\/li>\n<\/ul>\n\n<h4>V0.1.2 - 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.1 - 28.08.2011<\/h4>\n\n<ul>\n<li>Fixed some bugs which did not allow to work with NextGEN Gallery 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 will let you sort the galleries by date and get info about gallery creation (and modification) date.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14622"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/robertoc"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14622"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14622"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14622"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14622"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14622"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}