vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   new user api (https://vborg.vbsupport.ru/showthread.php?t=316269)

nimasdj 12-28-2014 05:43 PM

new user api
 
Hello,
Does vBulletin 5 have api to receive new user from external and insert into db itself? Or should inject new user directly into db myself?

ozzy47 12-28-2014 05:44 PM

Can you explain a bit more what it is you are trying to achieve?

Also nimasdj,

You are currently showing up as unlicensed.

To be able to download modifications and/or receive support here at vBulletin.org, we ask you to please click here (vB-Germany users click here) and enter your email address. 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.

To protect our customers privacy you will also need to Opt-In to license validation for all Support Sites. You must authorise vBulletin.org in order to validate your license status here. You can do this at the page linked above for your distributor. Make sure to set the permission to allow vBulletin.org to validate your status.

The update of your account can take up to one hour.

Thank you.

nimasdj 12-28-2014 06:05 PM

before purchasing the license, I need to know if this is possible: when a new account is created on my main site, is it possible to send the new user data to the api of vb to create a forum account automatically? does it have such external api at all? or do I need to insert new account directly into vb db myself? or does it have a loginShare resource to read account data from db of my main site and create a new account on vb when attempting to login on vb?

ozzy47 12-28-2014 07:36 PM

Answered by Wayne Luke.

Quote:

Originally Posted by Wayne Luke;n4240862
The API for users is located in /core/vb/api/user.php

You might also want to look at the controller for the registration process located at /includes/vb5/frontend/controller/registration.php

We don't recommend inserting data into the database directly.


nimasdj 12-29-2014 06:25 AM

Thanks. Where is the documentation how to use this user api?

ozzy47 12-29-2014 08:48 AM

The API is in the software package when you purchase a license and download the product. :)

nimasdj 12-29-2014 08:54 AM

I know that. I meant if api usage is documented? Where is documentation?

ozzy47 12-29-2014 08:57 AM

No, there is not much documentation available for vB5 yet. :(

nimasdj 12-29-2014 09:12 AM

As you see, I need to use this userCreation api after purchase the license, so without api documentation how the staff expect that I buy this? Or can you give some hints/sample how can I use the api that I consider to buy it?

ozzy47 12-29-2014 09:51 AM

That may be something you want to ask in your thread at vB.com, http://www.vbulletin.com/forum/forum...7-new-user-api


All times are GMT. The time now is 03:56 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.01109 seconds
  • Memory Usage 1,729KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete