Creating new vB users
Okay, back to creating new vB users from an external app.
My initial tests proved successful, but these were carried out in a standalone script that simply created a new user. After attempting to integrate this functionality into the site I'm working on, which is all OO based, I started getting a load of errors from the vB include files, which seem to be related to the fact that I'm trying to call vB functions from a non-vB class:
Fatal error: Call to a member function query_first() on a non-object in /testvb/includes/functions_databuild.htm on line 1267
Fatal error: Call to a member function unlock_tables() on a non-object in /testvb/includes/functions.htm on line 4168
Does anyone have a working example of using the user DM in a non-vB class?
Cheers!
Paul.
|