vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Create new user from outside VB (https://vborg.vbsupport.ru/showthread.php?t=188732)

Thronx 08-21-2008 01:05 PM

Create new user from outside VB
 
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)

Thronx 08-22-2008 11:32 AM

Many thanks, Opserty


All times are GMT. The time now is 07:05 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
  • Page Generation 0.01310 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete