PDA

View Full Version : How to use vbulletin data outside it?


tassoman
07-21-2006, 09:49 AM
Hi all, I would code my own personalized pages, adding blocks of code fetching for example last N posts, fething user's data, pms etc.

But I dunno how... :|
I've already searched in the forums, I've founded some api to draw templated pages. But no info about fetching data.

For IPB there was a useful sdk wich fetch data and lets you insert them in classes or arrays.

There's something like for vb? A set of functions and classes to do this.

I've founded also a VBconnector.zip library but for now its manage only users and not threads, posts 'n forums.

Some help please? :surprised:

SaintDog
07-21-2006, 04:42 PM
Basically, requireing global.php will set you up (i.e. connect you to the database, allow you to use vBulletin's SQL connection class, etc), then it's up to you to add the additional coding to the script.

The template documentation around here is probably the best way to start, then simply addon to that script. If you need help fetching the last XX posts, feel free to shoot me a PM. I don't mind helping out.

tassoman
07-21-2006, 05:06 PM
You mean this page as documentation?
https://vborg.vbsupport.ru/showthread.php?t=98047&highlight=vbulletin+api

Or the official?
http://members.vbulletin.com/api/