The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBulletin SOAP API Details »» | |||||||||||||||||||||||||
sorry for my bad english
Changes: v. 1.0.7 Bugfix in the updateUser function added getOnlineUsers() function, to get the list of the logged in users v. 1.0.6 updateUser uand deleteUser updated, now is posible to call it with userid or other field from user table getStats() funktion added, to get forum stats v. 1.0.5 Added updateUser, deleteUser to update user data ( email/password, username ) or delete user v. 1.0.4 Added doActivateSession function to let vbulletin accept sessionid v. 1.0.3 functions to get userdata and postdata are now done postmessage returns as formated html v. 1.0.2 added support for vbulletin "session" the server can now send all needed cookies, to the client, last 2 optional: (PREFIXsessionhash/lastvisit/lastactivity/(userid/password)) v. 1.0.1 rename login funtion to doLogin add placeholder for getUser/setUser, getPost/setPost, getThread/setThread functions change URL in the WSDL file to relative URL this is a beta version !! what this hack do: this hack provide a soap api to access vbulletin functions over internet ( for example: ebay, amazon or google have they webservices api to access is over soap ) this hack has at the moment this functions 1. login to vbulletin you must give username and password, as response you get userid and password as md5 ( with salt ) hash so that you can set vbulletin cookie on your application 2. a. last X post from the forum b. last X post from the forum, which the user ( which is loged in, see 1. ) can see 3. manipulate a user, get user information , create users or delete then 4. get forum statistics from vbulletin ( Sponsored by 1Agency (www.1agency.de) ) you will get new user, max threads/posts and some other stuff as result 5. get all logged in users in vbulletin what can you do with this hack ? you can make common login with your application ( written in PHP/ASP(.NET)/JAVA/C or any language which supports SOAP calls ( for example mozilla firefox ^^)). to make common login, you must set vbulletin cookie, see 1. or you can write firefox extension to get last 10 thread from your forum, with threads that you can see or synchronise users from your application and vbulletin ( this feauture is on development ) other planced feautures are: write comment write thread get thread ( with all comments ) whis SOAP-SERVER is written in PHP5 with SOAP - extension so that you need to be php5 and soap extension installed on your server ( all new destributions provides php5 and soap extensions as rpm packages ) it is posible to write this server in php4 oder php5 without soap extension ( with nuSOAP or PEAR::SOAP ) but this is not planed at the time, sorry php Clients can be written in Java, ASP or PHP, with all language which supports soap so that you can make common login between an ASP or JSP CMS and Vbulletin how to install unpack the package, move the "soap" folder in your forum root and install the product with product installer to test the functionality i have included some test files in /soap/examples you must change the url and username/password and the key in this files later i will make some examples for typo3/joomla/xoops to access and login into vbulletin i will accept every help and feedback to make this extension better updated example is in the "soap" folder Show Your Support
|
Comments |
#112
|
|||
|
|||
download the needed dll from www.php.net
|
#113
|
|||
|
|||
There is a possibility to develop a common login system to drupal with this extension?
Thanks, Simon. |
#114
|
|||
|
|||
yes thy not?
this addon provides an api for vbulletin all that you need on drupal side is to call the login function of this api and the set the cookies |
#115
|
|||
|
|||
is it possible to add getForums() so we can get a list of the current forums available?
|
#116
|
|||
|
|||
I was adding a reference in vb.net to this and it gave me these errors...
Code:
The document at the url http://www.7thgencivic.com/forums/soap/server.php?wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'DISCO Document' is 'Discovery document at the URL http://www.7thgencivic.com/forums/soap/server.php?wsdl could not be found.'. - The document format is not recognized. - Report from 'WSDL Document' is 'There is an error in XML document (68, 81).'. - Namespace prefix 'tns' is not defined. - Report from 'XML Schema' is 'The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'. |
#117
|
|||
|
|||
ok, i think i fixed it now.
try this server.xml file. |
#118
|
|||
|
|||
I'm also interested in being able to get the list of forums available to the logged in user. I'd also like to be able to get a list of threads within a forum, post a new thread, read a thread, post a reply, etc.
|
#119
|
|||
|
|||
I have the SOAP API running on Windows 2003, PHP 5.1, MySQL 4.0.1 and ColdFusion. I've managed to get PHP and ColdFusion using the API and the basic methods work.
I am having a problem with the updateUser method, it seems to throw errors unless I comment out the following code from the upadateUser function in the server.php file: PHP Code:
I am passing over an MD5 version of the password (without salt) to the function. It's not documented anywhere whether the password needs to be the original plain text or whether it can be an MD5 hash version. Any suggestions or some documentation on how to use the updateUser function within the API would be appreciated. Here is the syntal for the updateUser function: updateUser(string $key, string $value, string $field, string $username, string $password, string $email) |
#120
|
|||
|
|||
Is development stopped on this? I'm working on connecting C# to vbulletin and this looks promising but the feature I need that seems to be missing is adding a new user.
The Connector API https://vborg.vbsupport.ru/showthread.php?t=114338 has that ability, maybe the two could be combined? |
#121
|
|||
|
|||
i have stopped the development because of few interest
you can not use the "conenctor api" to connect c# application with vbulletin only one way you have is to use this API ( SOAP ) or directly access the vbulletin database additing a user to vbulletin is included in this API |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|