Hi, thanks for this awesome tutotial. I implemented it on my site and it is working well.
Now I have another problem, after login, vbuletin is in an iframe.
If I do not surf through forum, and surf other parts of my site, user keeps logged on site, but not in vbulletin.
I tried manikg some dummy image, file session_image.php to refresh session every time user visits other parts of the site.
PHP Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('GET_EDIT_TEMPLATES', 'editsignature,updatesignature');
define('THIS_SCRIPT', 'slika');
define('CSRF_PROTECTION', true);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once(DIR . '/includes/functions_user.php');
// bootstrap framework
require_once(DIR . '/includes/class_bootstrap_framework.php');
vB_Bootstrap_Framework::init();
header('Content-Type: image/png');
readfile('../session_slika.png');
exit;
?>
Any idea where I am wrong ?