Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 05-27-2004, 09:18 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Birthday field on edit profile

Currently when a user signs up he is prompted to enter a birthday.

If the year of birth is appropriate he is then taken to a form to fill in with the rest of his sign up details.

However

Once he is a member and he goes to fill out his profile the birthday field has become mysteriously empty.

How can I change this so that the birthday information (including year) is still there?

Sorry this is supposed to be a VB3 request ... any chance that someone can move it please?
Reply With Quote
  #2  
Old 06-01-2004, 11:32 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In modifyprofile template, FIND and REMOVE following bit of code:

HTML Code:
			<fieldset class="fieldset">
				<legend>$vbphrase[birth_date]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
				<tr>
					<td>$vbphrase[enter_birth_date_controls]</td>
				</tr>
				<tr>
					<td>
						<table cellpadding="0" cellspacing="2" border="0">
						<tr>
							<td>$vbphrase[month]:</td>
							<td>$vbphrase[day]:</td>
							<td>$vbphrase[year]:</td>
						</tr>
						<tr>
							<td><select name="month">
								<option value="-1" $monthdefaultselected></option>
								<option value="01" $month01selected>$vbphrase[january]</option>
								<option value="02" $month02selected>$vbphrase[february]</option>
								<option value="03" $month03selected>$vbphrase[march]</option>
								<option value="04" $month04selected>$vbphrase[april]</option>
								<option value="05" $month05selected>$vbphrase[may]</option>
								<option value="06" $month06selected>$vbphrase[june]</option>
								<option value="07" $month07selected>$vbphrase[july]</option>
								<option value="08" $month08selected>$vbphrase[august]</option>
								<option value="09" $month09selected>$vbphrase[september]</option>
								<option value="10" $month10selected>$vbphrase[october]</option>
								<option value="11" $month11selected>$vbphrase[november]</option>
								<option value="12" $month12selected>$vbphrase[december]</option>
							</select> &nbsp;</td>
							<td><select name="day">
								<option value="-1" $daydefaultselected></option>
								<option value="01" $day01selected>1</option>
								<option value="02" $day02selected>2</option>
								<option value="03" $day03selected>3</option>
								<option value="04" $day04selected>4</option>
								<option value="05" $day05selected>5</option>
								<option value="06" $day06selected>6</option>
								<option value="07" $day07selected>7</option>
								<option value="08" $day08selected>8</option>
								<option value="09" $day09selected>9</option>
								<option value="10" $day10selected>10</option>
								<option value="11" $day11selected>11</option>
								<option value="12" $day12selected>12</option>
								<option value="13" $day13selected>13</option>
								<option value="14" $day14selected>14</option>
								<option value="15" $day15selected>15</option>
								<option value="16" $day16selected>16</option>
								<option value="17" $day17selected>17</option>
								<option value="18" $day18selected>18</option>
								<option value="19" $day19selected>19</option>
								<option value="20" $day20selected>20</option>
								<option value="21" $day21selected>21</option>
								<option value="22" $day22selected>22</option>
								<option value="23" $day23selected>23</option>
								<option value="24" $day24selected>24</option>
								<option value="25" $day25selected>25</option>
								<option value="26" $day26selected>26</option>
								<option value="27" $day27selected>27</option>
								<option value="28" $day28selected>28</option>
								<option value="29" $day29selected>29</option>
								<option value="30" $day30selected>30</option>
								<option value="31" $day31selected>31</option>
							</select> &nbsp;</td>
							<td><input type="text" class="bginput" name="year" value="$year" size="4" maxlength="4" /></td>
						</tr>
						</table>
						<input type="hidden" name="oldbirthday" value="$bbuserinfo[birthday]" />
					</td>
				</tr>
				</table>
			</fieldset>
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03388 seconds
  • Memory Usage 2,188KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete