vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBulletin SOAP API (https://vborg.vbsupport.ru/showthread.php?t=100559)

Way2IT 03-18-2008 02:16 PM

"you must change the url and username/password and the key in this files"

key - which key is he referring to? anyone?

papaschloss 04-01-2008 12:30 AM

The key....
I, too, am wondering what exactly is meant by the key.

In server.php, there is a line
Code:

// set access_key
$this->access_key = $this->options['vbsoap_server_key'];

I'm new to vbulletin, so I need to ask, where does the options array come from and how does the key 'vbsoap_server_key' get set?

I'm using 3.6.x and I noticed that this library is based on 3.5.2. Has this proved to be much of a difference for anyone?

Any help much appreciated.

papaschloss 04-01-2008 04:30 PM

The original poster, leonsio, says

Quote:

the installer ( XML ) create new field unter vbulletin settings, called SOAP API
you can setup then the Key for the soap connection

more is not needed to have this addon work
Is he talking about 'the' installer? The one run by hitting install.php? If so then how does it know to add the setting for this key? And, really don't feel like emptying my DB... Or, is there some other installation process I'm unaware of.

I guess in the meantime, I'm going to try to hack this hack so as to remove the need for the key. <shrug>

papaschloss 04-01-2008 05:06 PM

OK, I figured the whole key thing out. The installation process being talked about by leonsio is a product installation process.

Admincp -> Plugins & Products -> Manage Products

Click on Add/Import Product and upload the product-soapapi.xml file from the root of the unzipped VB_SOAP archive.

Now go to

Admincp -> vBulletin Options -> VBulletin SOAP API (in the right hand list)

Click edit. The key should be there set to 'topsecretaccessky'. I set 'Activate or deactivate the SOAP server' to yes and then clicked on the Save button. However, I tried the login.php file again and got the infamous and always entertaining 'looks like we got no XML document'.

Help on this still appreciated.

e3fnxs6p 05-24-2008 10:14 AM

Quote:

Originally Posted by leonsio (Post 1185244)
i have stopped the development because of few interest
[...]

:(

vBulletin SOAP API deserves some more attention. Most developers developing in another language then PHP, will skip programmatic integration with vBulletin because they think it's only PHP based. But the vBulletin SOAP API allows these developers to use other languages (like Java, C#, Ruby) to communicate with vBulletin.

I think Java developers often try jforum.net as java forum software, but it hasn't a public API, so we want/need vBulletin SOAP API.

gregoryaide 07-10-2008 12:56 PM

Quote:

Originally Posted by papaschloss (Post 1480193)
OK, I figured the whole key thing out. The installation process being talked about by leonsio is a product installation process.

Admincp -> Plugins & Products -> Manage Products

Click on Add/Import Product and upload the product-soapapi.xml file from the root of the unzipped VB_SOAP archive.

Now go to

Admincp -> vBulletin Options -> VBulletin SOAP API (in the right hand list)

Click edit. The key should be there set to 'topsecretaccessky'. I set 'Activate or deactivate the SOAP server' to yes and then clicked on the Save button. However, I tried the login.php file again and got the infamous and always entertaining 'looks like we got no XML document'.

Help on this still appreciated.


Thanks for the help. I was ale to get it working on vBulletin 3.7. You need to change the login.php page to use the same key you specify in the admin control panel as well as make sure you use a full url for the SoapClient. I did nothing else special to get it to work. I've only tried the login.php and test.php pages so far but will look to itnergrate this on other pages throughout my site. Does anyone know of any mods similiar to this that are designed for vBulletin 3.7 or that might be better than this one? Seems like it's a common thing that would be needed in large sites that don't want to have to manage multiple user tables.

g.gadaleta 01-14-2009 03:01 PM

i'm using vb soap api to make login vbulletin through c# application :)

busur 02-03-2009 11:21 AM

Hello,

In C# application, i receive "Call to undefined function vbsetcookie()" error. It returns from server.php. what shall i do?

Hanoifishing 05-31-2009 07:12 AM

I have vbulletin 3.8.2 and install this products. but when I run it, I receipt this error. Call to undefined function vbsetcookie()

Please help me.

Thanks!

coffee_bean 07-01-2009 03:09 PM

I am surprised there's so little attention on this topic!

This addon would allow developers to create proper iPhone application for their site, especially where large community sites are involved, not to mention desktop applications or more customised feeds than RSS allows.


All times are GMT. The time now is 09:32 AM.

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.01340 seconds
  • Memory Usage 1,742KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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