PDA

View Full Version : Add to Secondary Usergroup if answer is correct


Sarcoth
07-27-2006, 06:52 PM
I'm using the Form Hack (https://vborg.vbsupport.ru/showthread.php?t=93970) written by Abe1.

I've set up a form to ask the user one question. If they answer correctly, they'll be added to the Secondary Usergroup #12 and then be redirected to another page. If they answer incorrectly, they will be redirected back to the same page and can try to answer again.

So far, I have the form redirecting the user to the correct page depending on their answer, but I have failed on figuring out the code to get them added to a secondary usergroup.

If anyone has any idea on how to do that, please let me know.

Thank you.

makaiguy
08-17-2006, 12:01 AM
You may be able to glean some useful code from:
https://vborg.vbsupport.ru/showthread.php?t=111870

mutawa
09-17-2006, 02:11 AM
Thank you for the nice mod