![]() |
Redirect on login
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 |
You need to set $vbulletin->url to the URL just before the redirection occurs, there is a hook that caters for this.
|
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. |
All times are GMT. The time now is 10:27 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:
|