Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Reply
 
Thread Tools
Quick Registration Hack Details »»
Quick Registration Hack
Version: 1.00, by The_Cyberdemon The_Cyberdemon is offline
Developer Last Online: Feb 2006 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-30-2003 Last Update: Never Installs: 34
Is in Beta Stage  
No support by the author.

Well, here's my first, not-too-great hack. I might add stuff to it or something (tell me what i should add), but this is what i have so far.

Basically, when you register, it gives you the choice of either Registering or "quick registering". The Quick register thing has only the required fields, while the other register has all the extra fields. It's pretty pointless, but i've heard from some people that they really hate putting in all that stuff. So, i'll go ahead and post that, here are the directions:

<// - QUICK REGISTRATION INSTRUCTIONS - \\>
Files to Edit: 0
Files to Upload: 1
Templates to Edit: 1
Templates to Add: 1


o---||STEP 1||---o
Open up the attached zip file and upload the file named "quickreg.php" to your vbulletin root directory, NOT THE PORTAL DIRECTORY.
o---||STEP 2||---o
Go to your administration panel, click on templates, the style set you want it on, then do "add custom template."
//--NEW TEMPLATE SPECIFICATIONS--\\
Template Name: quickreg
Template Set: Set: The one you are on
Template:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$bbtitle Registration</title>
$headinclude
</head>
<body>

$header

<br>
<table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
<tr>
	<td><normalfont>In order to be able to post messages on the $bbtitle forums, you must first register.</normalfont></td>
</tr>
</table>

<br>

<form action="register.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E"  width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<!-- *** -->
<tr>
	<td bgcolor="#1D6AA0" colspan="2"><normalfont color="#EEEEFF" class="thtcolor"><b>Quick Registration Info</b></normalfont>
	<smallfont color="#EEEEFF" class="thtcolor">All fields are required.  Please note that passwords are case sensitive.</smallfont></td>
</tr>
<!-- *** -->
<tr>
	<td bgcolor="#1C5780"><normalfont><b>User Name:</b></normalfont></td>
	<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="username" size="25" maxlength="$maxuserlength"></normalfont></td>
</tr>
<tr>
	<td bgcolor="#13486D"><normalfont><b>Password:</b></normalfont></td>
	<td bgcolor="#13486D"><normalfont><input type="password" class="bginput" name="password" size="25" maxlength="15"></normalfont></td>
</tr>
<tr>
	<td bgcolor="#13486D"><normalfont><b>Enter Password Again:</b></normalfont></td>
	<td bgcolor="#13486D"><input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="15"></td>
</tr>
<tr>
	<td bgcolor="#1C5780"><normalfont><b>Email:</b></normalfont><br>
	<smallfont>Please enter a valid email address. You can choose to hide it below in the preferences section.</smallfont></td>
	<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="email" size="25" maxlength="50"></normalfont></td>
</tr>
<tr>
	<td bgcolor="#1C5780"><normalfont><b>Enter Email Again:</b></normalfont></td>
	<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50"></normalfont></td>
</tr>
<!-- *** -->
$imageregbit
<!-- *** -->
$customfields_required
<!-- *** -->
</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
<tr>
	<td align="center"><normalfont>
	<input type="hidden" name="url" value="$url">
	<input type="hidden" name="action" value="addmember">
	<input type="submit" class="bginput" name="Submit" value="Submit">
	<input type="reset" class="bginput" name="Reset" value="Reset">
	</normalfont></td>
</tr>
</table>

</form>

$footer

<script language="Javascript">
<!--
  if (document.images.avatarpic != null) {
    document.images.avatarpic.src = document.forms[0].avatarsel[document.forms[0].avatarsel.selectedIndex].value;
  }
// -->
</script>

</body>
</html>
\\--END NEW TEMPLATE--//
o--||STEP 3||--o
Go to templates -> (your template set) -> Show Thread Templates -> signupadult.
o------------------o
---->FIND ((NEAR THE BOTTOM))<----
Code:
<p align="center"><normalfont>
	<input type="hidden" name="url" value="$url">
	<input type="submit" class="bginput" value="Register">
	</normalfont></p>
	</form>
---->ADD BELOW THIS<----

Code:
                <form action="quickreg.php" method="get">
                <p align="center"><normalfont>
	<input type="hidden" name="$quickphp" value="$quickphp">
	<input type="submit" class="bginput" value="Quick Register">
	</normalfont></p></form>
o------------------o
o---||STEP 4||---o
Uhh, that's the end.
<\\ - END QUICK REGISTRATION INSTRUCTIONS - //>

Well, i hope i didn't forget any steps, i am forgetful.

Please, help me out by commenting on this hack. Constructive and Hateful comments are welcome.

umm, live demo:
//Registration main\\
//Quick Registration Area\\

have fun with this hack!

Show Your Support

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

Comments
  #42  
Old 03-08-2004, 08:42 PM
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work on a non-vb page?
Reply With Quote
  #43  
Old 03-21-2004, 12:21 PM
The_Cyberdemon The_Cyberdemon is offline
 
Join Date: Mar 2003
Location: VA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, look:
I made this hack (it's not even really a hack) about a year ago. I didn't know what i was doing or anything. I can't guarantee that anything will work the way you want. If something is wrong, just uninstall it. Sorry if i messed anything up.
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 03:26 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.04078 seconds
  • Memory Usage 2,218KB
  • Queries Executed 17 (?)
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
  • (3)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
  • (2)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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