View Full Version : email notification upon image move
February 21st, 2007, 12:49 PM
Is there a way to disable the email notification that gets sent out whenever an administrator moves a picture between galleries? I often have to move many photos, but each one sends out a email to the user who uploaded the picture, and it's a bit obnoxious.
Again, sorry if this has been answered before, but my forum search didn't turn up the exact thing I was looking for.
February 21st, 2007, 01:38 PM
You would need to alter the appropriate file depending where your doing it and remove the mail() line. Could be adm-misc.php or editphoto.php or adm-photo.php all depends what your doing
February 21st, 2007, 02:39 PM
Do I need to do that in all three? I'm sorry, but I don't know much about editing PHP files. I just want to make sure the "we moved your image" email never gets sent out. Has anyone else done this?
February 21st, 2007, 03:52 PM
You could try removing this around line 3682 of pp-inc.php not tested and not supported.
if ( $Globals['useemail'] == "yes" && $User['userid'] != $puserid )
admin_email( 'moved', $pid, $puserid, $ptitle ) ;
February 21st, 2007, 05:06 PM
Nope...it still got sent out.
February 21st, 2007, 05:22 PM
dont know what else to tell you as that is the email in question and deleting it should achieve the code hack you want but as I stated it is not supported
April 2nd, 2007, 09:53 AM
I have to say this is very annoying and trouble some for my board as well.
We have to move and delete many photos annually to stay within our useage. Once a file is older than two years it goes. Well you can imagine how many emails go out when we delete a catagory with over 1000 picture in it.. or move them to another!
I think this needs to be addressed somehow. Its causes me a lot of headaches every time we do maintenance on the gallery.
April 2nd, 2007, 11:17 AM
Very simple if you do not want to hack your scripts simply turn off notification in admin options when your doing your work and no emails are send out.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.