2018-12-06, 11:50 AM
Hi,
I am coding a plugin that calls a function on the occurence of the 'newreply_do_newreply_end' hook.
The function is really called if I clicked the "New reply" button and submit a reply to the thread.
But it is not called if I replied using the quick reply function :/
Any help?
Thanks!
I solved it temporarily like that:
1. Edit template 'showthread_quickreply'
2. Replace
3. Add:
4. Replace:
I am coding a plugin that calls a function on the occurence of the 'newreply_do_newreply_end' hook.
The function is really called if I clicked the "New reply" button and submit a reply to the thread.
But it is not called if I replied using the quick reply function :/
Any help?
Thanks!
I solved it temporarily like that:
1. Edit template 'showthread_quickreply'
2. Replace
<form method="post" action="newreply.php?tid={$tid}&processed=1" name="quick_reply_form" id="quick_reply_form">
with:<!-- <form method="post" action="newreply.php?tid={$tid}&processed=1" name="quick_reply_form" id="quick_reply_form"> -->
3. Add:
<form action="newreply.php?tid={$tid}&processed=1" method="post" enctype="multipart/form-data" name="input">
Under:<!-- <form method="post" action="newreply.php?tid={$tid}&processed=1" name="quick_reply_form" id="quick_reply_form"> -->
4. Replace:
<input type="hidden" name="method" value="quickreply">
With:<!-- <input type="hidden" name="method" value="quickreply"> -->