The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have an external script that is using vb5 data.
Forums are in /html/forum The ajax is called from /html/external/member.php Ajax is in /html/external/ajax.php So the Ajax script works no problem. The minute I add: Code:
if (!defined('VB_ENTRY')){define('VB_ENTRY', 1);}
$oldPath = getcwd();
chdir($_SERVER['DOCUMENT_ROOT'].'/forum/core');
require_once('../includes/vb5/autoloader.php');
vB5_Autoloader::register($_SERVER['DOCUMENT_ROOT']."/forum");
$app = vB5_Frontend_Application::init('config.php');
chdir($oldPath);
EDIT: Got it.. was missing: define('CSRF_PROTECTION', false); |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|