Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Register for 3.5.x Details »»
Quick Register for 3.5.x
Version: 1.04, by RDX1 RDX1 is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-30-2006 Last Update: Never Installs: 48
Template Edits
 
No support by the author.

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>&nbsp;
     <input type="submit" class="button" value="Submit" accesskey="s" />
     </span></form>
        </div></td>
</tr>
</thead>
</table><br></if>
<!-- End Quick Register -->
FOR USE WITH 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" />
     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> &nbsp;
<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> &nbsp;
<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>&nbsp;
     <input type="submit" class="button" value="Submit" accesskey="s" />
     </span></form>
        </div></td>
</tr>
</thead>
</table><br></if>
<!-- End Quick Register -->
Screenshot of output below.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 04-02-2006, 01:51 AM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baerwurz
I have a bug.

If i am as Guest on my Board and want to send my password to my email account, thhere comes this message:

Please fill out the 2 fields for Password!
This is a registration template hack, you will need to use the proper lost password form to get our password.

Quote:
Originally Posted by Exitilus
Doesn't work at all for me. Just goes to a blank page (register.php) and nothing happens (no registration).
I'll need some more information then that.
Reply With Quote
  #33  
Old 04-02-2006, 04:12 AM
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Location: Spokane, WA
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #34  
Old 04-02-2006, 05:06 AM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find

Code:
<form action="register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
Change to:

Code:
<form action="path/to/your/forum/register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
Change path/to/your/forum/ to http://www.yoursite.com/forum/path/register.php

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.
Reply With Quote
  #35  
Old 04-02-2006, 05:28 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can ya reply to my questiong about the image thingy?
Reply With Quote
  #36  
Old 04-02-2006, 06:37 AM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiry Kin's
can ya reply to my questiong about the image thingy?
I did.
https://vborg.vbsupport.ru/showpost....9&postcount=30
Reply With Quote
  #37  
Old 04-02-2006, 07:04 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RDX1
oh cheers dude, if u do add it later, be sure to send out an email

i don't have a clue how to get the info :S
Reply With Quote
  #38  
Old 04-02-2006, 07:21 AM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #39  
Old 04-02-2006, 08:17 PM
curtisstanier curtisstanier is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 04-02-2006, 08:55 PM
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Location: Spokane, WA
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by curtisstanier
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
Tried the new code Still doesn't work (exact same issue) . Just goes to the blank page w/ no Registration
Reply With Quote
  #41  
Old 04-02-2006, 09:55 PM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04809 seconds
  • Memory Usage 2,327KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete