Edit album at frontend is at the top of the wishlist and will be implemented in approx a week.
Fixed 5.3.5 apr 28 2014 released
I’ve updated the plugin but I still not see the edit button in frontend, even enabling the checkbox in Table VII B 1.1 …
You need to be either the owner of the album or administrator, OR Table VII-D1 ( Owners only ) not checked, what i do NOT recommend!
I’m the album administrator but I can’t see the edit button, maybe you mean I can edit album name and description only while I mean edit names and descriptions of all photos of an album…
Currently you need the wp role administrator, i will change that to the capability of wppa album admin.
If you can edit plugins, you can patch it in wppa-common-functions.php around line 612:
.
// See for given album data array or album number
else {
// Administrator has always access
if ( current_user_can('administrator') ) return true;
// If all albums are public
if ( ! wppa_switch('wppa_owner_only') ) return true;
change to:
.
// See for given album data array or album number
else {
// Album Administrator has always access
if ( current_user_can('wppa_admin') ) return true;
// If all albums are public
if ( ! wppa_switch('wppa_owner_only') ) return true;
I made this changes but nothing happeans, I tried to change my album in public, administrator, but the edit button still not appears…
In my website, in gallery page I need to show three photos only, so I not using the album covers, I show three photos of an album and I need to edit them, I see the edit button appears for album cover only…
Aha! You want it also on the thumbnail display…
Edit wppa-boxes-html.php
From line 28 it reads:
.
elseif ($action == 'close') {
if ( ! $wppa['is_upldr'] ) {
wppa_user_create_html($wppa['current_album'], wppa_get_container_width('netto'), 'thumb');
wppa_user_upload_html($wppa['current_album'], wppa_get_container_width('netto'), 'thumb');
}
Change to:
.
elseif ($action == 'close') {
if ( ! $wppa['is_upldr'] ) {
wppa_user_create_html($wppa['current_album'], wppa_get_container_width('netto'), 'thumb');
wppa_user_upload_html($wppa['current_album'], wppa_get_container_width('netto'), 'thumb');
wppa_user_albumedit_html($wppa['current_album'], wppa_get_container_width('netto'), 'thumb');
}
i.e. add one line:
wppa_user_albumedit_html($wppa['current_album'], wppa_get_container_width('netto'), 'thumb');
If this is what you want, tell me so and i will put it in the next version, so you can update when there is a new version. The return url may be a bit off, but that will be fixed in the next version ( too complicated to display here ).
Thank you, now I see the edit button but I can edit name and description of album only, I need to edit every photos too (like in slideshow, there it’s perfect)
Ok, there will be an edit link ( like on the slideshow ) under the thumbnail if you are either admin or the owner of the photo and frontend edit is enabled and you are not blacklisted in version 5.3.7.
Now it’s wonderful! Thank you!!!!
To be perfect still missing the Delete button…
Thank you
Delete button… In the next version. Promised…