Works great, dude! Thanks. You saved me a days work trying to figure out the login code myself.
Just for corrections sake, I did have to add this to bottom to complete the final if statement:
Now I just need to figure out how to snag the user variables I need from the database. I guess I can do it the old-fashioned way, but I was really hoping that good ol' this would work:
PHP Code:
$userid=$vbulletin->userinfo['userid'];
$usergroup=$vbulletin->userinfo['usergroupid'];
$membergroupids= $vbulletin->userinfo['membergroupids'];
The jury is still out.