The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
It sounds to me that you want to make a widget that talks to a database.
Look at this post and it might help you. As far as web services go, PHP makes using Web Services quite simple to use. If you have access to a WSDL file then writing a SOAP client is very simple. Here is the code for a simple, working SOAP client from my own website. In this particular example, you can specify a season (2000-2010), a week (1-17), and a code for a team ('GB' for Green Bay, 'ATL' for Atlanta, etc) and it will tell you the score of the game: Code:
<?php $oSoapClient = new SoapClient("http://www.footballbook.pro/fbk.wsdl"); $szGid = $oSoapClient->getGameId(2010,7,"ATL"); $aoGameProperties = $oSoapClient->getGame($szGid); $szVis = $aoGameProperties['vis']; $szHome = $aoGameProperties['home']; $iVScore = $aoGameProperties['vscore']; $iHScore = $aoGameProperties['hscore']; echo "The score was $szVis $iVScore - $szHome $iHScore.\n\n"; ?> Code:
# php SoapClient.php The score was CIN 32 - ATL 39. I have made a lot of widgets that contain forms so I know it can be done. Good luck, -fab |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|