The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Automatic Thread Creating with Dataman...
I'm using the following datamanager calls to automatically create a thread and first post in one of my mods...
Code:
$threadman =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_STANDARD, 'threadpost'); $threadman->setr_info('user', $vbulletin->userinfo); $threadman->set_info('skip_moderator_email', true); $threadman->set_info('skip_floodcheck', true); $threadman->set_info('skip_charcount', true); $threadman->set_info('skip_title_error', true); $threadman->set_info('parseurl', true); $threadman->set('allowsmilie', true); $threadman->set('visible', true); $threadman->set('open', false);; $threadman->set('taglist', $media['tagcache']); $threadman->set('forumid', $vbulletin->options['media_submit_forum']); $threadman->set('userid', $vbulletin->userinfo['userid']); $threadman->set('title', $title); $threadman->set('pagetext', $pagetext); $threadman->save(); This worked great in VB3.8, and still "works" now in VB4. However, its having a small issue in VB4 where it doesn't update the forum information. It doesn't update the last post information for the forum... it doesn't get added to the new forum posts widget either... Is there something I am missing? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|