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 |
#32
|
|||
|
|||
Quote:
Quote:
|
#33
|
|||
|
|||
Fill out all the fields.
Hit Submit Screen Goes blank and the location bar at the top says http://URL/register.php (url meaning the URL of my site) The registration never happens. I'm using the one that includes the Birthdate |
#34
|
|||
|
|||
Find
Code:
<form action="register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);"> Code:
<form action="path/to/your/forum/register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);"> I'm going to change it so it includes yoru site path automatically for no more confusion. Edit: Try the new code, not idea why I didn't think of this before. I changed the paths to $vboptions[bburl]/ so it automatically checks the forum path, no editing required. |
#35
|
||||
|
||||
can ya reply to my questiong about the image thingy?
|
#36
|
|||
|
|||
Quote:
https://vborg.vbsupport.ru/showpost....9&postcount=30 |
#37
|
||||
|
||||
Quote:
i don't have a clue how to get the info :S |
#38
|
|||
|
|||
Just look in the registration templates. Only concern I have is 1) It's too big to fit in the quick reg box and 2) My main concern is that CAPTCHA is not a template mod, but built into register.php itself.
We'll see tomorrow... |
#39
|
|||
|
|||
I have a similar problem as Exitilus. Blank page after you click submit. I have tried the original code from the top of the page, and the bit you told him to change and it still wont work. Great Mod though
|
#40
|
|||
|
|||
Quote:
|
#41
|
|||
|
|||
Are you both sure that image verification is turned off and you have no other required fields? Other people say it works fine and it works fine on my site too.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|