Hi Guys,
Is there a way to replace date of birth in profiles with just age?
If it's not possible to do this. Is there a way to change the date of birth display from yyyy-mm-dd to dd-mm-yyyy?
Hi Guys, Is there a way to replace date of birth in profiles with just age? If it's not possible to do this. Is there a way to change the date of birth display from yyyy-mm-dd to dd-mm-yyyy? |
There is a mod to do that, use the search forum and look at age in profile or look to this: Kids first |
Goldman, I just had an idea that may work. You could create a customised field with just "age range" using Predefined values. You could use ranges: 18-19, 20-29, 30-39 etc. Have this show for members and visitors but for admin and moderators, let the actual birth date show. You can use this for PR (send a birthday announcement or feature members who have a birthday for any given day) make it required/mandatory. In the "message or description box" state it's only visible to admin/moderators. Make sure to go across the board: Join, Edit Profile, View Profile and Search Profiles. Your bringing this to my attention helps tremendously. I have been concerned about it all along but was dealing with other issues. Note: You may wish to check out this mod: http://www.boonex.com/unity/extensions/entry/Cron_Birthday_EMail_2008_05_29 When I figure out how to install it, I'm going to use it for PR purposes on the site. Cheers! PS OR, just simply let them type their age in a text/field box. And type their birthday(month/day) in another field/texbox. You can make either mandatory or not. |
Hi Jhazzi, I've solved the issue. I took your advice and just added an age Item field. |
it's eassy
/base/scripts/BxBaseProfileView.php In function showBlockPFBlock, below add this code : $ageValue2 = age($sValue2); }else{
Find: $sRet .= '</tr>'; |
Hi Prolaznik, I'll give it a go. Thanks again. If you know how to disable bra size is member is a male, please let me know. |
Is there a way to make birthday WITHOUT the year? i.e. 06/30 (for age-sensitive members) |
Is there a way to make birthday WITHOUT the year? i.e. 06/30 (for age-sensitive members) Just move that "item" to inactive in Builders > Fields Builder. Create a new item that asks for birthday. In description, give an example: Month/day - June 15th. In other words, you're removing the software's default (calendar and all) and creating your own specifications. |
it's eassy /base/scripts/BxBaseProfileView.php In function showBlockPFBlock, below add this code : $ageValue2 = age($sValue2); }else{
Find: $sRet .= '</tr>'; Hi all, This actually does work! |
Hey Goldman, I took your word and did this but what's supposed to happen? It appears, nothing. (Which beats site crashing or blank page.) I do not see any changes on my existing profiles. The yyyy/mm/dd remained the same. Thanks for your help! |
lol yes i know it works |
it's eassy /base/scripts/BxBaseProfileView.php In function showBlockPFBlock, Nicely done, thanks for that! |