Announcement

#1 2015-06-02 09:42:08

SimonCropper
Member
2015-05-26
21

Restricting downloads?

Hi,

I want it that the guest and registered user groups are unable to download, but other groups are able to download from particular albums. Is this possible?

Piwigo version

        Piwigo 2.7.4

Environment

        Operating system: Linux
        PHP: 5.2.17 (Show info) [2015-06-02 17:26:51]
        MySQL: 5.0.96-community [2015-06-02 17:26:51]
        Graphics Library: GD bundled (2.0.34 compatible)

Website

        http://www.simonchristophercropper.com/gallery
        theme: modus

Offline

 

#2 2015-06-02 10:19:20

Steff
Guest

Re: Restricting downloads?

Hi,
you can give a try to the plugin Download Permissions
http://piwigo.org/ext/extension_view.php?eid=774
Have a nice day :)

 

#3 2015-06-14 21:46:40

peterpix
Member
2015-06-14
46

Re: Restricting downloads?

I have a similar need, but not quite the same.

In the modus theme I want non-logged in visitors to see an album but not have the option to download.

I'm kind of surprised download is activated by default!  Is there a sinple way to switch it off.  If so I can't find it.

Thanks

Peter

Offline

 

#4 2015-06-15 01:18:56

SimonCropper
Member
2015-05-26
21

Re: Restricting downloads?

Hi Peter,

From your description it seems my need was the same.

In reality, if you don't use a plugin, you can't turn off downloading. The idea is to hide the download button in the display.

Check out the following image...

1. Select Configuration
2. Select Options
3. Select Display tab
4. Unselect Activate icon "Download this File"

If you want to control who can download an image you need to establish groups and set download permissions with the Download Permissions plugin. If you want to minimize harvesting of your images you may wish to try the rightClick plugin.

Offline

 

#5 2015-06-15 05:48:36

peterpix
Member
2015-06-14
46

Re: Restricting downloads?

Hi Simon

Thnks for that.

I've found the page and the Activate icon "Download this File" item.

However nothing happens when I click on it.

The same applies to all of the other configuration options.

Is there something I have to do before I can activate or deactivate options?

Peter

Offline

 

#6 2015-06-15 05:51:36

SimonCropper
Member
2015-05-26
21

Re: Restricting downloads?

Click on save settings,  then wait until page refreshes

or

'clear your cache' in your browser then refresh your screen.

Offline

 

#7 2015-06-15 05:59:26

peterpix
Member
2015-06-14
46

Re: Restricting downloads?

Excellent thanks, I clicked the Activate icon "Download this File" item and saved, and now the icon has disappeared from the image page.

However, there is no visible change on the configuration page.  In other words for the option Activate icon "Download this File" there is no indication whether the icon is activated or not.  Previously it did not say Deactivate icon "Download this File", so from the config page there is no way to know the current state of activation or deactivation.  Is that normal?

Peter

Offline

 

#8 2015-06-15 06:08:21

SimonCropper
Member
2015-05-26
21

Re: Restricting downloads?

The problem you are having, I also had.

Administrators see all options. Log-out and view your page as a guest and you will see that the option to download is gone.

In regards to the setting being set or not, noting whether the option is checked / unchecked is the only way for the administrator to see if the setting is on or not.

Offline

 

#9 2015-06-15 06:11:25

peterpix
Member
2015-06-14
46

Re: Restricting downloads?

Thanks, by "noting whether the option is checked / unchecked" do you mean for example noting whether the download icon appears on the image page for guests or not?

Peter

Offline

 

#10 2015-06-15 06:14:46

SimonCropper
Member
2015-05-26
21

Re: Restricting downloads?

That is one way.

The other is to look in your settings. I have my downloads turned off.

If you look in my configuration settings (as described previously) the option to show the icon is unchecked.

See my uploaded photo... #4

http://piwigo.org/forum/postgallery.php … on_003.jpg

Offline

 

#11 2015-06-15 06:19:18

SimonCropper
Member
2015-05-26
21

Re: Restricting downloads?

Hey Peter,

If the option to show the download icon is checked but the icon is not present then you may be looking at a cached version of your webpage. I found in changing my setting that I had a 5-10 minute delay in seeing changes that I made. Very confusing.

Clearing the cache and refreshing the browser usually, and I mean not always, showed the changes I made. Very frustrating and confusing. Not sure if this is due to the theme or the server configuration.

Simon

Offline

 

#12 2015-06-15 06:20:26

peterpix
Member
2015-06-14
46

Re: Restricting downloads?

Ah, there's something wrong with my installation then, as I have boxes but no checks - see uploaded file

Last edited by peterpix (2015-06-15 06:26:21)

Offline

 

#13 2015-06-15 06:23:14

SimonCropper
Member
2015-05-26
21

Re: Restricting downloads?

"... see uploaded file"

Have you uploaded the file

Offline

 

#14 2015-06-15 06:24:09

peterpix
Member
2015-06-14
46

Re: Restricting downloads?

Still trying ... won't upload as dimensions too big - downsizing - will load in a minute

Offline

 

#15 2015-06-15 06:29:51

peterpix
Member
2015-06-14
46

Re: Restricting downloads?

Now uploaded to previous post.

The rectangles where the check should be have letters in them - very small but I think they are E8IF or ESIF.

Peter

Offline

 

Board footer

Powered by FluxBB

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