Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I was able to create a solution for this to output the gallery name the image was submitted to. In the plugin file – nextgen-public-uploader/inc/npu-upload.php

    define the gallerypath in the Send Email area like below:

    // Function: Send Email Notice
    public function sendEmail() {
    if(get_option(‘npu_notification_email’)){
    $gallerypath = ltrim($_SERVER[‘REQUEST_URI’],’/’);

    $to = get_option(‘npu_notification_email’);
    $subject = “New Image Pending Review”;
    $message = “A new image has been submitted and is waiting to be reviewed. $gallerypath”;
    wp_mail( $to, $subject, $message, $attachments);

    I have implemented it as Brian suggested, with an uploader on each gallery page. When I receive the confirmation that someone uploaded an image, I have no idea what gallery it was uploaded to and have to browse through each. Any way for that info to be tacked into the confirmation email? Thanks!!

    Thread Starter als12

    (@als12)

    I’d also like to know if there is a way to tie this in with my s2member plugin so that free members are only able to upload a few images, while my premium members can upload unlimited times? Willing to hire someone for these modifications!

Viewing 3 replies - 1 through 3 (of 3 total)