vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Quick Registration Hack (https://vborg.vbsupport.ru/showthread.php?t=51044)

The_Cyberdemon 03-30-2003 10:00 PM

Quick Registration Hack
 
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!

FleaBag 03-31-2003 08:52 PM

Erm, this has already been done by FireFly...

The_Cyberdemon 03-31-2003 08:56 PM

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?

Bane 03-31-2003 11:23 PM

I dont think chens had the ability for a user to select, but rather for the admin to.

The_Cyberdemon 03-31-2003 11:26 PM

Oh, and here's the text file

The_Cyberdemon 03-31-2003 11:28 PM

is that good or bad?
/me laughs

Poggyuk 04-01-2003 09:29 AM

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)

FleaBag 04-01-2003 01:28 PM

Ah right, I see the difference now...

Dean C 04-01-2003 05:01 PM

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

The_Cyberdemon 04-01-2003 07:41 PM

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::..
http://www.blindedstorms.com/quickreg.bmp
Quick Registration Form - Where you put in the stuff
..::0==//SCREENSHOT 2\\==0::..
http://www.blindedstorms.com/quickregbutton.bmp
Quick Registration Button - Where you agree or cancel


All times are GMT. The time now is 01:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01127 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete