View Single Post
  #1  
Old 05-30-2011, 12:51 PM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Fill out birthday in registration

Is there a way to let new members fill out their day of birth in the registration form?
I do not want to use COPPA.

Now new members have to (MUST) fill out the following:
Username
Password
Confirm pasword
Email address
Confirm email address
Image verification
Location
Sexe

What I like to have is after the Confirm email address the date of birth.

I have got the following out of the AdminCP --> Add new user, But If i import the following script in the registration form, i don't think it will be saved will it?

HTML Code:
<table width="264">
  <td width="311"><div id="ctrl_user[birthday]"><table cellspacing="2" cellpadding="0" border="0" width="465"><tbody><tr>
		<td width="174"><span class="smallfont">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dag<br>Geboortedatum:&nbsp;&nbsp;&nbsp;&nbsp;
          <input type="text" tabindex="1" maxlength="2" size="4" value="" id="user[birthday]_date" name="user[birthday][day]" class="bginput"></span></td>
		<td width="105"><span class="smallfont">Maand<br><select class="bginput" tabindex="1" id="user[birthday]_month" name="user[birthday][month]">
		<option selected="selected" value="0">- - - -</option>
		<option value="1">Januari</option>
		<option value="2">Februari</option>
		<option value="3">Maart</option>
		<option value="4">April</option>
		<option value="5">Mei</option>
		<option value="6">Juni</option>
		<option value="7">Juli</option>
		<option value="8">Augustus</option>
		<option value="9">September</option>
		<option value="10">Oktober</option>
		<option value="11">November</option>
		<option value="12">December</option>
		</select></span></td>
		<td width="172"><span class="smallfont"><label for="user[birthday]_year">Jaar</label><br><input type="text" tabindex="1" maxlength="4" size="4" value="" id="user[birthday]_year" name="user[birthday][year]" class="bginput"><div style="position: absolute; display: none;"><table cellspacing="1" class="tborder vB_DatePicker page" style="background: none repeat scroll 0% 0% rgb(255, 255, 255);"><thead><tr align="center"><th class="tcat smallfont" style="cursor: pointer;">&lt;</th><th class="tcat smallfont" colspan="5">Mei 2011</th><th class="tcat smallfont" style="cursor: pointer;">&gt;</th></tr><tr align="center" class="page smallfont"><td class="smallfont">M</td><td class="smallfont">D</td><td class="smallfont">W</td><td class="smallfont">D</td><td class="smallfont">V</td><td class="smallfont">Z</td><td class="smallfont">Z</td></tr><tr><td colspan="7" class="page"><div style="background: none repeat scroll 0% 0% rgb(0, 0, 0);"><img src="./clear.gif"></div></td></tr></thead><tbody><tr align="center"><td title="Mon Apr 25 2011 01:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">25</td><td title="Tue Apr 26 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">26</td><td title="Wed Apr 27 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">27</td><td title="Thu Apr 28 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">28</td><td title="Fri Apr 29 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">29</td><td title="Sat Apr 30 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">30</td><td title="Sun May 01 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;1</td></tr><tr align="center"><td title="Mon May 02 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;2</td><td title="Tue May 03 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;3</td><td title="Wed May 04 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;4</td><td title="Thu May 05 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;5</td><td title="Fri May 06 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;6</td><td title="Sat May 07 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;7</td><td title="Sun May 08 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;8</td></tr><tr align="center"><td title="Mon May 09 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">&nbsp;9</td><td title="Tue May 10 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">10</td><td title="Wed May 11 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">11</td><td title="Thu May 12 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">12</td><td title="Fri May 13 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">13</td><td title="Sat May 14 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">14</td><td title="Sun May 15 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">15</td></tr><tr align="center"><td title="Mon May 16 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">16</td><td title="Tue May 17 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">17</td><td title="Wed May 18 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">18</td><td title="Thu May 19 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">19</td><td title="Fri May 20 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">20</td><td title="Sat May 21 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">21</td><td title="Sun May 22 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">22</td></tr><tr align="center"><td title="Mon May 23 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">23</td><td title="Tue May 24 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">24</td><td title="Wed May 25 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">25</td><td title="Thu May 26 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">26</td><td title="Fri May 27 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">27</td><td title="Sat May 28 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">28</td><td title="Sun May 29 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">29</td></tr><tr align="center"><td title="Mon May 30 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont today">30</td><td title="Tue May 31 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="smallfont">31</td><td title="Wed Jun 01 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">&nbsp;1</td><td title="Thu Jun 02 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">&nbsp;2</td><td title="Fri Jun 03 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">&nbsp;3</td><td title="Sat Jun 04 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">&nbsp;4</td><td title="Sun Jun 05 2011 00:00:00 GMT+0200" style="cursor: pointer;" class="time smallfont">&nbsp;5</td></tr></tbody></table></div></span></td>
	
</tr></tbody></table></div></td>
</table>
Thanks.
Attached Images
File Type: jpg dob.jpg (6.6 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01461 seconds
  • Memory Usage 1,882KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete