1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding a Custom Alert

Discussion in 'XenForo Development Discussions' started by Claiver, Aug 20, 2013.

  1. Claiver

    Claiver Member

    Hey, thanks for reading up on my little challenge. If it's not too much of trouble, I'd appreciate it if you could point me in the right direction!

    For my main site, which runs on CakePHP and integrates XenForo (it also makes use of the xf_user table), I have created an Event system. I would like to add <custom> alerts to the author of the Event when people RSVP (= they list themselves as Going/Maybe) to the event or leave a comment.

    How is this achieved in the easiest way? Do I need to write a small Addon to support this? Where would I best start?
  2. Jeremy

    Jeremy Well-Known Member

    You will need an alert handler and associated database entries. Let me see if I can find an article on it.

    I'm not quickly seeing one. But you should look into the Alert Handlers and how they function, but you basically need to make an insertion into the xf_alert (check that name) table.
    Shelley and Claiver like this.
  3. Claiver

    Claiver Member

    Hey @King Kovifor, thanks for taking the time to conjure a reply and looking into this matter; helpful people like yourself make working upon this platform a whole lot easier.
    I'll see how far I can get by studying the Alert Handlers, at least now I've got a clue!

Share This Page