Announcement

#1 2016-01-18 14:59:50

Fritz
Member
2016-01-18
3

How: User able to see photo's after register WITHOUT adding to a group

Hi,

I want to be able to show my photo's to all new users after registration, but without adding them to a special group.

In fact, everybody may see the photo's, but if I want to see who visits the photo database, I have to let all users register first.
The thing is, a new user now gets a confirmation email that he can login into the photodatabase with a link.
When the new user clicks this link, he arrives at the site where no photos are shown.

This is because I have to move this new user first into a group that may see the photo's.
I want them to proceed without any action taken in administraion.

How can I solve this?

Thanks in advance,

Fritz


Piwigo version: 2.7.4
PHP version:
MySQL version:
Piwigo URL: http://

Offline

 

#2 2016-01-18 15:10:08

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: How: User able to see photo's after register WITHOUT adding to a group

Hi Fritz,

I propose 2 solutions :

1) you keep your content public, but you add the local configuration setting:

Code:

$conf['guest_access'] = false;

It will redirect users to the identification.php page as long as they're not connected.

2) you set a group as "default" and give permissions to this group. New users will automatically be in the default groups (yes, you can have several default groups).

Offline

 

#3 2016-01-18 16:22:53

Fritz
Member
2016-01-18
3

Re: How: User able to see photo's after register WITHOUT adding to a group

Thanks plg!

I will look into this. Sounds promising :-)
I'll let you know the results.

Cheers,
Fritz

Offline

 

#4 2016-01-18 16:44:31

Fritz
Member
2016-01-18
3

Re: How: User able to see photo's after register WITHOUT adding to a group

Hi again,

Changed the guest_acces setting.
But how do I make a certain group as 'default'?

Cheers,
Bas

Offline

 

Board footer

Powered by FluxBB

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