hi there,
Currently I'm trying to integrate vb 3.8 into a customized programmed portal.
Basically I run this snipped (
inspired of vBulletin bridge class) at very first in my application for initializing vB:
PHP Code:
$cwd = getcwd();
define('THIS_SCRIPT', __FILE__);
define('CSRF_PROTECTION', true);
define('CSRF_SKIP_LIST', '');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
chdir('3rdparty/Forum');
require_once('./global.php');
chdir($cwd);
this works fine. Depending on that I got login/logout functionality working by calling standard vB-functions.
But I get troubled with the db session - I never get the field 'lastactivity' in table 'session' updated
Any ideas to get this working? Would be sooo great
thx!
melchior
--------------- Added [DATE]1280158811[/DATE] at [TIME]1280158811[/TIME] ---------------
ah ok. I got it on my own
you've to run "exec_shut_down();"