Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Jul 2006, 20:52
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Real name: Nick
Add to Secondary Usergroup if answer is correct

I'm using the Form Hack 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.

Last edited by Sarcoth; 07 Nov 2006 at 15:25. Reason: Automerged Doublepost
Reply With Quote
  #2  
Old 17 Aug 2006, 02:01
makaiguy's Avatar
makaiguy makaiguy is offline
 
Join Date: May 2004
You may be able to glean some useful code from:
http://www.vbulletin.org/forum/showthread.php?t=111870
Reply With Quote
  #3  
Old 17 Sep 2006, 04:11
mutawa mutawa is offline
 
Join Date: Jul 2004
Thank you for the nice mod
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:41.

Layout Options | Width: Wide Color: