Announcement

#1 2021-01-22 09:13:41

dsl25
Member
2021-01-22
37

[resolved] Password protect albums without user registration

Hello,

Is there a way to simply password protect specific albums without requiring user registration?

Offline

 

#2 2021-01-22 12:38:11

erAck
Only trying to help
2015-09-06
2035

Re: [resolved] Password protect albums without user registration

Make albums private; create a group that has permissions to view those albums; create a user with password, make it generic so when logged in can't be changed; add that user to the group, ready. Add your own account to the group as well to be able to modify albums.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2021-01-22 13:01:11

dsl25
Member
2021-01-22
37

Re: [resolved] Password protect albums without user registration

Thanks but I don't really get it.

You say create a user with password: so that means create a user registration, right?
I was wanting to avoid this and simply have a password to open the album but this seems rather impossible.

In such case I don't really need to create a group, what for?
Just a user with a password and without email address.

Offline

 

#4 2021-01-22 13:23:14

erAck
Only trying to help
2015-09-06
2035

Re: [resolved] Password protect albums without user registration

> that means create a user registration, right?

No. *You* as admin add one user and set its Status to Generic. Using the indirection of a group is not necessary but may ease things as you can add users to the group, but you can also directly assign the private albums' permissions to the user.


Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2021-01-22 13:35:35

dsl25
Member
2021-01-22
37

Re: [resolved] Password protect albums without user registration

Ha ok, thanks for this, I see.

But I'm completely lost with those Statuses and Privacy Levels.
I really can't understand how this works and to what they correspond.

Is there any correspondance somehow with WordPress?

The problem is that I installed the plugin Take a Tour and can't access it as I get those errors at Danshboard:

Warning: popen() has been disabled for security reasons in ///gallery/admin/intro.php on line 395

Warning: fgets() expects parameter 1 to be resource, null given in ///gallery/admin/intro.php on line 396

Warning: pclose() expects parameter 1 to be resource, null given in ///gallery/admin/intro.php on line 398

Warning: A non-numeric value encountered in ///gallery/admin/intro.php on line 406

Warning: Cannot modify header information - headers already sent by (output started at ///gallery/admin/intro.php:395) in ///gallery/include/page_header.php on line 94

Offline

 

#6 2021-01-22 21:36:26

executive
Member
2017-08-16
1214

Re: [resolved] Password protect albums without user registration

no, Piwigo isn't Wordpress.
The permissions will make sense after you watch the tour and play around a bit.

https://piwigo.org/forum/viewtopic.php? … 56#p179056

Offline

 

#7 2021-01-23 03:37:16

dsl25
Member
2021-01-22
37

Re: [resolved] Password protect albums without user registration

Thanks for this!

WHERE is that tour I should watch please?

Offline

 

#8 2021-01-23 05:38:56

executive
Member
2017-08-16
1214

Re: [resolved] Password protect albums without user registration

Offline

 

#9 2021-01-23 09:38:44

dsl25
Member
2021-01-22
37

Re: [resolved] Password protect albums without user registration

Yep, thanks for this but this extension WAS not working with previous version.

I updated today and everything works fine, without PHP errors.

Many thanks for your help, I'll take a tour then and mark this as resolved.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact