vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Birthday field on edit profile (https://vborg.vbsupport.ru/showthread.php?t=89223)

moonclamp 05-27-2004 09:18 AM

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?

tnguy3n 06-01-2004 11:32 PM

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>



All times are GMT. The time now is 05:35 AM.

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.01003 seconds
  • Memory Usage 1,770KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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