Author Topic: Is there a way to send email when a new image is uploaded?  (Read 17060 times)

0 Members and 1 Guest are viewing this topic.

Offline jaleelb

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • http://www.playmouse.com
Is there a way to send email when a new image is uploaded?
« on: January 31, 2003, 06:04:17 AM »
I know an email is sent to the administrators when someone posts an image that needs validation.  But is there a way that function could be expanded to send email to a listserv when someone simply posts an image?

I'm trying to do something like this for a listserv - whenever an artist posts a new image to the gallery, users subscribed to the listserv would receive an email alert.  I'd love to see this feature in 4images! :idea:

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #1 on: January 31, 2003, 11:40:47 AM »
This would be a great feature. I would love to see this also :) I don't think its possible with this build though looks like we have to wait till 4images V2 ! What a great day that will be.........

Steve

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #2 on: January 31, 2003, 01:20:51 PM »
You can use http://www.4homepages.de/forum/viewtopic.php?t=3627 MOD for this. Just modify it a bit to send email to majordomo (or whatever listserv you are using) instead of uploaded pic owner.

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #3 on: January 31, 2003, 02:02:59 PM »
How would I modify this so that :

A user ticks a box on category say which tells the site to email him when someone uploads

Offline jaleelb

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • http://www.playmouse.com
Is there a way to send email when a new image is uploaded?
« Reply #4 on: January 31, 2003, 02:13:33 PM »
Quote from: SLL
You can use http://www.4homepages.de/forum/viewtopic.php?t=3627 MOD for this. Just modify it a bit to send email to majordomo (or whatever listserv you are using) instead of uploaded pic owner.


I might have misunderstood the function of the MOD you referred to, so please bear with me:

Looking over the code, it seems to apply just to recently uploaded images that need validation.  Is there a MOD that would apply to an image that was uploaded and didn't need validation?  Due to the number of images that are posted during the day, I don't usually require images to be validated.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #5 on: January 31, 2003, 02:14:18 PM »
Quote from: widgit1981
How would I modify this so that :
A user ticks a box on category say which tells the site to email him when someone uploads

I was writing about listserv, as you can see... this is really not very difficult. For the tasks you want the whole new mod should be done.

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #6 on: January 31, 2003, 02:15:37 PM »
I havn't got a clue about listserv can you point me in the right direction

Thanks
Steve
HighRez.com

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #8 on: January 31, 2003, 02:21:11 PM »
Thanks

You said:

"Just modify it a bit to send email to majordomo (or whatever listserv you are using) instead of uploaded pic owner."

What do I need to change there ?

Thanks

Steve

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #9 on: January 31, 2003, 03:02:42 PM »
Ok. Ive got Mailman installed ( my host advised me to use this ) Do I have to create a mailing list per category. How do I implement into each category page?

Any help will be HUGELY appreciated.

Thanks

Steve

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #10 on: January 31, 2003, 03:32:54 PM »
let's see if somebody else needs such a feature... then it's clear, if it worth spending time  :roll:

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #11 on: January 31, 2003, 03:59:29 PM »
Thanks SLL you've been a great help just lately. I wish I could code. :(
Hopefully there would be high interest for this !

Steve
HighRez.com

Offline jaleelb

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • http://www.playmouse.com
Is there a way to send email when a new image is uploaded?
« Reply #12 on: January 31, 2003, 04:54:30 PM »
Quote from: SLL
let's see if somebody else needs such a feature... then it's clear, if it worth spending time  :roll:


Yeah, I guess we got lost that other idea (email alert for specific categories).  Personally, I was looking for a features that creates an email alert when someone uploads any image, without needing validation.

The MOD you provided will certainly work for those who post images on a gallery that requires validation for every post.

Lemme ask you this; do other 4image galleries use image validation most of the time?

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
Is there a way to send email when a new image is uploaded?
« Reply #13 on: January 31, 2003, 05:04:36 PM »
but if u change image "direct upload" permission for the category to register users/all then they wont need to be validated.
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 SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Is there a way to send email when a new image is uploaded?
« Reply #14 on: January 31, 2003, 05:27:41 PM »
Quote from: jaleelb
The MOD you provided will certainly work for those who post images on a gallery that requires validation for every post.

In this case you just change the location of mail function. Put it into member.php, so email will be sent right after user upload.