The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Human_verify adding new thread
I need some help, I would like to add new thread with VB5 API like this :
Code:
$time = time(); $api = Api_InterfaceAbstract::instance(); $nodeID = $api->callApi('content_text', 'add', [ 'data' => [ 'publisheddate' => $time, 'userid' => 89483, 'authorname' => 'test-author', 'description' => 'test-description', 'pagetext' => '', 'rawtext' => 'test-rawtext', 'title' => 'test-title', 'htmltitle' => 'test-htmltitle', 'parentid' => 2062054, 'created' => $time, 'lastcontent' => $time ], ]); dump($nodeID); Quote:
Thank you, |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|