The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
This hack will let you select whether to use a lite registration page or not, directly from the admin control panel.
Using this will make your page look like this (with the header and footer of course): Requested by inetd and so many more. Pretty simple really: 1) Run this query using Telnet or phpMyAdmin: Code:
INSERT INTO setting VALUES (NULL,6,'Use lite registration page?','litereg','0','Using this option will only display required fields for users when signing up.','yesno','18') PHP Code:
PHP Code:
![]() That's it. Now you'll have an option for this in your options page, under "User and registration options". Hope you like this, please feedback. ![]() Show Your Support
|
Comments |
#17
|
||||
|
||||
![]()
I figured it out.
![]() It was a missing } Thanks for your help and the great hack! |
#18
|
|||
|
|||
![]()
PDF version?
|
#19
|
||||
|
||||
![]()
Use this code:
Code:
if ($who=="adult") { if ($litereg or $uselite) { eval("dooutput(\"".gettemplate("registerlite")."\");"); } else { eval("dooutput(\"".gettemplate("registeradult")."\");"); } } else { if ($litereg or $uselite) { eval("dooutput(\"".gettemplate("registerlite")."\");"); } else { eval("dooutput(\"".gettemplate("registercoppa")."\");"); } } Code:
if ($who=="adult") { if ($litereg) { eval("dooutput(\"".gettemplate("registerlite")."\");"); } else { eval("dooutput(\"".gettemplate("registeradult")."\");"); } } else { if ($litereg) { eval("dooutput(\"".gettemplate("registerlite")."\");"); } else { eval("dooutput(\"".gettemplate("registercoppa")."\");"); } } (you will need to install the hack first) Then you will be able to link to register.php?action=xxx&uselite=1. |
#20
|
|||
|
|||
![]()
Chen,
I'm getting a blank page. I've sent you a PM with more details. -Rob |
#21
|
||||
|
||||
![]()
I thought it's obvious you need to change xxx in the URL I gave.
I've sent you the right address to link to... |
#22
|
|||
|
|||
![]()
geez....no....it's my usual morning, pre-coffee....DUHHHHH moment!
![]() |
#23
|
|||
|
|||
![]()
Tell, please, a code for vb 2.2.1. I at pressing on Submit again have a form for registration
|
#24
|
||||
|
||||
![]()
This is compatible with 2.2.x.
|
#25
|
|||
|
|||
![]()
The last version of the code without bugs is necessary for me. Which works with version 2.2.1. Where it to take?
|
#26
|
||||
|
||||
![]()
I installed the hack, following the directions exactly since this is one of the things I needed most and it looked pretty simple... (I'm brand new to vB, to scripting as well...) This is my second attempt at installing a hack and the first failed as well... I think I'm probably missing something pretty basic... I installed MyphpAdmin and ran the query... went to the file on the server and changed the code in step 2... Created the new template and copied the code to it... went to a different machine and killed all cookies and went to log in as new user... It gave me the basic same old registration screen... Question 2 is; once I get this up, how can I hide the question about the time zone and make it default to my choice? All my users live in same town... The server is actually set so if user doesn't make any choice they're good to go... 3rd... will custom questions added on that normally show up at bottom of regular template show up on bottom of this? TIA
|
#27
|
||||
|
||||
![]()
Hi,
I want to change the registerlite form for my needs. Can I just delete the fields i don't want to use? How can I set the options to what i want? example: I only want to display username, email and password! But all the other options i want to be automatically set to the value I want. How can i do that? Thanks! Birdie501 |
#28
|
||||
|
||||
![]()
Use hidden form fields. For example, instead of this:
Code:
<tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Use 'Email Notification' by default</b></normalfont><br> <smallfont>Using this option emails you whenever someone replies to a thread that you have participated in.</smallfont></td> <td bgcolor="{secondaltcolor}"><normalfont> <input type="radio" name="[high]emailnotification[/high]" value="yes" checked> yes <input type="radio" name="[high]emailnotification[/high]" value="no" > no </normalfont></td> </tr> Code:
<input type="hidden" name="[high]emailnotification[/high]" value="yes" /> ![]() |
#29
|
||||
|
||||
![]()
Hey firefly,
you're the best! Thanks! |
#30
|
||||
|
||||
![]()
No problems Birdie.
![]() |
#31
|
||||
|
||||
![]()
@ firefly
is it the same with textarea fields? do i always have to put the above string for each variable? Or if the value is empty can i delete it instead? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|