[eluser]Evollution[/eluser]
Code:
define("IN_MYBB", 1);
include_once("forum/global.php");
print_r($mybb);
if ($mybb->user['uid'] == 0)
{
echo "Guest";
}
else
{
echo "User";
}
Code:
i use this code to integrate mybb with my website but i get some errors :
Severity: Notice
Message: Undefined index: send_mail_queue_start
Filename: inc/class_plugins.php
Severity: Notice
Message: Undefined index: send_mail_queue_end
Filename: inc/class_plugins.php
Line Number: 83