Adding a Custom Alert

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?
 
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.
 
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.

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!
 
Back
Top Bottom