{"id":773,"date":"2013-10-23T15:16:59","date_gmt":"2013-10-23T15:16:59","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=773"},"modified":"2013-10-26T17:16:09","modified_gmt":"2013-10-26T17:16:09","slug":"make-your-piwigo-gallery-a-little-more-secure-private","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=773","title":{"rendered":"Make your piwigo gallery a little more secure \/ private"},"content":{"rendered":"<p>Firstly you will need to install \/ activate the LocalFiles Editor form the plugin menu.<\/p>\n<p>Now, to disable guest access from your site add the following line to Local Config and save<\/p>\n<p><code>$conf['guest_access'] = false;<\/code><\/p>\n<p>You can also add the following line to ensure that any albums that you create will automatically be set to private<\/p>\n<p><code>$conf['newcat_default_status'] = 'private';<\/code><\/p>\n<p><span style=\"color: #ff0000;\">NB:<\/span> Once you&#8217;ve set all new albums to be created privately using the above line of code you don&#8217;t necessarily need to disable guest access to have a private album. You could instead just remove the option to allow registrations from administration &gt; options. This is useful if you use a custom home or index page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firstly you will need to install \/ activate the LocalFiles Editor form the plugin menu. Now, to disable guest access from your site add the following line to Local Config and save $conf[&#8216;guest_access&#8217;] = false; You can also add the following line to ensure that any albums that you create will automatically be set to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[184],"tags":[],"class_list":["post-773","post","type-post","status-publish","format-standard","hentry","category-piwigo"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=773"}],"version-history":[{"count":22,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/773\/revisions"}],"predecessor-version":[{"id":801,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/773\/revisions\/801"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}