The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I redirect member to a different page when he logs in?
I have split my forum home into 4 pages using this mod. Each page is for a different primary usergroup. So I want a user to login and get redirected to "his home page" so to speak. Any suggestions on this? -PB |
#2
|
||||
|
||||
![]()
You need to set $vbulletin->url to the URL just before the redirection occurs, there is a hook that caters for this.
|
#3
|
|||
|
|||
![]()
Redirect after Login you could use that as your base code and modify it slightly.
$vbulletin->userinfo['usergroupid'] holds the users Primary Usergroup, so you could probably do a PHP switch() with it. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|