Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Popup Quick Register Details »»
Popup Quick Register
Version: 1.00, by RTMdotORG RTMdotORG is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 11-13-2009 Last Update: Never Installs: 11
Uses Plugins Template Edits
 
No support by the author.

Popup Quick Register
I myself take no credit for designing this Add-On.
I only edited both mods to make one.

I would expect this to be a popular add-on, so i'm helping out.

Credit goes to Gio~Logist from this thread: https://vborg.vbsupport.ru/showthrea...t=quick+thread

and ry215 from this thread: https://vborg.vbsupport.ru/showthrea...quick+register

YOU MUST HAVE BOTH OF THE ABOVE MODS INSTALLED FOR THIS TO WORK.

What does this do?
This changes your Register button on your navbar to a pop-up which shows the quick register with human verification. I've tested fully on 3.8.4 and I have not come across any errors.

LIVE DEMO: www.ripthemic.org/forums


Installation Instructions:
1. Make sure you have both of the Mods above installed.
2. Go to Styles & Templates in your AdminCP > Style Manager > Select which skin you would like to edit > Navigation / Breadcrumbs Templates > Navbar.

Find:
Code:
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
Replace with:
Code:
<if condition="$show['registerbutton']"><td class="vbmenu_control"><div style="margin-bottom:2px;"><a href="#quickthread" id="quickthread" class="smallfont">Register</a> <script type="text/javascript"> vbmenu_register("quickthread"); </script></div>

	 <div id="quickthread_menu" style="display:none"> 


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="500" align="center">

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">	

		
		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>
			
		<!-- message area -->
		<if condition="$vboptions['quickregister_active'] AND $show['guest']">
<!-- Start Quick Register by +++++++.com -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickregister')"><img id="collapseimg_quickregister" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickregister].gif" alt="" border="0" /></a>
<strong>$vbphrase[quickregister_quickregister]</strong>
</td>
</tr>
</thead>
<tbody id="collapseobj_quickregister" style="$vbcollapse[collapseobj_quickregister]">
<tr>
<td class="alt1" align="center">
<span class="smallfont"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_md5.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></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('$vbphrase[fill_out_both_password_fields]');
		return false;
	}
	else if (password1.value != password2.value)
	{
		alert('$vbphrase[entered_passwords_do_not_match]');
		return false;
	}
	else
	{
		<if condition="$show['coppa']">
		pass_copy = password1.value;
		passconfirm_copy = password2.value;
		</if>

		var junk_output;

		md5hash(password1, document.forms.register.password_md5, junk_output, $show[nopasswordempty]);
		md5hash(password2, document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]);

		<if condition="$show['coppa']">
		document.forms.register.password.value = pass_copy;
		document.forms.register.passwordconfirm.value = passconfirm_copy;
		</if>

		return true;
	}
	return false;
}
</script>

<form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="agree" value="$agree" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
	 <if condition="$vboptions['quickregister_welcomemsg']">
     $vboptions[quickregister_welcomemsgtext]<br><br>
	 </if>
     $vbphrase[quickregister_username]
     <input type="text" class="bginput" name="username" maxlength="$vboptions[maxuserlength]" value="$username" style="width:70px" />
     $vbphrase[quickregister_password]
     <input type="password" class="bginput" name="password" size="25" maxlength="50" value="$password" style="width:70px" />
     $vbphrase[quickregister_confirmpassword]
     <input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="50" value="$passwordconfirm" style="width:70px" />
     $vbphrase[quickregister_email]
     <input type="text" class="bginput" name="email" size="25" maxlength="50" value="$email" dir="ltr" style="width:70px" />
     $vbphrase[quickregister_confirmemail]
     <input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50" value="$emailconfirm" dir="ltr" style="width:70px" /><br>
	 <if condition="$vboptions['quickregister_dob']">
	 $vbphrase[quickregister_birthday]
	 <select name="month" id="bd_month" style="width:70px" />
								<option value="-1">$vbphrase[quickregister_bdmonth]</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" >$vbphrase[quickregister_bdday]</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="$vbphrase[quickregister_bdyear]" size="4" maxlength="4" id="bd_year" style="width:50px" /></if>
<if condition="$vboptions['quickregister_huver'] AND $vboptions['hv_type'] AND $vboptions['regimagetype']">
  &nbsp; $human_verify
</if>
<input type="submit" class="button" value="$vbphrase[quickregister_submit]" accesskey="s" />&nbsp;
<input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>$vbphrase[quickregister_agree] <a href="$vboptions[bburl]/register.php?" target="_blank">$vbphrase[quickregister_forumrules]</a></strong>&nbsp;     
</form>
</span></td>
</tr>
</tbody>
</table>
<!-- End Quick Register by +++++++.com --></if>



		<!-- / message area -->
		
			</td>
		</tr>
		</table>
		
		</div>
	</div>
			

	</td>
</tr>
</table>
</form>
</div></td></td></if>

ALL DONE. ENJOY!

UPDATED: If you do not want to use the quick thread MOD, you should go to edit templates, and delete the entire contents of quick thread template. Then go to Plugin Manager and scroll down to quick thread and disable:
Code:
Extra Threadfields Integration
and
Code:
Quick Thread Template
If not, the quick thread mod will be active....

Download Now

File Type: txt Popup Quick Register Installation Instruction.txt (7.5 KB, 101 views)

Show Your Support

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

Comments
  #12  
Old 11-15-2009, 09:23 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this an addon? Or a temp?
Reply With Quote
  #13  
Old 11-15-2009, 07:31 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YISRAEL View Post
It does not work properly
how does it not work properly?
Reply With Quote
  #14  
Old 11-15-2009, 07:33 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
Is this an addon? Or a temp?
well it uses addons and its a template mod to the addons...
Reply With Quote
  #15  
Old 02-14-2010, 04:10 PM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like this mod, but why should I need to install other pointless mods that I don't need to use this?
Reply With Quote
Reply

Thread Tools

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 12:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07236 seconds
  • Memory Usage 2,284KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete