Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 03-31-2003, 08:52 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erm, this has already been done by FireFly...
Reply With Quote
  #3  
Old 03-31-2003, 08:56 PM
The_Cyberdemon The_Cyberdemon is offline
 
Join Date: Mar 2003
Location: VA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 10:52 PM GamerForums said this in Post #2
Erm, this has already been done by FireFly...
I think this is different. I've seen a few different kinds. Can i have a link to the old one?
Reply With Quote
  #4  
Old 03-31-2003, 11:23 PM
Bane's Avatar
Bane Bane is offline
 
Join Date: Oct 2001
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont think chens had the ability for a user to select, but rather for the admin to.
Reply With Quote
  #5  
Old 03-31-2003, 11:26 PM
The_Cyberdemon The_Cyberdemon is offline
 
Join Date: Mar 2003
Location: VA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, and here's the text file
Reply With Quote
  #6  
Old 03-31-2003, 11:28 PM
The_Cyberdemon The_Cyberdemon is offline
 
Join Date: Mar 2003
Location: VA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is that good or bad?
/me laughs
Reply With Quote
  #7  
Old 04-01-2003, 09:29 AM
Poggyuk's Avatar
Poggyuk Poggyuk is offline
 
Join Date: Sep 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!

I was just wondering if it'd be possible to make it like vB3? (The check boxes)? (I'd do it myself, but i'm crap at hacking & keep messing up)
Reply With Quote
  #8  
Old 04-01-2003, 01:28 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah right, I see the difference now...
Reply With Quote
  #9  
Old 04-01-2003, 05:01 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This also is compatible with the new image verification system introduced by Jelsoft by the looks of things too.. Just a tip - post a screenshot

- miSt
Reply With Quote
  #10  
Old 04-01-2003, 07:41 PM
The_Cyberdemon The_Cyberdemon is offline
 
Join Date: Mar 2003
Location: VA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay:

Quote:
This also is compatible with the new image verification system introduced by Jelsoft by the looks of things too
The nice part of this is, it does not edit any of the current files. It only adds to them. It should be compatible, i don't see why it wouldn't be. The extra is just another input thing, and the quickregister area is a different file.
Quote:
I was just wondering if it'd be possible to make it like vB3? (The check boxes)?
CHeck boxes for what, i don't understand.
Okay, here are some screenshots:
..::0==//SCREENSHOT 1\\==0::..

Quick Registration Form - Where you put in the stuff
..::0==//SCREENSHOT 2\\==0::..

Quick Registration Button - Where you agree or cancel
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 05:24 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.04199 seconds
  • Memory Usage 2,306KB
  • Queries Executed 23 (?)
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
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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