2018-01-09, 09:34 AM
I am integrating Mybb forum in my existing website. Considering this, I want to use my sites user credentials to login to forum section as well.
So I was working on a script which will log in the user to forum section ,as soon as he logs in to site.
Added below code,
define('IN_MYBB', 1);
include_once('forums/global.php');
But my script is getting halt while including inc/functions.php file, so I just renamed that file to mybb_functions.php and that issue got resolved.
But now script getting halt for including inc/class.session.php file also.
Please guide me how should I go ahead.
So I was working on a script which will log in the user to forum section ,as soon as he logs in to site.
Added below code,
define('IN_MYBB', 1);
include_once('forums/global.php');
But my script is getting halt while including inc/functions.php file, so I just renamed that file to mybb_functions.php and that issue got resolved.
But now script getting halt for including inc/class.session.php file also.
Please guide me how should I go ahead.