Add more information/links to notification email?

HomeSupportNextGEN Public UploaderAdd more information/links to notification email?

This topic has 1 voice, contains 7 replies, and was last updated by  admin 427 days ago.

Viewing 8 posts - 1 through 8 (of 8 total)
Author Posts
Author Posts
December 28, 2009 at 8:02 pm #312

admin

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!

December 29, 2009 at 1:26 pm #313

admin

I agree with you, the plugin is very good <img title=”Laugh” src=”/wp-content/forum-smileys/sf-laugh.gif” alt=”Laugh” />
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 respect your work very well done Scott.
Thanks and i hope for an update in the future.
Keep it up!
Greets,
Maarten

December 31, 2009 at 4:09 pm #314

admin

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.rnrnYou 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']}";
				wds5_wp_mail( $to, $subject, $message);
			}
		}
January 2, 2010 at 7:44 am #315

admin

Updated my npu-upload.php with your code and it works fine <img title=”Cool” src=”/wp-content/forum-smileys/sf-cool.gif” alt=”Cool” />
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.
Thanks for the update and work I Appreciate it!

August 4, 2010 at 1:07 am #316

admin

Hi Guys

Thanks for the tips.

I wonder if any one has achieved either of the following:

1) display a message in admin – 1 you have 1 photo(s) to approve – with a link to the gallery (similar to when you have comments)
2) send an email to the person who uploaded the image upon exclusion removal

Thanks
S

December 6, 2010 at 10:24 pm #317

admin

bookchiq, you are AWESOME!

Thank you so much for adding functionality that makes this plugin infinitely more practical.

The NextGen Public Uploader has so much potential but I get the impression that the creators lost interest half-way through.

December 7, 2010 at 7:47 am #318

admin

We plan on upgrading the NextGen Public Uploader soon and will work on incorporating some of these features.  We haven't lost interest, just haven't had the time to do so

December 8, 2010 at 5:55 pm #319

admin

Brad, that's great to hear, sorry for sounding so negative; I was frustrated because I was focusing on what NPU cannot do but,
 of course, I am very grateful that the plugin exists at all, thank you for that and I do realize that you have, of course,
 been busy with CollabPress and all your other projects.

bookchiq's email code is, as I've said, a wonderful addition, here is my version:

<div class=”sfcode”>
// Function: Send Email Notice
<span> </span>public function sendEmail() {
<span> </span>global $wpdb;

<span> </span>$gallery_title = $wpdb->get_var(“SELECT title FROM {$wpdb->prefix}ngg_gallery WHERE
gid = {$_POST['galleryselect']}”);
<span> </span>$blog_title = get_bloginfo('name');
<span> </span>
<span> </span>if(get_option('npu_notification_email')){
<span> </span>$to = get_option('npu_notification_email');
<span> </span>$subject = “{$blog_title}.{$gallery_title}
upload – Approve or Reject”;
<span> </span>$message = “{$blog_title}.{$gallery_title}rnrnApprove or
reject:rnrn”.get_bloginfo('url').
”/wp-admin/admin.php?page=nggallery-manage-gallery&mode=edit&gid=
{$_POST['galleryselect']}”;
<span> </span>wds5_wp_mail( $to, $subject, $message);
<span> </span>}
<span> </span>}
</div>

… which adds the site name + gallery name to both the subject and the message body to make it easy for an admin
 who is using your plugin for several galleries and even several websites.
My version is also more truncated than bookchiq's, so that admins can absorb all the important info at a glance,
 even on space-limited mobile phones.

Unfortunately, my extremely basic hackery was unable to add other features that would make the admin's
 workflow even smoother, but I did try.  For instance, I am impressed by the way in
which the Photosmash Galleries plugin, for whom public uploads are a primary focus,
sends the admin an email alert which includes a thumbnail of the uploaded photo and separate links
 to either approve or reject the photo.  Obviously, that helps admins to moderate
 and to get those submissionsup on their sites quickly,
 even if they are quickly working through emails on their phone while sitting on a train or whatever.

The most important addition to the NPU, however, would be additional fields in the submission form.
At a very minimum, a site that accepts photo submissions needs to collect the following:

1. Tickbox confirming that the submitter owns the photo being submitted and gives full permission for
the site owner to use it (seriously important, massively expensive liability to any site owner who publishes
submissions without this, the form should not even allow the submission to proceed unless this
is ticked by the submitter).

2. Name of the submitter (at the moment, the NPU gives the admin no way of knowing who submitted what).
3. Contact email of the submitter (not to be published but important for the permission requirement).
4. Name that the submitter would like the photo to be credited to (ego is an important motivator of user participation).
5. URL that the submitter would like the photo credit to link to (SEO and traffic are
important motivators of user participation). 

6. A bigger description box – encourage users to contribute more content.
<span> </span>
The © photo credit, linked or unlinked, should be appended to the description.
 The admin should be able to choose whether or not the links will be nofollow.

I believe that the above changes would take the NPU plugin to entirely another level,
igniting a whole new category of WordPress blogs revolving around photo and image submissions.
 Again, I am not a coder but, having trawled through the files, I can see that a lot of work has
gone into your plugin, it seems a pity not to go the final mile and create a true game-changer.

EDIT: I seriously chopped up the code in order to stop the layout partially obscuring all the
comments in the thread, but everything still looks broken.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Register or login