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
  #32  
Old 06-23-2003, 05:32 AM
insanctus's Avatar
insanctus insanctus is offline
 
Join Date: Feb 2003
Location: Michigan
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have mine so guests can view the board and that is it. And this hack works fine (hope that helps alien)
Reply With Quote
  #33  
Old 06-23-2003, 04:06 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a bunch insanctus, I'll give it a quick test tonight!
Reply With Quote
  #34  
Old 06-23-2003, 08:33 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I attempt this in quickreg.php -- It does not work, does it also have to be forced in register.php? My full registrations work perfectly, but my quickreg's won't work, turns off pm's etc. even with the quickreg.php set to 1,1

Quote:
06-05-03 at 12:37 PM WEForums said this in Post #27
Okay, since my question got people wondering how to do this, I will explain (since it works now).

Open register.php (and quickreg.php if you want) and find what you want to modify. (For example, if you want admins to always e-mail a user find:

PHP Code:
$adminemail=iif($allowmail=="yes",1,0); 
and replace it with:

PHP Code:
$adminemail=iif($allowmail=="yes",1,1); 
)

This will override the user option and force it to be yes...even if the user selects no when registering. However, if this does not bother you, it works. (Note that users can change it to NO in their usercp when they are registered.)
Reply With Quote
  #35  
Old 06-23-2003, 11:10 PM
insanctus's Avatar
insanctus insanctus is offline
 
Join Date: Feb 2003
Location: Michigan
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I never had a trouble with it. Only thing I had to alter was the let mods email.
Reply With Quote
  #36  
Old 06-24-2003, 04:33 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...and you only altered your quickreg.php file for this to take place? Doesn't seem to work whatsoever for me...
Reply With Quote
  #37  
Old 06-25-2003, 08:05 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #38  
Old 08-21-2003, 04:07 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In "who's online" it shows "unknown location" is there any way I can fix this? aranoid:
Reply With Quote
  #39  
Old 08-21-2003, 04:17 AM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did anyone fix a issue with the quick register, with the image verification at all?

When I installed it the first time it seemed to install great, however no one could register on my site using it if I had image verification turned on.

has this been fixed, or added in recent month to this hack? I wasn't sure what I would need to hack to update this hack with image verification but other wise its a really cool idea
Reply With Quote
  #40  
Old 12-12-2003, 07:09 AM
hotshot hotshot is offline
 
Join Date: Mar 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, however I would like a hidden field that enables emails from Administrator.

Add the following in your template:

<input type="hidden" name="allowmail" value="yes">
<input type="hidden" name="invisible" value="no">
<input type="hidden" name="showemail" value="no">
<input type="hidden" name="cookieuser" value="yes">
<input type="hidden" name="nosessionhash" value="yes">
<input type="hidden" name="receivepm" value="yes">
<input type="hidden" name="emailonpm" value="no">
<input type="hidden" name="pmpopup" value="no">
<input type="hidden" name="prunedays" value="-1">
<input type="hidden" name="umaxposts" value="-1">
<input type="hidden" name="startofweek" value="1">
Reply With Quote
  #41  
Old 02-16-2004, 07:54 PM
Areku Areku is offline
 
Join Date: Feb 2002
Posts: 540
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HOW COme any1 could call the quickregister php directly and skip the coppa/adult warning?
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 08:19 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.04605 seconds
  • Memory Usage 2,323KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_php
  • (1)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
  • (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