Hey all,
Great product. Went through way too many wordpress plugins and other poorly written projects before finding Piwigo.
Basically i want my users to be able to uplaod photos, but not create "Sub Albums". I find these are confusing to users. I'd rather have one page with all albums listed.
So when the user hits "upload photos", is there any way to not allow them to select a parent?
Thanks!
Piwigo version: 2.7.4
PHP version: 5.5.9-1ubuntu4.13
MySQL version: 5.5.44-0ubuntu0.14.04.1
Community Plugin: 2.7b
Piwigo URL: local only
Offline
Hi D_ma,
In the Community plugin permissions configuration, you don't have to check the option "create sub-albums". Doesn't it make what you wish?
Offline
Unfortunately unchecking the "ability to create sub albums" completely removes the "create album..." link from the "Upload Photos" page. Come to think of it, this is probably a bug that would need looking into.
For the time being, I modified the "add_photos.php" file. I know I'll have to keep an eye on it after any updates though.
Original:
display_select_cat_wrapper(
$query,
$selected_category,
'category_parent_options'
);
My version:
display_select_cat_wrapper(
$query,
$selected_category,
''
);
This accomplishes what I was looking for.
Thanks for the reply though.
Offline