Author Topic: Email notification on upload  (Read 6877 times)

0 Members and 1 Guest are viewing this topic.

Offline aja

  • Pre-Newbie
  • Posts: 5
    • View Profile
Email notification on upload
« on: September 28, 2008, 06:05:27 PM »
I do not get an admin email when another person uploads a photo. What do I need to do.

Thanks

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: Email notification on upload
« Reply #1 on: September 28, 2008, 06:20:06 PM »
Hello,

make "Notify by email upon user upload" to Yes

Offline aja

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Email notification on upload
« Reply #2 on: September 28, 2008, 06:25:57 PM »
I've done that.........
Even tried several different addresses, still does not work.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Email notification on upload
« Reply #3 on: September 28, 2008, 06:26:39 PM »
Hello and welcome to 4images forum.
Can you send emails via 4images at all? (you can try do it via ACP (Admin Control Panel) -> Send Email)

P.S.
Some hosts don't allow sending emails via PHP, so you'll need use a SMTP server for that.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline aja

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Email notification on upload
« Reply #4 on: September 28, 2008, 06:41:12 PM »
I can send email thru the ACP fine

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Email notification on upload
« Reply #5 on: September 28, 2008, 06:48:37 PM »
Just to be clear, you CAN send emails via ACP and you DO receive them?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline aja

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Email notification on upload
« Reply #6 on: September 28, 2008, 06:53:50 PM »
That's correct..........

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Email notification on upload
« Reply #7 on: September 28, 2008, 07:10:18 PM »
There is another "undocumented" fact that has to be in account: the email notification upon upload only works when no direct upload is allowed and admin must validate the uploaded images.

The "direct upload" can be configured for each category (ACP -> Edit Categories -> Edit -> Direct Upload)

If you don't like that and want receive emails for "direct upload" images, open member.php, find:
      if ($config['upload_notify'] == && !$direct_upload) {

Replace with:
      if ($config['upload_notify'] == 1) {

Find:
        $validation_url $script_url."/admin/index.php?goto=".urlencode("validateimages.php?action=validateimages");


Replace with:
        if ($direct_upload)
        {
          
$validation_url $script_url."/details.php?image_id=".$image_id;
        }
        else
        {
          
$validation_url $script_url."/admin/index.php?goto=".urlencode("validateimages.php?action=validateimages");
        }
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline aja

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Email notification on upload
« Reply #8 on: September 28, 2008, 07:17:41 PM »
Aha,I thought it would occur either way, that's my problem. Thanks for the help.
 :D

Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: Email notification on upload
« Reply #9 on: August 24, 2009, 09:44:56 AM »
Hi V@no,
                I want to send the notification email to all the registered users when one user uploads the photo.. Can you please let me know what changes should I made for this ?

Thanks,
batu