Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
4.0k views
in Q2A Core by
See title.
Q2A version: 1.6.2
by
You can create a plugin for that. By considering favorite event for the section.
by
To create such a plugin, would I have to track events for comment, answer and question posting and notify the user if the particular parent post is favorited by him/her?
by
Or is there a better way?
by
You have to track each event you want to notify your user. See my answer for some logic. This is the easiest way I found. may other experts can give you some idea..

1 Answer

+1 vote
by
edited by
 
Best answer

You have to track each event you want to notify your user. Here are some logic you can try.

  • Either first check user favorite items
  • Track event in those favorite items
  • When event happen just throw email notification to the user

Or you can do other way

  • Track each event
  • Check if user has any favorite item in that event
  • When it's true throw email notification to the user

Since user favorite items store into the database there is no nee to create any other tables and you can utilize existing data.

Hope this will helpful to gest started.

by
Hi there Jatin Did you got my Message about your site q2amarket.com? BUG
by
Yes, I have replied too your PM. Didn't you get PM here? I am working on the bug and will fix as soon as possible. Thanks  lot for reporting the issue.
by
Thanks for the answer jatin.soni!
by
You are welcome.. :)
by
Sorry i didn't got your reply no problem, good luck
...