vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Mini Quick Register [vB-Turko] (https://vborg.vbsupport.ru/showthread.php?t=234890)

yilmaz68 02-02-2010 10:00 PM

Mini Quick Register [vB-Turko]
 
1 Attachment(s)
Demo: http://www.vbulletin-turko.com/forums/forum.php

Dear friends. at least, you can register with single stage, not two. in the registration system, if there's the birthday date, it is easier to register. I could improve this much for now. Please don't ask anything. Thanks.


Open your forumhome template, and find it:

HTML Code:

{vb:raw navbar}
add under ;

PHP Code:

<vb:if condition="$show['guest']">
            {
vb:raw customfields_profile}
            <
form action="register.php?do=checkdate" method="post" onsubmit="return checkform(this)" class="vbform block">
    <
h2 class="blockhead"><b>Daha h&#305;zlı ?yelik!</b></h2>
    
<div class="blockbody formcontrols">
        <
div class="blockrow">
            <
label for="month" class="label"><b>Do&#287;um Tarihinizi Giriniz (Ay/G?n/Sene):</b></label>
            
<class="description">{vb:rawphrase date_of_birth_is_binding}</p>
            <
ul class="multifield group">
            <
li><label for="month">{vb:rawphrase month}:</label>
                <
select name="month" id="month" tabindex="1">
                    <
option value="" selected="selected">-</option>
                    <
option value="01">{vb:rawphrase january}</option>
                    <
option value="02">{vb:rawphrase february}</option>
                    <
option value="03">{vb:rawphrase march}</option>
                    <
option value="04">{vb:rawphrase april}</option>
                    <
option value="05">{vb:rawphrase may}</option>
                    <
option value="06">{vb:rawphrase june}</option>
                    <
option value="07">{vb:rawphrase july}</option>
                    <
option value="08">{vb:rawphrase august}</option>
                    <
option value="09">{vb:rawphrase september}</option>
                    <
option value="10">{vb:rawphrase october}</option>
                    <
option value="11">{vb:rawphrase november}</option>
                    <
option value="12">{vb:rawphrase december}</option>
                </
select>
            </
li>
            <
li><label for="day">{vb:rawphrase day}:</label>
                <
select name="day" id="day" tabindex="1">
                    <
option value="" selected="selected">-</option>
                    <
option value="01">1</option>
                    <
option value="02">2</option>
                    <
option value="03">3</option>
                    <
option value="04">4</option>
                    <
option value="05">5</option>
                    <
option value="06">6</option>
                    <
option value="07">7</option>
                    <
option value="08">8</option>
                    <
option value="09">9</option>
                    <
option value="10">10</option>
                    <
option value="11">11</option>
                    <
option value="12">12</option>
                    <
option value="13">13</option>
                    <
option value="14">14</option>
                    <
option value="15">15</option>
                    <
option value="16">16</option>
                    <
option value="17">17</option>
                    <
option value="18">18</option>
                    <
option value="19">19</option>
                    <
option value="20">20</option>
                    <
option value="21">21</option>
                    <
option value="22">22</option>
                    <
option value="23">23</option>
                    <
option value="24">24</option>
                    <
option value="25">25</option>
                    <
option value="26">26</option>
                    <
option value="27">27</option>
                    <
option value="28">28</option>
                    <
option value="29">29</option>
                    <
option value="30">30</option>
                    <
option value="31">31</option>
                </
select>
                </
li>
                <
li><label for="year">{vb:rawphrase year}:</label>
                    <
input type="text" class="textbox numeric" name="year" id="year" size="4" tabindex="1" maxlength="4" value="" />
                </
li>
            </
ul>
        </
div>
    </
div>
    
    <
div class="blockfoot actionbuttons">
        <
div class="group">
            <
input type="hidden" name="do" value="checkdate" />
            <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
            <
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
            <
input type="hidden" name="url" value="{vb:raw url}" />
            <
input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" tabindex="1" accesskey="s" />
            <
input type="reset" class="button" tabindex="1" value="{vb:rawphrase reset}" />
        </
div>
    </
div>

</
form>
        
</
vb:if> 


PS: If you want, you can change language for yourself;


HTML Code:

        <h2 class="blockhead"><b>Daha hızlı ?yelik!</b></h2>
Quick Register Step 1

HTML Code:

<label for="month" class="label"><b>Doğum Tarihinizi Giriniz (Ay/G?n/Sene):</b></label>
Birthday Area

elwachiman 02-03-2010 10:29 PM

demo /screenshot please tnks

WxP 02-03-2010 11:24 PM

thank you :D can all register doing in home page? if is posible ?

Switch3130 02-04-2010 12:38 AM

Nice work with this. *installed*

yilmaz68 02-04-2010 03:50 AM

You're welcome, friends and thanks.

@elwachiman! brother, demo: http://www.vbulletin-turko.com/forums/forum.php



Lan sadece bizim yurdum insanı "mesaj yazmak i?in" mesaj yazar diye d?ş?n?rd?m. Meğersem bu zihniyet herkeste varmış. Hey gidi heyyyy...

cloferba 02-05-2010 12:43 PM

how can i do ask for birthday on registration page, and then press a button and ask other things?

like http://www.vbulletin-turko.com/

steve1966 02-06-2010 05:32 PM

Quote:

Originally Posted by cloferba (Post 1975382)
how can i do ask for birthday on registration page, and then press a button and ask other things?

like http://www.vbulletin-turko.com/



someone told me how to do this its a setting

disabled COPPA users..

Deny registration users under the age of 13..

cloferba 02-06-2010 07:51 PM

Quote:

Originally Posted by steve1966 (Post 1976139)
someone told me how to do this its a setting

disabled COPPA users..

Deny registration users under the age of 13..

thank you very much! it works :)


All times are GMT. The time now is 03:54 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.02366 seconds
  • Memory Usage 1,804KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete