vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Register new user vB user outside of vBulletin (https://vborg.vbsupport.ru/showthread.php?t=297495)

weeno 04-22-2013 08:24 PM

Register new user vB user outside of vBulletin
 
We are working on a an update to our blog system (WordPress-based (which is PHP-based)) that sits beside our vBulletin forums. We use vB our vB user DB for authentication into an iOS app tied to our blog. We want to update our website (WP blog) to allow the creation / registration of vB users inside the environment of our blog -- without a visit to the vB forums.

We are running vB v3.4.1 right now but will be upgrading to latest 3.8.x before we go live with this new system.

Is this task something for the vB Data Manager I've been reading about, or...what is the drill, here. Can someone point me in the right direction? I am thinking there is more to it than generating the proper pwd hashes and inserting into the vb_user table.

Thanks.

bp

kh99 04-23-2013 01:52 PM

Yes, if you can include vb's global.php in your script, then the best thing to do is to use the User data manager. It just involves creating the object, setting the fields, and calling save. Probably the best thing to do is to look at register.php or admincp/user.php (the $_POST['do'] == 'update' section) and see what they do.


All times are GMT. The time now is 09:13 PM.

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.00932 seconds
  • Memory Usage 1,705KB
  • 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
  • (2)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