firebrand media
01-04-2013, 06:47 PM
We're working on a heavily customized site for a client. This is a closed, "invitation-only" site.
So all guests need to go to a static HTML page with information and a login form.
The external page works fine, and the login works fine.
Right now, I'm able to force guests to log in with a custom plugin hooked on global_state_check
if ($vbulletin->userinfo['usergroupid'] == 1)
{
if ((THIS_SCRIPT == 'login') or ($_POST['do'] == 'login'))
{
} else {
$templater = vB_Template::create('custom_login');
print_output( $templater->render());
}
}
This is very close to what I need, but is there a way to just http redirect to the static page instead of rendering a template?
Running vBulletin 4.1 (Still porting our customized navigation to 4.2.)
So all guests need to go to a static HTML page with information and a login form.
The external page works fine, and the login works fine.
Right now, I'm able to force guests to log in with a custom plugin hooked on global_state_check
if ($vbulletin->userinfo['usergroupid'] == 1)
{
if ((THIS_SCRIPT == 'login') or ($_POST['do'] == 'login'))
{
} else {
$templater = vB_Template::create('custom_login');
print_output( $templater->render());
}
}
This is very close to what I need, but is there a way to just http redirect to the static page instead of rendering a template?
Running vBulletin 4.1 (Still porting our customized navigation to 4.2.)