![]() |
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. |
The Datamanagers need a vB_Registry and vB_Database object.
Many functions expect the vB_registry object to be available as $vbulletin, some also expect the vB_Database object to be avialable as $db. |
All times are GMT. The time now is 06:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|