Hi all can you tell me if this mod is available? Or how it can be done!
If I set categories to private then Guests can’t see them!
Is there a way where I can let guests see only categories / Thumbnails and descriptions but when they click on it, it asks them to register?
Thanks for any advice
philip wrote:
Hi all can you tell me if this mod is available? Or how it can be done!
If I set categories to private then Guests can’t see them!
1) install/activate [extension by Piwigo Team] LocalFiles Editor from screen [Administration > Plugins > Manage]
2) open [Administration > Plugins > LocalFiles Editor > personal plugin] edit English[UK] and paste the following code:
add_event_handler('loc_begin_picture', 'picture_guest_denied'); function picture_guest_denied() { global $user; if (is_a_guest()) access_denied(); }
3/ install/activate personal plugin [Administration > Plugins > Manage]
Offline
ddtddt Piwigo Team
thank you it works great!!