The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
||||
|
||||
I got it working.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|