![]() |
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? |
Take a look at functions_newpost.php, especially build_new_post() and this Thread
|
Quote:
|
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:
|
Yes. For a post you would have to put 'post' instead, and array() must be $threadinfo.
|
Quote:
So it should read: PHP Code:
|
Quote:
|
All times are GMT. The time now is 09:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|