Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

integrate session's vanilla 2.0.17.8

edited February 2011 in Vanilla 2.0 - 2.8
Hello everyone..

I want to integrate the sessions from my vanilla forum 2.0.17.8...
I have founds some old treads abouts this. but the folder structure are diffent from the treads I found

this example dosent work for me :S

$full_path_to_vanilla = 'vanilla/full/path/to/vanilla/here'; ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . $full_path_to_vanilla); error_reporting(E_ALL); include('vanilla/appg/settings.php'); include('vanilla/appg/init_vanilla.php'); echo "UserID = " . $Context->Session->User->UserID;

my site structure is.

www.site.com - the main site(have embed the vanilla forum)

www.site.com/vanilla - the forum

Someone there can tell me what file's i should include? so I can get my sessions

Comments

  • edited February 2011
    on phpbb thats super easy and thats is one of the main thing in there supportand docs.

    on phpBB I just have to insert these line of codes!

    <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); ?>

    are there a way to do this in vanilla.. I really need to do this.
    the problem with phpbb is i not can embed the phpbb forum line adress like vanilla's embed do
  • I guess nobody knows..
Sign In or Register to comment.