PDA

View Full Version : Include vB data on non-vb pages


mOdEtWo
03-10-2004, 05:39 AM
Well, this isn't really a hack, but I'll make a request anyway...

I've looked at the current vB portals that's released, but haven't found what I'm looking for. I just want to design a page, and use php to fetch vB posts to the news section.

Now, how do I do that? What php tags do I need to include in my index.php file to be able to connect to the database and fetch data from a certain news forum?

TruckZMod
03-21-2004, 06:05 AM
I'd be curious to see more info on this as well...

Owen
03-21-2004, 01:04 PM
Pluhnews works fine with some modifications, just look near the end of the thread of that hack to figure out how to modify it to get it to work.

assassingod
03-21-2004, 01:42 PM
Well what you would use is in your php file for including vBs stuff is:

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'pagename');

require_once('./global.php');

Change pagename to you file name.

Thats it simply, if you want any more help (For getting vB posts on a non vb page) just ask and i'll write you a script.

Darren Lewis
03-21-2004, 02:47 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=62735" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62735</a>

JacobiKenobi
03-23-2004, 02:37 PM
Why can I not access that page? I am licensed and I can view everything else and download all hacks and such...

*looks around curiously wondering what is on the hidden page that he cannot access!*