The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
auto reply to a thread...
I didnt know where to put this...
I have some code that auto closes a thread when the rating drops below a certain point. How can I make the code reply to the thread stating why it was closed? |
#2
|
||||
|
||||
Take a look at functions_newpost.php, especially build_new_post() and this Thread
|
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
take a look at my topic:
https://vborg.vbsupport.ru/showthread.php?t=83138 i'm working on the ability to autocreate topic. i think creating a reply shouldn't be much more difficult. maybe the line PHP Code:
|
#5
|
||||
|
||||
Yes. For a post you would have to put 'post' instead, and array() must be $threadinfo.
|
#6
|
|||
|
|||
Quote:
So it should read: PHP Code:
|
#7
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|