Announcement

Collapse
No announcement yet.

How do I restore birthday field?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rukas
    replied
    Originally posted by Steve Machol
    Turn COPPA off. However if you are a US site, this could be considered a violation of the law.
    Unfortuantly it looks like its the only option I have. The site is Australian/Canadian hosted in the US so I dont know... :S

    I think its the only solution I can do, I dont feel comfterble giving out server and phpmyadmin passes.

    Leave a comment:


  • Steve Machol
    replied
    Turn COPPA off. However if you are a US site, this could be considered a violation of the law.

    Leave a comment:


  • Rukas
    replied
    Originally posted by Steve Machol
    If you have not installed any hacks (which includes portals), fill out a support ticket at:

    http://members.vbulletin.com/members...ontactform.php

    Be sure to include the login info to your Admin CP, phpMyAdmin and FTP. If you have installed hacks, then remove the hacks first then check and see if you still have this problem. If so, leave the default vB files in place and fill out the support request. Please also include a complete description of the problem.
    For the time being can you please tell me how to make the birthday field not compulsery so users can still edit their profile without getting invalid birthday?

    Leave a comment:


  • Steve Machol
    replied
    If you have not installed any hacks (which includes portals), fill out a support ticket at:

    http://members.vbulletin.com/members...ontactform.php

    Be sure to include the login info to your Admin CP, phpMyAdmin and FTP. If you have installed hacks, then remove the hacks first then check and see if you still have this problem. If so, leave the default vB files in place and fill out the support request. Please also include a complete description of the problem.

    Leave a comment:


  • Rukas
    replied
    Originally posted by Steve Machol
    Create a new style and choose no parent style. This will force it to use the default templates. Then change to this style and view your forums with it. Do you have the same problem?
    Yes. Same problem.

    Leave a comment:


  • Steve Machol
    replied
    Create a new style and choose no parent style. This will force it to use the default templates. Then change to this style and view your forums with it. Do you have the same problem?

    Leave a comment:


  • Rukas
    replied
    Bump.

    Anyone? Please Ive already looked through all the other threads and while others have lost the bday profile in the past, no one seems to have the same problem as I do. Mine seems to be in the tempate theirs wasnt, so Im real confused. Please help!

    Leave a comment:


  • Rukas
    started a topic How do I restore birthday field?

    How do I restore birthday field?

    Hey since our board was hacked a few months ago, users cant modify their birthday in their profile, the field just isnt there. And whenever they try to save any changes in their profile they get an error, invalid birthday entered message.

    Ive tried doing this myself but cant figure it out.

    Here is my modifyprofile template:
    Code:
    <if condition="$bbuserinfo['coppauser']">
    <!-- coppa text -->
    <form action="register.php" method="post">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="coppaform" />
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="tcat">$vbphrase[coppa_information]</td>
    </tr>
    <tr>
    	<td class="panelsurround" align="center">
    	<div class="panel">
    		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
    		
    			<p class="smallfont">
    		    	<phrase 1="$vboptions[contactuslink]">$vbphrase[make_changes_parent_notified]</phrase>
    			</p>
    			
    			<p class="smallfont">
    				$vbphrase[print_new_permissions_form]
    			</p>
    			
    			<input type="submit" class="button" style="font-weight:normal" value="$vbphrase[display_permissions_form]" />
    		
    		</div>
    	</div>
    	</td>
    </tr>
    </table>
    </form>
    <br />
    <!-- end coppa text -->
    </if>
    
    <form action="profile.php" method="post" id="profileform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="updateprofile" />
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="tcat">$vbphrase[edit_profile]<span class="normal">: $bbuserinfo[username]</span></td>
    </tr>
    <tr>
    	<td class="thead">$vbphrase[registration_required_information]</td>
    </tr>
    <tr>
    	<td class="panelsurround" align="center">
    	<div class="panel">
    		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
    			
    			<fieldset class="fieldset">
    		        <legend>$vbphrase[email_and_password]</legend>
    		    	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
    				<tr>
    		    	    <td>$vbphrase[click_button_below_edit_email]</td>
    				</tr>
    				<tr>
    					<td>
    		    			<!-- don't remove -->
    		    			<input type="image" src="$vboptions[cleargifurl]" width="1" height="1" />
    		    			<!-- / don't remove -->
    		    			<input type="submit" class="button" style="font-weight:normal" value="$vbphrase[edit_email_and_password]" name="gotopassword" />
    					</td>
    				</tr>
    				</table>
    			</fieldset>
    			
    			<if condition="$bbuserinfo['coppauser']">
    			<fieldset class="fieldset">
    		    	<legend><label for="tb_parentemail">$vbphrase[parent_guardian_email]</label></legend>
    		    	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
    				<tr>
    		    	    <td>$vbphrase[if_under_13_provide_parent]</td>
    				</tr>
    				<tr>
    					<td>
    		    		    $vbphrase[parent_guardian_email]:<br />
    		    			<input type="text" class="bginput" name="parentemail" id="tb_parentemail" size="50" maxlength="30" value="$bbuserinfo[parentemail]" />
    		    			<input type="hidden" name="coppauser" value="1" />
    					</td>
    				</tr>
    				</table>
    			</fieldset>
    			</if>
    			
    			<if condition="$show['birthday_required']">
    				$birthdaybit
    			</if>
    		
    			$customfields[required]
    			
    		</div>
    	</div>
    	</td>
    </tr>
    </table>
    
    <br />
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="thead">$vbphrase[optional_information_will]</td>
    </tr>
    <tr>
    	<td class="panelsurround" align="center">
    	<div class="panel">
    		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
    		
    			<if condition="$show['customtitleoption']">
    			<fieldset class="fieldset">
    		    	<legend><label for="tb_customtext">$vbphrase[custom_user_title]</label></legend>
    		    	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
    				<tr>
    		    		<td colspan="2">$vbphrase[title_appears_beneath_your_name]</td>
    				</tr>
    				<tr>
    		    	    <td>$vbphrase[your_current_user_title_is]:<br /><strong>$bbuserinfo[usertitle]</strong></td>
    		    		<td align="$stylevar[right]"><label for="cb_resettitle"><input type="checkbox" name="resettitle" value="yes" id="cb_resettitle" />$vbphrase[reset]</label></td>
    				</tr>
    				<tr>
    		    	    <td>$vbphrase[custom_user_title]:<br /><input type="text" class="bginput" name="customtext" id="tb_customtext" value="" size="50" maxlength="$vboptions[ctMaxChars]" /></td>
    				</tr>
    				</table>
    			</fieldset>
    			</if>
    			
    			<if condition="$show['birthday_optional']">
    				$birthdaybit
    			</if>
    			
    			<fieldset class="fieldset">
    		    	<legend><label for="tb_homepage">$vbphrase[home_page_url]</label></legend>
    		    	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
    				<tr>
    		    	    <td>$vbphrase[let_other_visitors_know_url]</td>
    				</tr>
    				<tr>
    		    	    <td>$vbphrase[home_page_url]:<br /><input type="text" class="bginput" name="homepage" id="tb_homepage" value="$bbuserinfo[homepage]" size="50" maxlength="200" /></td>
    				</tr>
    				</table>
    			</fieldset>
    			
    			<fieldset class="fieldset">
    		        <legend>$vbphrase[instant_messaging]</legend>
    		    	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
    				<tr>
    		    		<td colspan="2">$vbphrase[may_enter_identity_for_im]</td>
    				</tr>
    				<tr>
    		    	    <td>$vbphrase[icq_number]:<br /><input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="25" maxlength="30" /></td>
    		    	    <td>$vbphrase[aim_screen_name]:<br /><input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="25" maxlength="30" /></td>
    				</tr>
    				<tr>
    		    	    <td>$vbphrase[msn_messenger_handle]:<br /><input type="text" class="bginput" name="msn" value="$bbuserinfo[msn]" size="25" maxlength="50" /></td>
    		    	    <td>$vbphrase[yahoo_messenger_handle]:<br /><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="25" maxlength="30" /></td>
    				</tr>
    				</table>
    			</fieldset>
    
    <if condition="$customfields['regular']">
    <!-- start if customfields -->
    			
    		</div>
    	</div>
    	</td>
    </tr>
    </table>
    
    <br />
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="thead">$vbphrase[additional_information]</td>
    </tr>
    <tr>
    	<td class="panelsurround" align="center">
    	<div class="panel">
    		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
    
    		$customfields[regular]
    
    <!-- end if custom fields -->
    </if>
    			
    		</div>
    	</div>
    	
    	<div style="margin-top:$stylevar[cellpadding]px">
    		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
    		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
    	</div>
    	</td>
    </tr>
    </table>
    
    </form>
    and modifyprofile_birthday

    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>
    Thanks in advance.
Loading...
Working...
X