Hmmm... well... did some more testing based on the != vs == and am not sure what to think of it.
If I use !- then it seems to work properly. If I select option "Venue", then it moves me to usergroup 10. If I select another option like "Patron", it moves me to the default usergroup 2.
If I use == then nothing I choose puts me into usergroup 10 like it should. What do you make of that?
And thanks for your help guys! You are awesome!!
--------------- Added 26 Jun 2011 at 18:43 ---------------
yeah, that is not right.. but the == isn't working either. hmmm
--------------- Added 26 Jun 2011 at 18:55 ---------------
So I can't get this to work
Code:
else if ($vbulletin->userinfo['field7'] == 11)
{
$newusergroupid = 9;
}
Or this (which should equal the same as above)
Code:
else if ($vbulletin->userinfo['field7'] == "Entertainer")
{
$newusergroupid = 9;
}