The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Displaying some stats on another site ?
Hi.
We are working on a new website, and would like to display. Members ( number of ) Threads ( number of ) Posts ( number of ) We would like to display the above on another site, is this possible. If so , how so please. Example: forum.com has: 100 members 65 threads 138 posts we want to display on: website.com forum.coms above stats: In a block, like: Forum.com Stats: 100 members 65 threads 138 posts |
#2
|
|||
|
|||
Are these on the same server?
|
#3
|
||||
|
||||
No.
|
#4
|
|||
|
|||
Your best bet would be to create a custom Vbulletin page with all the functions included. Then echo out these statistics. Once these statistics are echoed out, you can include that PHP page onto your desired PHPpage/forum.
On a more complicated side-note, you can use the CURL function to pull data off of an external website source. First of all, you need to enable curl support for php. To do this, remove the comment (to enable curl operation) from php.ini file To get a remote file executed, we need to pass http request from a php file. CURL is used for this purpose. Here is a simple example that you can try. PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|