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
  #22  
Old 05-16-2003, 07:56 PM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd also like to know what WEForums wants to know.

Thanks
Ollie
Reply With Quote
  #23  
Old 05-19-2003, 01:42 PM
insanctus's Avatar
insanctus insanctus is offline
 
Join Date: Feb 2003
Location: Michigan
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

~ Clicks install....... nice hack.
Reply With Quote
  #24  
Old 05-20-2003, 05:02 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I'd like to know what WEForums wants to know too!
Reply With Quote
  #25  
Old 06-03-2003, 06:00 PM
cYbercOsmOnauT's Avatar
cYbercOsmOnauT cYbercOsmOnauT is offline
 
Join Date: May 2003
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[x]installed. Nice hack. But I have a problem with the quickregistrationform. On my board guestaccess is restricted and when I click on "Quick register" I get to the "standarderror" page which tells me to first login.

Erm, login to register? Kinda paradox
Reply With Quote
  #26  
Old 06-04-2003, 07:45 PM
eggz eggz is offline
 
Join Date: Aug 2002
Location: UK
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Quick registration can be frustrating because members who sign up via this method have all their options off, which causes a lot of confusion by them and a lot of asking questions.

Is there a way to set yes to certain options via this registration method? It'd be nice if there is.
+

Quote:
I'd also like to know what WEForums wants to know.
+

Quote:
Yeah, I'd like to know what WEForums wants to know too!
=

BUMP!
Reply With Quote
  #27  
Old 06-05-2003, 02:14 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one is more simple than Chen's.
It works as good as his.
Reply With Quote
  #28  
Old 06-05-2003, 03:37 PM
WEForums WEForums is offline
 
Join Date: Apr 2003
Location: Jacksonville, Florida
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #29  
Old 06-14-2003, 02:21 AM
djhenry21 djhenry21 is offline
 
Join Date: May 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
06-03-03 at 08:00 PM cYbercOsmOnauT said this in Post #24
[x]installed. Nice hack. But I have a problem with the quickregistrationform. On my board guestaccess is restricted and when I click on "Quick register" I get to the "standarderror" page which tells me to first login.

Erm, login to register? Kinda paradox

i have the same problem. this doesn't work when guest access is restricted on your boards. any chance on fixing this?
Reply With Quote
  #30  
Old 06-22-2003, 04:31 PM
shadowbreed shadowbreed is offline
 
Join Date: Oct 2001
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem here a fix would be greatly appreciated, since i need this to work on a forum where the people don't UNDERSTAND the full registration
Reply With Quote
  #31  
Old 06-23-2003, 05:27 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, before I install this:

This guest access restriction you're all referring to, I assume you mean you don't allow guests to view the forums etc.?

I allow guest viewing, but have restrictions on what they can DO (like they can't post or view member's list, who's online, etc.), but not a restriction on them viewing the actual site. So this won't be a problem with this hack?
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:40 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.05173 seconds
  • Memory Usage 2,321KB
  • 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
  • (4)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
  • (4)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