PDA

View Full Version : Fetching content in VB database for external display?


Mikhailtech
09-17-2007, 03:48 PM
I'd like to know if there's any sort of documentation on how to display VB database content on an external site. Specifically, how to take write a script that will fetch a threadid and display its contents (with certain formatting) on an external site.

I know there are addons that do similar things (like VBExternal), but I'm looking for something more basic. I'm not a php guru unfortunately but I'm learning though I'm not sure where to start looking for info relating to this. Essentially I'd like to write a CMS-type application that will fetch threads from a certain forum and post them on an external website with specific formatting (like [page] tags that won't show up to the user but will split up the post into multiple pages once it shows up on the external site). It will also need to rewrite (probably mod_rewrite) the threadid to appear to be the title (again specified in a custom field). I would appreciate at least some direction or where to look to get started.

Analogpoint
09-18-2007, 05:30 AM
It's not trivial with such things as deleted/edited/moderated posts, attachments, etc, but take a look at the queries on lines 884 and 951 in showthread.php to get an idea.