The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
In my php application I got this function
Code:
require_once('./global.htm'); require_once('./includes/class_dm.htm'); require_once('./includes/class_dm_threadpost.htm'); function update_thread($title, $pagetext, $threadid) { global $vbulletin; $postdm =& datamanager_init('Post', $vbulletin, ERRTYPE_ARRAY, 'threadpost'); $threadinfo = fetch_threadinfo($threadid); $foruminfo = fetch_foruminfo($threadinfo['forumid']); $postinfo = fetch_postinfo($threadinfo['firstpostid']); $userinfo = fetch_userinfo($postinfo['userid']); $postdm->set_info('forum', $foruminfo); $postdm->set_info('thread', $threadinfo); $postdm->set_info('post', $postinfo); $postdm->set_info('user', $userinfo); $postdm->set('title', $title); $postdm->set('pagetext', $pagetext); $postdm->pre_save(); if (count($postdm->errors) > 0) { print_r($postdm->errors); return FALSE; } else { print_r($postdm->errors); echo $postdm->save(); return TRUE; } } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|