This code connects to vBulletin 6 from non-vb page
This code is first
that workes fine if user is logged in or not. This line gets access denied if user is not logged in.
βis there a way to check if user is logged in or not? Then I can do an if around and ask them to login.
This code is first
PHP Code:
$vbpath = 'forum';
require_once($vbpath . '/includes/vb5/autoloader.php');
vB5_Autoloader::register($vbpath);
require_once($vbpath . '/includes/vb5/config.php');β
PHP Code:
$api = Api_InterfaceAbstract::instance();
Comment