2011-06-17, 07:51 PM
While MyBB is supposed to automatically redirect to it's referring page, I am using the MyBB integrator, located at http://phpdave.com/MyBBIntegrator/, and it doesn't seem to work.
Is there something I can change, or a manual parameter I can add to the url in order to force redirect?
<?
define('IN_MYBB', NULL);
global $mybb, $lang, $query, $db, $cache, $plugins, $displaygroupfields;
require_once '/home/arflux-rpg/public_html/forum/global.php';
require_once 'class.MyBBIntegrator.php';
$MyBBI = new MyBBIntegrator($mybb, $db, $cache, $plugins, $lang, $config);
if (!$MyBBI->isLoggedIn())
{
header( 'Location: http://arflux-rpg.com/forum/member.php?action=login' );
}
?>
Is there something I can change, or a manual parameter I can add to the url in order to force redirect?