The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Abstract API Init Problem
Ciao,
i am trying to integrate an external php script with vbulletin 5, i searched the forum and web for possible solutions and i found some but i think either they were incomplete or i was not good enough to understand. here is the code snippet from vbulletin official post. Code:
$vbpath = '/var/www/html'; define('CSRF_PROTECTION', false); require_once($vbpath . '/includes/vb5/autoloader.php'); vB5_Autoloader::register($vbpath); vB5_Frontend_Application::init('config.php'); HTML Code:
<head> <title>System Error</title> </head> <body> <h1> A System Error has occured.</h1> <p> The software is experiencing a systems error.</p> <p> You should attempt to repeat your last action. If this error occurs again, please contact the <a href="mailto:dbmaster@example.com">site administrator</a>.</p> am i doing it right? thanks!! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|