Thank you, but what files should be included to be able to do this?
Thanks for your help.
EDIT: nvm, found the class in the post. Will try this thanks.
EDIT2: I tried with the example, doesn't seem to work ( probbably doing something wrong ) :
PHP Code:
<?php
define('VB_AREA', 'External');
define('SKIP_SESSIONCREATE', 1);
define('SKIP_USERINFO', 1);
define('CWD', 'forums');
require_once(CWD . '/includes/init.php');
$newuser =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY);
$newuser->set('username', 'testUser');
$newuser->set('email', 'foo@bar.com');
$newuser->set('password', 'verysecret');
$newuser->set('usergroupid', 2);
?>
EDIT3: lol forgot to actually create the user, will try again
EDIT4: Got it working! Thanks