I have a custom requirement in which I need to populate a custom table whenever a user posts a question i.e. posts the first thread in a multi-thread post.
I have already written the stored procedure for this in same database as that of YAF.
I am not sure what would be the best approach for handling this requirement. I could call my stored procedure from the YAF procedure that saves a message. i.e. in yaf_message_save or may be there is a better way of doing this.