Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Event that fires after a post or reply
binaryclock
New
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.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
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
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Are you looking for a model hook or a controller hook?
You can use
CommentModel_AfterSaveComment
andDiscussionModel_AfterSaveDiscussion
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.