The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I have installed a birthday greeting mod on out forum, but it's action is to create a new thread each time there is a birthday. We would prefer our BOT to post in an existing thread we have set up.
As I am a bit of a n00b to all this I was hoping that someone might be able to help. In the birthdaythread.php file this is the code to create a new thread: Code:
$dataman =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_SILENT, 'threadpost');
$dataman->set_info('forum', $foruminfo);
$dataman->set_info('thread', $threadinfo);
$dataman->setr('userid', $userinfo['userid']);
$dataman->setr('title', $subject);
$dataman->setr('pagetext', $message);
$dataman->set('visible', 1);
$dataman->set('allowsmilie', 1);
$dataman->set('showsignature', 1);
$dataman->setr('forumid', $foruminfo['forumid']);
$threadid = $dataman->save();
|
|
#2
|
|||
|
|||
|
Here are a couple of modifications that you could use:
Thread Auto Reply System (v2.0) Thread Auto Reply 1.0 |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|