The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I'm looking for a hook for after a reply has been posted to a thread. newpost_complete does it but it also includes when making a thread. newreply_post_complete does it but only when manually going to newreply.php, and it ignores quickreplies
|
|
#2
|
||||
|
||||
|
Hook newpost_complete
PHP Code:
|
|
#3
|
||||
|
||||
|
Quote:
Gah just read your reply *hits self*
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
Code:
IF (Blind == true){
$me->head->hit('Hard');
}
|
|
#6
|
||||
|
||||
|
LOL @ Marco
I am still muddling around with this new hook system. :rambo: I have a query added to functions_newreply to close a thread if the new reply is # 250 on the thread. Could I use this hook location and conditional to replace that functionality or should I use the newpost_process hook in functions_newreply? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|