This plugin is working great for me, and I'm delighted you've created and shared it.
One suggestion (which I'm willing to help implement): it would be nice if the notification email provided a little more information (e.g. which gallery received a new upload) and offered a link to the admin interface where the photo can be approved.
I'm not confused by the current process, but I'm setting this blog up for a client, and I don't think they'll catch on right away. Adding those pieces should help.
If this isn't something you have time and/or interest to add right away, I'll be happy to code it in myself and share the changes with you if you tell me how you'd like them.
Thanks again for the very useful plugin!
1:26 pm December 29, 2009
gouryella12
Member
posts 3
2
I agree with you, the plugin is very good
It need some updates as you already said, some more info in the notification mail, where the picture is uploaded to etc….and I would love to see some more description fields in the widget.
I've gone ahead and done some quick updates for my client.
For anyone who's interested, I updated the sendEmail() function in inc/npu-upload.php as follows:
// Function: Send Email Notice
public function sendEmail() {
global $wpdb;
$gallery_title = $wpdb->get_var("SELECT title FROM {$wpdb->prefix}ngg_gallery WHERE gid = {$_POST['galleryselect']}");
if(get_option('npu_notification_email')){
$to = get_option('npu_notification_email');
$subject = "New Image Pending Review - NextGEN Public Uploader";
$message = "A new image has been submitted to the \"{$gallery_title}\" gallery and is waiting to be reviewed.\r\n\r\nYou can view and approve or reject the image here: ".get_bloginfo('url')."/wp-admin/admin.php?page=nggallery-manage-gallery&mode=edit&gid={$_POST['galleryselect']}";
wp_mail( $to, $subject, $message);
}
}
7:44 am January 2, 2010
gouryella12
Member
posts 3
4
Updated my npu-upload.php with your code and it works fine
now i get a notification message in my inbox with the path where the image is uloaded to very good work thanks a lot.
Do you also know how to get the widget (from the uploader) smaller….because my sidebar is too small for it now.