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

Reply
 
Thread Tools
Quick Registration Details »»
Quick Registration
Version: 1.00, by Sulaiti Sulaiti is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Version: 3.0.x Rating:
Released: 01-16-2005 Last Update: Never Installs: 19
Template Edits
 
No support by the author.

What does this hack do?
  • It allows people to register at your forum as quick registration.
  • It provides a much quick method of registration, compared to the usual way
  • Only Guests can see this registration form.
  • Horizontal and vertical

Bugs
Found a bug? Please reply back and let me know!

Instructions
Please be sure to place the attached contain code wherever you want the quick registration form to show up.






Regards,

Show Your Support

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

Comments
  #32  
Old 12-01-2005, 12:48 PM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same problem here with 3.5.1

Redirects to a blank page tha points to register.php
Reply With Quote
  #33  
Old 12-01-2005, 01:18 PM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, i found something!
The horizontal doesnt work and the vertical is woriking!

I dont know why though...

I have a problem with age, How can I make age optional?
Reply With Quote
  #34  
Old 12-08-2005, 04:17 AM
BlackHawk1994 BlackHawk1994 is offline
 
Join Date: Nov 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting the same problem with the horizontal too. Also, when trying to enter the U/P in the login boxes it says fill in both password boxes.

Just tried vertical.. same thing.

Lexx, did you put the vertical somewhere different in the layout?
Reply With Quote
  #35  
Old 12-08-2005, 11:40 AM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well for some reason vertical was working to me but I needed horizontal for my site. It was very strange because sometimes it worked and sometimes it didnt. I tried to copy the code from other's sites with 3.5.1 with not any result. I did some changes and finally made it work. Here is the code:

Code:
<!-- / Quick Register Box -->

<thead>
<tr>
<td class="tcat" colspan="6"><div align="center">Quick 
		 Register </div></td>
</tr>
<tr>
 
	 <td class="alt1" colspan="6"> <div align="center">
	<span class="smallfont"><script type="text/javascript" src="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="register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);"> 
<input name="s" value="" type="hidden">

<input name="do" value="addmember" type="hidden">
<input name="url" value="index.php" type="hidden">
<input name="agree" value="" type="hidden">
<input name="password_md5" type="hidden">
<input name="passwordconfirm_md5" type="hidden"> 
	 User Name: 
	 <input class="bginput" name="username" maxlength="15" value="" style="width: 70px;" type="text">
	 Password: 
	 <input class="bginput" name="password" maxlength="15" value="" style="width: 70px;" type="password">
	 Confirm Password 
	 <input class="bginput" name="passwordconfirm" maxlength="15" value="" style="width: 70px;" type="password">
	 Email 
	 <input class="bginput" name="email" maxlength="50" value="" style="width: 70px;" type="text">
	 Confirm Email 
	 <input class="bginput" name="emailconfirm" maxlength="50" value="" style="width: 70px;" type="text">

	 <br><input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>Check to Agree with <a href="register.php?">forum 
rules </a></strong><br>
	 <input class="button" value="Submit" accesskey="s" type="submit">
	 </form></span>
		</div></td>
</tr>
</thead>
</table>


<!-- / Quick Register Box -->
Reply With Quote
  #36  
Old 12-08-2005, 10:43 PM
BlackHawk1994 BlackHawk1994 is offline
 
Join Date: Nov 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I get this to only show up for unregistered users?
Reply With Quote
  #37  
Old 12-08-2005, 11:27 PM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just put <if condition="$show['guest']"> ...code... </if>
Reply With Quote
  #38  
Old 12-09-2005, 03:31 AM
BlackHawk1994 BlackHawk1994 is offline
 
Join Date: Nov 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks lexx, everything is working!
Reply With Quote
  #39  
Old 12-09-2005, 10:06 AM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Welcome
Reply With Quote
  #40  
Old 01-19-2006, 08:03 PM
fyjpm's Avatar
fyjpm fyjpm is offline
 
Join Date: Oct 2005
Location: Buffalo, NY
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone help me get image verification working on this? Here's what I have so far:

you need to add the following code to index.php
Code:
require_once(DIR . '/includes/functions_regimage.php');
$imagehash = fetch_regimage_hash();
then this should display the image on the template page you want the quick registration to display on:
Code:
<img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61"  border="0" />
then you would just need this text box below the image for the person to fill in:
Code:
<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" /><input type="hidden" name="imagehash" value="$imagehash" />
the problem I've come across is that I'm unable to get the proper image to display because the $imagehash variable seems to be unavailable on the homepage template (I'm using vBA CMPS for my homepage - but that shouldn't matter).

Can anyone help me get this done?

Thanks you in advance,

John
Reply With Quote
  #41  
Old 01-28-2006, 05:04 AM
Spencer F. Spencer F. is offline
 
Join Date: Dec 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work for 3.5.3?
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 01:58 PM.


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.04614 seconds
  • Memory Usage 2,311KB
  • 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
  • (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
  • (3)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