The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
This is how I would like it to work - unfortunately, it doesnt get past the new statement. Haven't even attempted a post yet!
Code:
<h1>createVbUserBlogDev.php</h1> <?php # Add a user to vBulletin (offline) function qpc_post($varname) { return trim(stripslashes((get_magic_quotes_gpc()) ? $_POST[$varname] : addslashes($_POST[$varname]))); } define('THIS_SCRIPT', 'createVbUserBlogDev.php'); require_once('./global.php'); require_once('./includes/class_dm.php'); require_once('./includes/class_dm_user.php'); $userdmBU = new vB_DataManager_Blog_User($vbulletin, ERRTYPE_ARRAY); // $userdmBU->set('bloguserid', 48); // $userdmBU ->set('title', 'This is a test Title'); // $userdmBU ->save(); ?> <h4>Done!</h4> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|