Home › Support › NextGEN Public Uploader › Add more information/links to notification email?
| 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. |
| 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” /> |
| December 31, 2009 at 4:09 pm #314 | |
|
admin |
I've gone ahead and done some quick updates for my client. // 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” /> Do you also know how to get the widget (from the uploader) smaller….because my sidebar is too small for it now. |
| 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) Thanks |
| 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, bookchiq's email code is, as I've said, a wonderful addition, here is my version: <div class=”sfcode”> <span> </span>$gallery_title = $wpdb->get_var(“SELECT title FROM {$wpdb->prefix}ngg_gallery WHERE … which adds the site name + gallery name to both the subject and the message body to make it easy for an admin Unfortunately, my extremely basic hackery was unable to add other features that would make the admin's The most important addition to the NPU, however, would be additional fields in the submission form. 1. Tickbox confirming that the submitter owns the photo being submitted and gives full permission for 2. Name of the submitter (at the moment, the NPU gives the admin no way of knowing who submitted what). 6. A bigger description box – encourage users to contribute more content. I believe that the above changes would take the NPU plugin to entirely another level, EDIT: I seriously chopped up the code in order to stop the layout partially obscuring all the |