Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Mod for email notification for members?  (Read 5014 times)

0 Members and 1 Guest are viewing this topic.

Frankieloum

  • Guest
Mod for email notification for members?
« on: July 09, 2008, 02:49:48 pm »

I saw a post somewhere that said you Stramm had created a mod that allows the members to upload their photos in the gallery and THEY get email notifications saying that someone commented on it?
I have looked and looked and cannot find it?

I had copied this down? Is this the mod? If so where do I find the download for it? If this is not it can someone please point me in the right direction so I can get this installed for the members.
Thanks
Frankie


($CONFIG['email_comment_notification'] && !USER_IS_ADMIN ) {
                $mail_body = "<p>" . bb_decode(process_smilies($msg_body, $CONFIG['ecards_more_pic_target'])) . "</p>\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . $redirect;
                cpg_mail('admin', $lang_db_input_php['email_comment_subject'], make_clickable($mail_body));
            }
 and then do I replace it with this?? or add this somewhere in it lol Sorry I AM SO NEW at this


// send an email to the owner of the picture
            $result = db_query("SELECT user_name,user_email FROM {$CONFIG['TABLE_PICTURES']} AS p, {$CONFIG['TABLE_USERS']} AS u WHERE u.user_id=p.owner_id and p.pid=".$pid);
            if (mysql_num_rows($result)) {
              $picture_owner_data = mysql_fetch_array($result);
              $subject = "New GJPix Comment by ".USER_NAME;
              $mail_body  = "Hi ".$user_name."!\n\n".USER_NAME." just wrote a comment on one of your photos, click the link below to read and reply to it.\n";
              $mail_body .= "http://gallery.greatestjournal.com/displayimage.php?pos=-".$pid;
              cpg_mail($picture_owner_data['user_email'], $subject, $mail_body, 'text/plain', "GJPix", 'dontreply@yourdomain.com');

            }
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod for email notification for members?
« Reply #1 on: July 09, 2008, 02:55:59 pm »

Email notifications are part of the modpack. There is no standalone mod as it's to hard to maintain for me. If you need it, you have to install the modpack.

Frankieloum

  • Guest
Re: Mod for email notification for members?
« Reply #2 on: July 14, 2008, 01:22:15 pm »

Straam can you point me to the mod to install? I have now lost it and cannot figure where it was?
thank you and also what would you charge to install the gallery members comment email notification mod?
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod for email notification for members?
« Reply #3 on: July 17, 2008, 08:35:24 pm »

click the 'download' link in the top menu and chose 'Modifications and AddOns'

Frankieloum

  • Guest
Re: Mod for email notification for members?
« Reply #4 on: August 04, 2008, 02:35:01 pm »

ok I had 2 people that I paid to do install of forum, mods, gallery etc. Well they are no longer doing that and I need help getting email notification in the gallery to my members. So can you please let me know who does this and what the cost would be to get the email notification for members so that when they upload anything in the gallery and someone leaves a comment they get a email letting them know.
Please
thanks
Frankie
www.makingmemoriesforyou.org
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod for email notification for members?
« Reply #5 on: August 10, 2008, 01:22:05 pm »

If you're looking for someone to install this mod for you, it's a good idea to post your request on the freelancer board
http://forum.coppermine-gallery.net/index.php/board,30.0.html

Frankieloum

  • Guest
Re: Mod for email notification for members?
« Reply #6 on: August 11, 2008, 04:11:33 am »

thank you very much
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.