![]() |
How to redirect usergroups during login?
I wish to redirect certain usergroups to specified areas of the forum, using login.asp. Im using the code below:
if ($bbuserinfo['usergroupid'] == 9) { header("Location: http://www.mysite.com/customers/forumdisplay.php?f=5"); } In my world, this checks to see if the user logging in belongs to usergroup 9, and then redirects them to forum 5. Problem is that when I try to insert this into login.asp it doesnt have any effect. I just end up at the same page, but being logged in. Is the syntax correct and/or where should I insert it? |
I got it working.
|
All times are GMT. The time now is 12:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|