M.C.
09-09-2013, 06:02 AM
Hello!
I wish all guest been redirected to forumhome.
I found this: https://vborg.vbsupport.ru/showpost.php?p=1023751&postcount=6
I edited it like that:
if ($vbulletin->userinfo['usergroupid'] == '1' AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'index')
{
header("Location: " . $vbulletin->options['bburl'] . "/forum.php");
}
It seems working OK but I have template issue now:
https://vborg.vbsupport.ru/external/2013/09/22.jpg
Why does it brake my template? It happens to default template too....
Thanks in advance!
I wish all guest been redirected to forumhome.
I found this: https://vborg.vbsupport.ru/showpost.php?p=1023751&postcount=6
I edited it like that:
if ($vbulletin->userinfo['usergroupid'] == '1' AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'index')
{
header("Location: " . $vbulletin->options['bburl'] . "/forum.php");
}
It seems working OK but I have template issue now:
https://vborg.vbsupport.ru/external/2013/09/22.jpg
Why does it brake my template? It happens to default template too....
Thanks in advance!