PDA

View Full Version : Hook called after adding a reply ?


mihai11
09-28-2007, 06:34 AM
Hi,

Is there a hook called after the user creates a “reply” ? When the user attempts to create a reply the hook “newreply_start “ is called, but at this point the user can change his mind. Only after the user has pressed “Submit reply” the message was sent to the server. Is there a hook called at this point ?

I am thinking to write a hook that will check the size of the reply and award the users based on the post size. For this I need to call a hook immediately after the reply is sent to the server. I assume that there is some method to check the size of the reply .... but first thing first: is there such a hook ?

Regards,
Razvan

I think I found the answer myself: the hook is called "new_reply_post_complete".

Dismounted
09-28-2007, 06:45 AM
newreply_process also works.