The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to generate the token and secret?
I need to insert manually into the database a user vbulletin but I need to know how to generate the information that goes on the field and secret token user table of the database.
Note: I need please function or where the file generated is my token and secret |
#2
|
||||
|
||||
Why not use the user API to add a new user? That will take care of generating the token and secret, you just pass the required user info.
|
#3
|
|||
|
|||
hello, it happens is that I'm developing a separate module to register users on my own in the vbulletin, and I need to know which way the vbulletin 5 generates the token and secret of users.
How I can implement the api to add users from my other website vbulletin¡ |
#4
|
||||
|
||||
Is that module in the same forum or is it in a different website?
|
#5
|
|||
|
|||
Searching the web I found that by vbulletin API using the following url can be registered users.
The problem that arises is that not where the parameter is achieved: api_c, api_s, api_sig, api_v. http://www.yourforumurl.com/api.php?...alue1&a=value2 From the example, you'll see: api.php specific params are prefixed with 'api_' api_m = method name api_c = ClientID. api_s = Access token. api_sig = signature of the request api_v = the api version called by the request b = value1 & a = value2 are the HTTP GET params accepted by the method (forum_markread) of the API It is a different vbulletin website, what you want is that when they sign on my external to vbulletin system at the same time to implement a function to register with the same user data in the forum of vbulletin, but for that you need to know as the token and secret field of user table is generated |
#6
|
||||
|
||||
Does the external website use PHP and reside in the same server as vBulletin? If so, you could call the API directly without having to send an HTTP request. That would be faster in terms of performance as there is no HTTP request overhead.
|
#7
|
|||
|
|||
correct the site is on the same server but as I use the api ?.
I was watching that can be used for http, but I need the idClient, Access token, signature of the request and do not know where to get that in vbulletin You could give me a help |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|