Pages: 1
Hello.
I went through permissions tutorial.
To disallow access 'except' viewing the Home page, do I have to move all albums/sub albums
into the 'private' catagory so only registered users can view ?
Thank you.
Piwigo version: 2.7
PHP version: 5.4.32
MySQL version: 5.6.16
Last edited by lightsout (2014-10-10 20:40:47)
Offline
Hello
yes; you can set in the local config guest_access to false, so visitors not registers will get the identification page instead of an empty home page
Offline
Sorry, I'm not finding that setting exactly.
Are you referencing the plug-in 'Local Files Editor',
Tab - local/config/config.inc.php
What should be changed specifically.
Thank you.
Offline
I searched the piwigo directory for 'guest_access'
Results;
include/config_default.inc.php:$conf['guest_access'] = true;
include/functions_user.inc.php: ($conf['guest_access'] ? ACCESS_GUEST : ACCESS_FREE);
I tried changing the file include/config_default.inc.php
From: true
To : false
It denied access without a login, but my objective is to display the 1st page as it would
be seen as a guest, but no allow any viewing of sub level images.
Could you please advise.
Regards.
Last edited by lightsout (2014-10-12 02:55:47)
Offline
I answered YES to your question, AND offered you an alternative to do something similar but not exactly the same. I thought I made myself clear, by describing the other option
Offline
Pages: 1