philsoft wroteLucMorizur wroteHi;
VDigital is a "Former Piwigo Team", ie, he doesn't participate to the forum any more -- alas.
But it doesn't mean this plugin will not evoluate, a developer can be interested in the same evolution than you; or it can be so simple that it is just a few lines to modify.
Thanks for the info LucMorizur.
It just seems pointless to allow webmaster and administrators ability to right click.
When it would be much better allowing registered users, this would encourage more guests to register!
I have now added the above requst..
if anyone wants to use it.
Just have a look on the code asis currently:
http://piwigo.org/dev/browser/extensions/rightClick/rightClick_protect.php#L11
That means you can set $conf['rightClick_level'] as you want.
Please use
[extension by Piwigo Team] LocalFiles Editor
Thru Local config tab (Edit of local/config/config.inc.php) insert :
$conf['rightClick_level'] = 1;
Where 1 is one value of
$conf['available_permission_levels'] = array(0,1,2,4,8);
where level are current defined as:
http://piwigo.org/dev/browser/branches/2.1/language/en_UK/admin.lang.php#L525
That means Contact (1) has to become a default value for registred users.
--- (0) will be kept for guest (unregistred user).
Default values have to be different from guest: (Admin > Users > Manage )
So create a new user "Default Profile" with a strong unguessable password and no email (or a dummy stupid email)...
Go over the Authorization icon of "Default Profile" just to read the related its "id"
(For example: ...admin.php?page=profile&user_id=245 )
Again by Local config tab(Edit of local/config/config.inc.php) insert :
$conf['default_user_id'] = 245;
Now, existing users: (Admin > Users > Manage )
Filter Users: With status = User
Change their properties to set their Privacy level to (1) Contact.
Target all (Validate) if you never used Privacy level before.
Or select users (not Guest) who haven't a current Privacy level (see Properties column in the current user list): Don't downgrade a Family or Admin privacy level to Contact, they will loose accesses to some pictures.
==============================
well it works fine for me..