Author Topic: Date of Birth MOD in English  (Read 16155 times)

0 Members and 1 Guest are viewing this topic.

Offline soyola

  • Newbie
  • *
  • Posts: 23
    • View Profile
Date of Birth MOD in English
« on: January 27, 2006, 09:12:14 PM »
I am trying to find a mod or codes for user Date of Birth. I want to collect our user's DOB information and show it on their profile page. I couldn't find anything in English by searching this forum. It can have drop down or just text field like  DD/MM/YEAR. Can anybody please help.

Thank you very much   

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline soyola

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Date of Birth MOD in English
« Reply #2 on: January 27, 2006, 09:39:44 PM »
Thank you for your reply but it appears that download link isn't working anymore

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Date of Birth MOD in English
« Reply #3 on: January 27, 2006, 10:04:23 PM »
... then try this ...  :wink:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: Date of Birth MOD in English
« Reply #4 on: January 27, 2006, 11:06:09 PM »
doesn't exist way to track "who have born today" on home ? 

Offline soyola

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Date of Birth MOD in English
« Reply #5 on: January 28, 2006, 09:43:12 PM »
How do you install this file ? Do you just upload install.php file to your root directory and run it?  What do I do with css file?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Date of Birth MOD in English
« Reply #6 on: January 28, 2006, 09:53:10 PM »
... in the zip-file is a readme.html with full installations instructions ...  :!:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline soyola

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Date of Birth MOD in English
« Reply #7 on: January 29, 2006, 05:25:48 AM »
Two problems so far with this Mod

1) How do get it show up in User Registration Form. I added the following to my template/custom/register_forum.php but it's not helping

Quote
<tr>
           <td class="row2"><b>{lang_user_birthday}</b></td>
           <td class="row2">
           <select name="birthday_day" style="width:50px;">
           {dropdown_day}
           </select>
           <select name="birthday_month" style="width:90px;">
           {dropdown_month}
           </select>
           <select name="birthday_year" style="width:60px;">
           {dropdown_year}
           </select>
           </td>
           </tr>

2.  Also in my adminstration panel. There is no label for DOB column. Any ideas ?  Yes I have read Read Me file and searched this forum before posting these questions

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Date of Birth MOD in English
« Reply #8 on: January 29, 2006, 05:35:34 AM »
Quote

There is no label for DOB column.


The reason why the dropdown menu is not showing is because you did not added the SELECT list into an HTML Form (as shown from your quote above). ;)

Offline soyola

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Date of Birth MOD in English
« Reply #9 on: January 29, 2006, 05:49:08 AM »
Can you please explain this? There is no label for DOB column in Adminstration Panel ?  This picture should demonstrate it better


Offline soyola

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Date of Birth MOD in English
« Reply #10 on: January 29, 2006, 06:54:44 AM »
Ok the above mentioned problem has been fixed by adding

Quote
$lang['user_age_birthday'] = "Birthday:";

to my lang/english/main.php file.  There are some serious bugs with this Mod and I wonder how many people are using this particular MOD.  Anyway, here is my question. I would like to collect user's DOB when they register and I added the following to my register_form file. This is a exact same code that has been added to member_editprofile file and works fine but doesn't on Register Form. Can somebody explain this please?

Quote
<tr>
           <td class="row2"><b>{lang_user_birthday}</b></td>
           <td class="row2">
           <select name="birthday_day" style="width:50px;">
           {dropdown_day}
           </select>
           <select name="birthday_month" style="width:95px;">
           {dropdown_month}
           </select>
           <select name="birthday_year" style="width:60px;">
           {dropdown_year}
           </select>
           </td>
          </tr>

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Date of Birth MOD in English
« Reply #11 on: January 29, 2006, 02:22:41 PM »
Quote

Can somebody explain this please?


Sure. If it actually works from the MOD itself within the member page but not from the registration page, it means the functions has not been into the registering actions (register.php file - or perhaps it was but in the wrong place within the file). ;)

Offline soyola

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Date of Birth MOD in English
« Reply #12 on: January 29, 2006, 06:45:48 PM »
I understand it. That's why I was hoping somebody would help me to get it show up on register.php file.  Anybody?

Offline klechoo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Date of Birth MOD in English
« Reply #13 on: February 01, 2006, 08:43:37 PM »
Parse error: syntax error, unexpected T_DOUBLE_ARROW in member.php on line 958  :?:

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Date of Birth MOD in English
« Reply #14 on: February 01, 2006, 08:59:56 PM »
@ klechoo

... search for a unexpected T_DOUBLE_ARROW in member.php on line 958  ...
... and replace it by the right code ...
... or take you backup-file and try it again ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...