4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: soyola 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
-
MOD in English : http://www.4homepages.de/forum/index.php?topic=8546.msg52632#msg52632
Downlod : http://www.4homepages.de/forum/index.php?topic=8546.msg41183#msg41183
-
Thank you for your reply but it appears that download link isn't working anymore
-
... then try this ... :wink:
-
doesn't exist way to track "who have born today" on home ?
-
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?
-
... in the zip-file is a readme.html with full installations instructions ... :!:
-
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
<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
-
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). ;)
-
Can you please explain this? There is no label for DOB column in Adminstration Panel ? This picture should demonstrate it better
(http://www.hipjongo.com/nolabel.gif)
-
Ok the above mentioned problem has been fixed by adding
$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?
<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>
-
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). ;)
-
I understand it. That's why I was hoping somebody would help me to get it show up on register.php file. Anybody?
-
Parse error: syntax error, unexpected T_DOUBLE_ARROW in member.php on line 958 :?:
-
@ 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 ...
-
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
<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>
I have the same issue with this Mod.
Can somone help me here. I know something need to be added in register.php but what eaxtly it is ?
-
hi i get this error syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ') public_html/member.php on line 962
-
how would i remove the brackets from the age? ( the [ ] )