Hi,
I got the following code from that thread.
Quote:
$newuser =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY);
$newuser->set('username', 'phpNukeUser');
$newuser->set('email', 'foo@bar.com');
$newuser->set('password', 'verysecret');
$newuser->set('usergroupid', 2);
|
But this code will work alone? How would I create the datamanager class? Which all files should I include? Pls help because I am new to php programming.
Thanks
Shanavaz.