The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
I was wondering if there was a plugin available that when a certain member (or usergroup) logs in, it redirects them to a site, page of your choice? Thanks in advance, Ross |
|
#2
|
||||
|
||||
|
Create a new plugin using hook location "login_redirect" with the following:
For Usernames (Replace X with the Username of Member being Redirected): Code:
if (!($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin'))
{
if ($vbulletin->userinfo['username'] == X)
{
$vbulletin->url = "faq.php";
}
}
Code:
if (!($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin'))
{
if (is_member_of($vbulletin->userinfo, X))
{
$vbulletin->url = "faq.php";
}
}
|
|
#3
|
|||
|
|||
|
This could be accomplished with the miserable users mod also
|
|
#4
|
|||
|
|||
|
Thank very much
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|