Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
E-Mail alerts - Best way to implement them?
  • Posted: 26.02.2005, 13:14
     
    thewub
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.03.06
    Posts:
    6
    MODERATORS: Feel free to move this Thread if it doen't belong here, I'm not 100% sure it does... icon_redface


    For a while now, I've been thinking about implementing E-Mail alerts.

    I would like for users of my site to get an Email the moment an article about Topic X goes online. As far as I can see nobody has come up with somthing like that yet (please correct me if I'm wrong).

    The thing is, I'm not sure what the best way to implement this functionality is. A hack would be the easiest for me as a programmer but I don't like to hack around core files. It's more difficult to use for anybody else out there and could fail at the next best opportunity b/c of changes to the core.

    A hook? I'm not familiar with the implementation of hooks in PN and not sure where I'd hook the functionality in.

    A Module? The functionality should be started (as far as I have conceptualised it) the moment a new article goes online. Can I tell PN to start a module when putting something online? Wouldn't a hook be better for that?

    So you see, I have an idea, a concept of how I should implement the E-Mail alerts, but I'm not sure what the best way would be to do it.

    Any ideas? Any pointers?

    Thanks in advance
    thewub

    P.S.: SUre, I could with for such an implementation from the core Members an leave it at that, but the guys and gals are doing enough work already, some of us "others" should take a little bit of the workload...
  • Posted: 03.03.2005, 13:49
     
    thewub
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.03.06
    Posts:
    6
    Hm,

    it seems I'm on my own here.

    Aleks
  • Posted: 04.03.2005, 03:16
     
    jmfpub
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    12.06.05
    Posts:
    114
    You'll want to write a module that checks the topic of a new article when it's posted and then sends the e-mail off to those who have subscribed to get notices about new articles in that topic. It can probably be triggered with a hook, but I'm still trying to get the hang of hooks, so I can't get terribly specific on that.
  • Posted: 11.06.2008, 14:50
     
    dits
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    284
    Three years later and I need the same. icon_lol

    Any update on this?
  • Posted: 11.06.2008, 18:00
     
    uheweb
    rank:
    Professional Professional
    registered:
     September 2004
    Status:
    offline
    last visit:
    10.11.08
    Posts:
    815
    Wasn't there a Notifications hook wandering around in .764 days?

  • Posted: 11.06.2008, 20:21
     
    dits
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    284
    Can't seem to find it searching through the forums. Please let me know if you remember any more details?
  • Posted: 11.06.2008, 22:13
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.11.08
    Posts:
    13413

    Quote

    Wasn't there a Notifications hook wandering around in .764 days?


    pnNotify, was at the NOC, never completed IIRC. May now be at code.zikula.org

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 11.06.2008, 22:29
     
    uheweb
    rank:
    Professional Professional
    registered:
     September 2004
    Status:
    offline
    last visit:
    10.11.08
    Posts:
    815
    That's the one...I downloaded it once...never got around to trying it.
  • Posted: 12.06.2008, 13:14
     
    dits
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    284
    Thanks! Found it: http://noc.postnuke.…m/scm/?group_id=299

    Will have a look at it.

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula