Pages: 1
Hi,
How can I set "High definition enabled" (permission to download) for the group RegisteredUsers?
Note: I do not want the guest user to have permission to download so I made changes so guests who try to download will be redirected to the login screen. To do that I've successfully done the following:
1. Install and activate the "Custom Download Link" plugin.
2. Do not allow guest users to download photos:
For user guest, check the checkbox "High definition enabled" at Administration Home > Users > Manage > guest > edit
3. If a guest user tries to download a photo, redirect to the login page:
Comment line 111 in action.php:
// do_error(401, 'Access denied e');
And add these two lines:
$redirect_url = get_root_url().'identification.php';
redirect($redirect_url);
Piwigo version: 2.7.2
PHP version: 5.4.x
MySQL version:
Piwigo URL: http://www.pictures.me
Last edited by rstevens (2014-11-24 21:46:12)
Offline
Pages: 1