2014-08-28, 06:56 AM
Hello everyone!
I have a really big problem and i don't know what I must to do. I Integrated my website and forum with class integrator and this worked. But it stopped work and i don't know why.
I'm not only one administrator in forum. In configuration may do something to stop integrate? Upgrade, settings whatever? Or maybe I do something in my code in website what can influence the integration of? Because I changed nothing in the code integration.
I need help
website: www.theroyalfive.com
forum: www.theroyalfive.com/forum
This is my code:
Integration is working good. When i used:
But when i used:
I get 2x"You are not logged in".
I set:
cookiedomain : .theroyalfive.com
cookiepath : /forum/
So what is wrong? Where can I search the problem?
Any tips will be very helpful. I really don't know what i can to do
Dear Users please help !
I have a really big problem and i don't know what I must to do. I Integrated my website and forum with class integrator and this worked. But it stopped work and i don't know why.
I'm not only one administrator in forum. In configuration may do something to stop integrate? Upgrade, settings whatever? Or maybe I do something in my code in website what can influence the integration of? Because I changed nothing in the code integration.
I need help
website: www.theroyalfive.com
forum: www.theroyalfive.com/forum
This is my code:
define('IN_MYBB', NULL);
require_once './forum/global.php';
include ("./forum/class.MyBBIntegrator.php");
require_once MYBB_ROOT.'inc/class_parser.php';
$MyBBI = new MyBBIntegrator($mybb, $db, $cache, $plugins, $lang, $config);
Integration is working good. When i used:
$login_status = $MyBBI->login("xxxx", "xxxx");
I'm logged into the board.But when i used:
echo ($MyBBI->isLoggedIn()) ? 'You are logged in' : 'You are not logged in';
if(!$mybb->user['uid'])
echo "You are not logged in";
else
echo "You are logged in";
I get 2x"You are not logged in".
I set:
cookiedomain : .theroyalfive.com
cookiepath : /forum/
So what is wrong? Where can I search the problem?
Any tips will be very helpful. I really don't know what i can to do
Dear Users please help !