The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
API post an event
How to post an event by vBulletin API? What do I have to define, if I want to post automatically as event? My code so far:
Code:
$input = array( 'hvinput' => '', 'title' => 'Title of new event post', 'rawtext' => 'HTML content of new event post', 'parentid' => 10, 'channelid' => 10, 'nl2br' => false, 'htmlstate' => 'on', 'disable_bbcode' => true, 'tags' => 'post,newpost' ); $options = array( 'skipDupCheck' => true ); $nodeId = $api->callApi('content_text', 'add', array($input, $options)); |
#2
|
||||
|
||||
You could check on frontend controller "createcontent" functions "actionTextNodeInternal" and "getEventInput". Also at "API/Content/event.php"
Your callApi should be "content_event". |
#3
|
||||
|
||||
Okay, will see. THX, delicjous.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|