The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Registration Hack Details »» | |||||||||||||||||||||||||
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> 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> 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---||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
|
Comments |
#22
|
|||
|
|||
I'd also like to know what WEForums wants to know.
Thanks Ollie |
#23
|
||||
|
||||
~ Clicks install....... nice hack.
|
#24
|
||||
|
||||
Yeah, I'd like to know what WEForums wants to know too!
|
#25
|
||||
|
||||
[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 |
#26
|
|||
|
|||
Quote:
Quote:
Quote:
BUMP! |
#27
|
||||
|
||||
This one is more simple than Chen's.
It works as good as his. |
#28
|
|||
|
|||
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:
PHP Code:
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.) |
#29
|
|||
|
|||
Quote:
i have the same problem. this doesn't work when guest access is restricted on your boards. any chance on fixing this? |
#30
|
|||
|
|||
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
|
#31
|
||||
|
||||
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? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|