Abe1,
You are good. That definitely did the trick.

Just PM me with an email to send the Paypal donation.
I did have a 2nd request in that message though, I'm guessing you missed it.
Quote:
Also, once the form is completed, I'd like to add a line at the end of the form to add them to a different "Additional Usergroup".
|
At the end of the form, I'd like to have them added to Membergroupids 12 (Additional Usergroup). In other words, I don't want the group to become the Primary for them, just to have them added to a secondary.
I'll put ADD_MEMBERGROUPIDS_HERE; for where I'd like to add it in my code.
PHP Code:
if ($redirectoption == "5")
{
if (($quest_answer == 'ANSWER') || ($quest_answer == 'answer'))
{
$vbulletin->url = '../index.php?' . $vbulletin->session->vars['sessionurl'] . "page=Next_Page";
ADD_MEMBERGROUPIDS_HERE;
eval(print_standard_redirect('redirect_postthanks'));
exit();
}
else
{
$vbulletin->url = 'newthread.php?' . $vbulletin->session->vars['sessionurl'] . "do=Same_Form";
eval(print_standard_redirect('redirect_postthanks'));
exit();
}
}
That will add them to Membergroupids 12 only if they type in ANSWER or answer in the form.
Thanks again for your help!