PDA

View Full Version : Create new user from outside VB


Thronx
08-21-2008, 01:05 PM
Hi all,

I have php/asp pages on another part of my site where I sign up new members. I've sorted out some of the integration between my database and vB's, however I need some direction about how to create a new vB user myself, populating the necessary database tables. I kindof get what I need to create in many of the vB tables, however there are still some missing bits.

In particular, new password generation. I see it has to do with a hash and something else. I need the routine where the new user is written to the database and the password is encoded.

I've been wandering around the code for a while, but am a little lost. Any suggestions, tips, or thoughts would be very much appreciated.

Cheers, Jeffrey

Opserty
08-21-2008, 03:01 PM
Register.php would probably have given you some indication of what was required. Anyway you'd need to use or emulate the "Data Managers" (You can search the vBulletin Manual for information about them).

Here is how you do it in vBulletin: Add new Users (automatically) (https://vborg.vbsupport.ru/showthread.php?t=82836&highlight=users)

Thronx
08-22-2008, 11:32 AM
Many thanks, Opserty