PDA

View Full Version : new user api


nimasdj
12-28-2014, 05:43 PM
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 (http://members.vbulletin.com/membersupport_priority.php) (vB-Germany users click here (http://members.vbulletin-germany.com/membersupport_priority.php)) 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.

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/vbulletin-sales-and-feedback/vbulletin-pre-sales-questions/4240807-new-user-api

BirdOPrey5
01-01-2015, 10:22 AM
I don't know there are any examples out there of a 3rd arty successfully implementing a new user creation using the VB5 API.

Unfortunately if documentation and examples will be required (and I certainly understand why they would be expected) VB5 is not going to be for you.

Be aware that if purchased, once downloaded, no refunds will be offered.

nimasdj
01-01-2015, 11:55 AM
I just googled and see some negative comments people complaining they get theme import errors when installing! Should I be afraid of this?

ozzy47
01-01-2015, 02:16 PM
There is no yes or no blanket answer. Every users experience is different depending on their server/sites.

Zachery
01-01-2015, 04:15 PM
I just googled and see some negative comments people complaining they get theme import errors when installing! Should I be afraid of this?

There were issues with improperly configured webhosts (in most cases). We've added work arounds for this.