The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
|||
|
|||
The basics (no code)
1. Take the "registration" part of member.php and put it into its own file i.e. register.php 2. Remove the templates in it. 3. Add a variable (i.e. $redirect) to the form so that you can use it. They can put this as a hidden form field and it should contain the page of their thank you page. 4. Instead of calling standard_redirect template after you do the insert, use Header(location:$redirect) to redirect them back to the proper place. if you need the exact code, let me know. |
#3
|
|||
|
|||
i am slightly confused, i get the bit about the register part of member.php but not how it would work.
someone goes to my friend's site and submits say username, password and email. There script deals with the stuff in whatever way it does. but then how do i get that information into my database as well? do you mean they should get their script to send to my script instead of a thank you page with the info along with it? (how would this work in the form of signup.php?name=sfsdf&password=sdfdsfsdf&emailnoti fication=y etc? it is that bit i don't really know how to do, how to get a form submitted to one script and then that script submit a form automatically to another. |
#4
|
|||
|
|||
<a href="http://tech.irt.org/articles/js063/index.htm#4" target="_blank">http://tech.irt.org/articles/js063/index.htm#4</a>
Passing data from one form to another |
#5
|
|||
|
|||
don't think this is really what we want,
this appears to be just work like a hidden form field in a php script but instead using javascript. I want to submit the results of 1 form to 2 different scripts. this just passes form to form.. aka hidden values. |
#6
|
|||
|
|||
Did you ever get this to work?
I would like to have a more complex membership app which not only updates the "home" database, but then also automatically registers them as a user in my same site's forum. |
#7
|
|||
|
|||
I would be very interested in this as well!
|
#8
|
|||
|
|||
im working on something very similar for my site, and here is what i've pieced together..
register.php PHP Code:
Code:
<html> <head> <title>Register</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#000000" text="#FFFFFF"><FORM METHOD=POST ACTION="register.php"><table border=0 cellspacing=1 cellpadding=4 width="100%"> <tr bgcolor="#333366"> <td colspan=2> <FONT face="verdana, arial, helvetica, sans-serif" size="2" color="#99cccc" class=thtcolor><b>Registration: Required Information </b></font><FONT face="verdana, arial, helvetica, sans-serif" size="1" color="#99cccc" class=thtcolor>All fields are required. Please note that passwords are case sensitive.</font></td> </tr> <tr bgcolor="#000033"> <TD><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>User Name:</B></font></TD> <TD><INPUT TYPE="TEXT" NAME="username" SIZE=25 MAXLENGTH=25> </TD> </TR> <TR bgcolor="#111144"> <TD><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>Password:</B></font></TD> <TD><INPUT TYPE="PASSWORD" NAME="password" SIZE=25 MAXLENGTH=15> </TD></TR> <TR bgcolor="#000033"> <TD><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>Email:</B></font><br> <FONT face="verdana, arial, helvetica, sans-serif" size="1" >Please enter a valid email address. You can choose to hide it below in the preferences section.</font></TD> <TD><INPUT TYPE="TEXT" NAME="email" SIZE=25 MAXLENGTH=50> </TD> </TR> <tr bgcolor="#333366"> <td colspan=2> <FONT face="verdana, arial, helvetica, sans-serif" size="2" color="#99cccc" class=thtcolor><b>Optional Information </b></font><FONT face="verdana, arial, helvetica, sans-serif" size="1" color="#99cccc" class=thtcolor>All information will be viewable by other Tribalwar Forums members.</font> </td></tr> <TR bgcolor="#111144"> <TD><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>Homepage:</B></font></TD> <TD><INPUT TYPE="TEXT" NAME="homepage" VALUE="http://" SIZE=25 MAXLENGTH=100> </TD></tr> <TR bgcolor="#000033"> <TD><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>ICQ Number:</B></font></TD> <TD><INPUT TYPE="TEXT" NAME="icq" SIZE=25 MAXLENGTH=20> </TD></tr> <tr bgcolor="#111144"> <td> <B><FONT face="verdana, arial, helvetica, sans-serif" size="2" >AOL Instant Messenger Handle:</font></B> </td> <td> <INPUT TYPE="TEXT" NAME="aim" SIZE=25 MAXLENGTH=20> </td></tr> <tr bgcolor="#000033"> <td> <B><FONT face="verdana, arial, helvetica, sans-serif" size="2" >Yahoo Messenger Handle:</font></B> </td> <td> <INPUT TYPE="TEXT" NAME="yahoo" SIZE=25 MAXLENGTH=20> </td></tr> <tr bgcolor="#333366"> <td colspan=2> <FONT face="verdana, arial, helvetica, sans-serif" size="2" color="#99cccc"><b>Preferences</b></font></td> </tr> <TR bgcolor="#111144"> <TD><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>Allow Bulletin Board Administrators and Moderators To Send You Email Notices?</B></font></TD> <TD><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><INPUT TYPE="RADIO" NAME="allowmail" VALUE="yes" CHECKED> yes <INPUT TYPE="RADIO" NAME="allowmail" VALUE="no"> no</font> </TD></tr> <tr bgcolor="#000033"> <TD valign=top><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>Invisible Mode:</b><br> <FONT face="verdana, arial, helvetica, sans-serif" size="1" >Selecting yes allows you to surf the forums without appearing in the 'Logged In Users' list.</font> </font></TD> <TD valign=top><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><INPUT TYPE="RADIO" NAME="invisible" VALUE="yes" > yes <INPUT TYPE="RADIO" NAME="invisible" VALUE="no" checked> no</font></TD> </TR> <tr bgcolor="#111144"> <TD valign=top><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><B>Hide Email Address:</b><br> <FONT face="verdana, arial, helvetica, sans-serif" size="1" >Clicking yes hides your email address in your public profile, so that it is not accessible by other users.</font> </font></TD> <TD valign=top><FONT face="verdana, arial, helvetica, sans-serif" size="2" ><INPUT TYPE="RADIO" NAME="showemail" VALUE="no" > yes <INPUT TYPE="RADIO" NAME="showemail" VALUE="yes" checked> no</font></TD> </TR> </TABLE> <p align="center"> <INPUT TYPE="HIDDEN" NAME="action" VALUE="addmember"> <INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit"> <INPUT TYPE="RESET" NAME="Reset" VALUE="Reset"> </p> </form> </body> </html> |
#9
|
|||
|
|||
Awesome, thank you so much. Since I'm no pro, I'll need a few days to check it out. Wish me luck!!
Thanks again, |
#10
|
|||
|
|||
cool, thanks, that is great.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|