The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
|||
|
|||
Ok, I have the popup working perfectly. It is adding the user to the database and everything. However, when you fill out the fields and click submit nothing happens. How do I make the page forward you to a thank you screen or back to the forums so they know they have registered successfully? Here is my file.php file
<html> <title>Welcome to sportcompactracing.com - register today</title> <head> <STYLE type=text/css> .nf { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt } .sf { font-family: verdana,arial,helvetica,sans-serif; font-size: 8pt; color: #ffffff; } </style> </head> <body bgcolor="#000000"> <!-- content table --> <font class="sf">Registration is required if you want to post messages on sportcompactracing.com</font> <table bgcolor="#000000" width="100%" cellpadding="10" cellspacing="0" border="0"><tr><td> <form action="http://www.sportcompactracing.com/vbulletin/register.php" method="post"> <input type="hidden" name="s" value=""> <table border="0" cellspacing="1" cellpadding="4" width="100%" bgcolor="#555576"> <!-- *** --> <tr> <td bgcolor="#0000ee" colspan="2"><font face="verdana" size="2" color="#ffffff" class="thtcolor"><b>Registration</b></font> <font face="verdana" size="1" color="#ffffff" class="thtcolor">(*) fields are required. Please note that passwords are case sensitive.</font></td> </tr> <!-- *** --> <tr> <td bgcolor="#AAAAE6"><font class="nf"><b>*User Name:</b></font></td> <td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="username" size="25" maxlength="15"></font></td> </tr> <tr> <td bgcolor="#C3C3EB"><font class="nf"><b>*Password:</b></font></td> <td bgcolor="#C3C3EB"><font class="nf"><input type="password" name="password" size="25" maxlength="15"></font></td> </tr> <tr> <td bgcolor="#C3C3EB"><font class="nf"><b>*Enter Password Again:</b></font></td> <td bgcolor="#C3C3EB"><input type="password" name="passwordconfirm" size="25" maxlength="15"></td> </tr> <tr> <td bgcolor="#AAAAE6"><font class="nf"><b>*Email:</b></font><br> <font color="#000000" face="verdana" size="1">Please enter a <b>valid</b> email address.</font></td> <td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="email" size="25" maxlength="50"></font></td> </tr> <tr> <td bgcolor="#AAAAE6"><font class="nf"><b>*Enter Email Again:</b></font></td> <td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="emailconfirm" size="25" maxlength="50"></font></td> </tr> <tr><td bgcolor="#113274"> </td><td bgcolor="#113274"><input type="hidden" name="allowmail" value="yes"> <input type="hidden" name="invisible" value="no"> <input type="hidden" name="showemail" value="yes"> <input type="hidden" name="cookieuser" value="yes"> <input type="hidden" name="nosessionhash" value="yes"> <input type="hidden" name="emailonpm" value="yes"> <input type="hidden" name="prunedays" value="-1"> <input type="hidden" name="umaxposts" value="-1"> <input type="hidden" name="startofweek" value="1"> <input type="hidden" name="timezoneoffset" value="-5"> <input type="hidden" name="emailnotification" value="yes"> <input type="hidden" name="showsignatures" value="yes"> <input type="hidden" name="showavatars" value="yes"> <input type="hidden" name="showimages" value="yes"> <input type="hidden" name="vbcode" value="yes"> <input type="hidden" name="pmpopup" value="yes"> <input type="hidden" name="receivepm" value="yes"> <input type="hidden" name="url" value="http://www.sportcompactracing.com/vbulletin/thankyou.html"> <input type="hidden" name="action" value="addmember"> <input type="submit" name="Submit" value="Submit"> <input type="reset" name="Reset" value="Reset"></td> </tr></font> </td></tr></table> </form> <font class="sf">By pressing the registration button above you declare that you have read and agree with the <a href="/" target="blank">Community Guidelines</a></font> <!-- End content area table --> </td></tr></table> </body> </html> |
#32
|
||||
|
||||
you could also try my vbPopup hack and insert in the template there only the username password and email. keep the rest of inputs hidden. alot faster and i would say more elegant? is up to you to judge.
regards, nakkid. |
#33
|
||||
|
||||
Ok as an extension of this I want to make the location a required feild - if I do this then the quick regstration from above will no longer work - what do I need to add to it to make it also submit the location??
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|