if you edit the login.php file...
find the line:
PHP Code:
do_login_redirect();
replace it with:
PHP Code:
//do_login_redirect();
$vbulletin->url = "index.php?$session[sessionurl]";
eval(print_standard_redirect('Redirect.'));
That will immediately send everyone to your forum index as soon as they sign in...
HOWEVER that will make your life annoying as an administrator. When you sign into the admincp you will also be sent to the forum index. You will have to reload/refresh the page after logging into the admin cp to return to the admin cp.
I'm not really sure why you need to do this but one option would be a conditional that lets administrators login as normal but everyone else go right to the forum index.
That code would be:
PHP Code:
if ($vbulletin->userinfo['usergroupid'] == 6)
{
do_login_redirect();
}
else
{
$vbulletin->url = "index.php?$session[sessionurl]";
eval(print_standard_redirect('Redirect.'));
}
I don't know what other complications this might cause.