The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Register for 3.5.x Details »» | |||||||||||||||||||||||||
Click here for the new PLUGIN version of Quick Register The plugin version is the only updated version, which includes many more features such as image verification and welcome messages! Description: This small template mod will allow you to set up a quick registration feature on your forums. It will show under the navbar on every page. Requirements: No required profile fields, you would have to add them yourself. No birthday required. (I have modified to add this to my forum, I can release if needed) Can not use CAPTCHA Support: This modifcation comes as-is with limited support. If I have time I will look into your support request in this thread. Installation: Log into your admin control panel -> Styles & Templates -> Choose your style and click on < > to expand the templates -> Click Navigation/Breadcrumb Templates > Click on navabar: Add this to the end of the template, save and exit. FOR USE WITHOU A BIRTHDAY: Code:
<!-- Start Quick Register --><if condition="$show['guest']"><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="6"><div align="center"><b>Quick Register</b></div></td> </tr> <tr> <td class="alt1" colspan="6"> <div align="center"> <span class="smallfont"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_md5.js"></script> <script type="text/javascript"> function verify_passwords(password1, password2) { // do various checks, this will save people noticing mistakes on next page if (password1.value == '' || password2.value == '') { alert('Fill out both password fields'); return false; } else if (password1.value != password2.value) { alert('Entered passwords do not match'); return false; } else { md5hash(password1, document.forms.register.password_md5); md5hash(password2, document.forms.register.passwordconfirm_md5); return true; } return false; } </script> <form action="$vboptions[bburl]/register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);"> <input type="hidden" name="s" value="" /> <input type="hidden" name="do" value="addmember" /> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="agree" value="" /> <input type="hidden" name="password_md5" /> <input type="hidden" name="passwordconfirm_md5" /> User Name: <input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" /> Password: <input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" /> Confirm Password: <input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" /> Email: <input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" /> Confirm Email: <input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /> <br><input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>Check to Agree with <a href="$vboptions[bburl]/register.php?">forum rules</a></strong> <input type="submit" class="button" value="Submit" accesskey="s" /> </span></form> </div></td> </tr> </thead> </table><br></if> <!-- End Quick Register --> Code:
<!-- Start Quick Register --><if condition="$show['guest']"><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="6"><div align="center"><b>Quick Register</b></div></td> </tr> <tr> <td class="alt1" colspan="6"> <div align="center"> <span class="smallfont"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_md5.js"></script> <script type="text/javascript"> function verify_passwords(password1, password2) { // do various checks, this will save people noticing mistakes on next page if (password1.value == '' || password2.value == '') { alert('Fill out both password fields'); return false; } else if (password1.value != password2.value) { alert('Entered passwords do not match'); return false; } else { md5hash(password1, document.forms.register.password_md5); md5hash(password2, document.forms.register.passwordconfirm_md5); return true; } return false; } </script> <form action="$vboptions[bburl]/register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);"> <input type="hidden" name="s" value="" /> <input type="hidden" name="do" value="addmember" /> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="agree" value="" /> <input type="hidden" name="password_md5" /> <input type="hidden" name="passwordconfirm_md5" /> Username: <input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" /> Password: <input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" /> Confirm Password: <input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" /> Email: <input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" /> Confirm Email: <input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /><br> Birthday: <select name="month" id="bd_month"style="width:70px" /> <option value="-1" >Month</option> <option value="01" >January</option> <option value="02" >February</option> <option value="03" >March</option> <option value="04" >April</option> <option value="05" >May</option> <option value="06" >June</option> <option value="07" >July</option> <option value="08" >August</option> <option value="09" >September</option> <option value="10" >October</option> <option value="11" >November</option> <option value="12" >December</option> </select> <select name="day" id="bd_day"style="width:70px" /> <option value="-1" >Day</option> <option value="01" >1</option> <option value="02" >2</option> <option value="03" >3</option> <option value="04" >4</option> <option value="05" >5</option> <option value="06" >6</option> <option value="07" >7</option> <option value="08" >8</option> <option value="09" >9</option> <option value="10" >10</option> <option value="11" >11</option> <option value="12" >12</option> <option value="13" >13</option> <option value="14" >14</option> <option value="15" >15</option> <option value="16" >16</option> <option value="17" >17</option> <option value="18" >18</option> <option value="19" >19</option> <option value="20" >20</option> <option value="21" >21</option> <option value="22" >22</option> <option value="23" >23</option> <option value="24" >24</option> <option value="25" >25</option> <option value="26" >26</option> <option value="27" >27</option> <option value="28" >28</option> <option value="29" >29</option> <option value="30" >30</option> <option value="31" >31</option> </select> <input type="text" class="bginput" name="year" onFocus="value=''" value="Year" size="4" maxlength="4" id="bd_year" style="width:70px" /> <input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>Check to Agree with <a href="$vboptions[bburl]/register.php?">forum rules</a></strong> <input type="submit" class="button" value="Submit" accesskey="s" /> </span></form> </div></td> </tr> </thead> </table><br></if> <!-- End Quick Register --> Show Your Support
|
Comments |
#42
|
|||
|
|||
Ahh Image Verification has to be turned off? *Smacks forhead* Guess I missed reading that .....
Unfortunately I need it |
#43
|
|||
|
|||
The register image should be able to be included looking at the register template. I'll see if it works later.
I've done a small code change and upgraded the script to 1.04 |
#44
|
||||
|
||||
anyone able to integrate this addon with [AJAX] Live Feedback System: Registration ?
|
#45
|
|||
|
|||
What do you mean?
|
#46
|
||||
|
||||
Quote:
|
#47
|
|||
|
|||
Quote:
|
#48
|
|||
|
|||
Quote:
Quote:
^^ Happens for me too. And when you go to the original register page to register the slow way, you click the I agree box to proceed to the next step of registerin and it tells you to fill out both fields. Because of the quick register above it I assume. Anyway i had to disable it. great mod tho. |
#49
|
|||
|
|||
Try the new code, for some reason </form> wasn't added to the end of the code.
|
#50
|
|||
|
|||
nice hack! if you can get it to work with the image verification, I'll be all over it
|
#51
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|