Event that fires after a post or reply
I'm looking to hook in to an event that fires after a post or reply is created in Vanilla. I'm pretty new to this and I'v been looking for a good tutorial or the such, or even a list of events that you can hook it to.
Can someone please point me in the correct direction?
Thanks
0
Comments
see the wiki - there is a list of events.
First off:
welcome to the community - please look at these first.
http://vanillaforums.org/discussion/23130/forum-post-ettikett-etiquette
http://vanillaforums.org/discussion/17954/food-for-thought-forum-etiquette
http://vanillaforums.org/discussion/25115/how-to-how-can-a-new-user-better-help-the-community-when-asking-a-question
then here is more of an answer to your question.
http://vanillawiki.homebrewforums.net/index.php/Event_Hooks
http://vanillawiki.homebrewforums.net/index.php
http://vanillaforums.org/discussion/20231/how-to-become-somewhat-adept-at-modifying-vanilla-to-meet-your-needs-for-free
download the http://vanillaforums.org/addon/eventi-plugin
Are you looking for a model hook or a controller hook?
You can use
CommentModel_AfterSaveCommentandDiscussionModel_AfterSaveDiscussion