I want to use Piwigo for a totally private online gallery just for family photo sharing and therefore I want to completely remove the guest account as it will be completely useless. How can I achieve this please?
Stuart
Offline
you can't delete the guest because it's the default config for a new account (piwigo will not work if you delete it !), but with localfiles editor add in the config local :
<?php
$conf['newcat_default_status'] = 'private';
?>
the new album will be private by default
Then I suggest you to install/activate pwg stuff and add an identification bloc and eventually a personal bloc to explain that the gallery is private
Offline
Thanks for that.... I dont need any explanations as to why it is private - I dont really care if folks cant access the gallery or see photos as I wont publish the whereabouts of this site - I may even password protect the whole site anyway. There never will be any public photos on it. The only person who will setup galleries will be me anyway.
I think it would be better to allow a different account to be setup for the default config which would allow deletion of the guest account. I'd just rather not have a guest account floating around for people to try to access just in case there is a security hole which might get them in. I cannot see that I'd be the only one to request this, perhaps those like me who would like this go elsewhere. Trouble is so far this does seem to be the best gallery I have found.
Stuart
Offline
piwigo need a account for unregistered visitors but you can the default config :
// guest_id : id of the anonymous user
$conf['guest_id'] = 2;
// default_user_id : id of user used for default value
$conf['default_user_id'] = $conf['guest_id'];
use localfiles editor to change this parameter in the local config file
Offline
Sorry but maybe I'm being a little obtuse here.... I dont want any user for any unregistered users as there will be no registration done by users from website, only me as admin creating accounts for family members. I want only pre-setup family members to be able to login with user and p/w details I will give them, all galleries will be created by me in advance as will all the users.
So for me there is no use for a guest account and I dont want anyone who guesses its a Piwigo gallery trying to login as guest.
Stuart
Offline
I have perfectly understand what you want and the answer is clear : you can't delete the guest, or the account used for unregistered visitors ! and that's not a security hole for your gallery and your pics.
But you have not understood : "login as guest." ! nobody is logging as guest : this account is for unregistered visitors and also for setting the default config of new accounts. Guest=what a unregistered visitor can see/do
So put your album as private and never give the right to see pictures/albums to the "guest".
Offline
Ah sorry my misunderstanding.... now to sort out one or two more things in my head (and on my system!
Stuart
Offline
To disable guest access, you can write this in your local configuration file (with LocalFiles Editor):
$conf['guest_access'] = false;
Offline
Thank you, this was exactly what I was looking for.
Offline
You can do it from Administration panel:
Configuration=>Options, choose Min tab.
Untick all the boxes relevant to User Registration, Customization, etc. The "Registration" button next to Login on the Home Page will disappear = no new users.
BTW, has anyone figured how can I set on the Admin side or in pLoader that all the newly created albums be Private, not Public.
Offline
hello
In the local config via LocalFile editor : $conf['newcat_default_status'] = 'private';
Offline
I also want to use this for family photos, and only want family members to be able to log in, and view the photos.
I see above post the suggestion;
"In the local config via LocalFile editor : $conf['newcat_default_status'] = 'private';"
Where is the local config, and what is the LocalFile editor??
I'm using Piwigo v13.6 in Ubuntu.
Thanks in advance.
Last edited by rossoreed (2023-04-23 22:16:36)
Offline
LocalFiles Editor is a plugin installed along with Piwigo, to edit local configuration and css override files. It creates the local config upon first save. Go to Admin -> Plugins.
Also recommended from the Plugins section: the Take A Tour plugin, specifically the Privacy tour for your case.
Offline
Thanks erAck
Yes, that really helps.
Especially for the quick reply!
Paul
Offline