PDA

View Full Version : function/sample code for adding new users


nolane
03-23-2003, 02:02 AM
Hello,
I'm new to the VBulliten world - I'm actually doing a contract job for a company that bought it, and I have a question.

We have a database with users that sign up to be on our website. In the same database, we've installed the vBulliten tables, etc.

Is there sample code somewhere or (better yet!) a function call already in the PHP source that makes adding new users easy? Ideally I want something like this:

vbAddNewUser( userID, Password, emailAddy );

...and whatever the other minimum required fields would be, that I can get from my OTHER "users" table (from when they sign up on our site), then just pass this info into VBulliten, and automatically get them started in the forums.

Make sense? I hope so. Anyway, if you can provide some examples on how to do this, it'd save me a ton of time.

Thanks in advance,
Nolan

filburt1
03-23-2003, 02:16 AM
nolane,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (http://www.vbulletin.com/members/forums.php) (vB-germany users click here (http://www.vbulletin-germany.com/members/forums.php)) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.

nolane
03-23-2003, 04:03 PM
Okay that's taken care of.

(For the record - sometimes us contractors are hired as 3rd party developers that aren't the registered owners of the software, but the company hiring us IS, and this makes getting support difficult.)

filburt1
03-23-2003, 04:17 PM
Sorry but I'm sure you can understand our position. :)

And you're showing up as licensed now so I'm moving this to the right forum :)

nolane
03-24-2003, 07:59 AM
Maybe I'm missing something (highly likely) but where did you move my post to? I don't see anything popping up when I search for my user ID, except *this* post and thread. Did it vanish? Am I on crack?