Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: LadyAngel on June 20, 2014, 12:53:16 PM

Title: Option to hide age
Post by: LadyAngel on June 20, 2014, 12:53:16 PM
An option for members to be able to fill in their age, but hide it around the forums would be most welcome.  :D
Title: Re: Option to hide age
Post by: Illori on June 20, 2014, 12:54:18 PM
why fill it in if you dont want it visible?
Title: Re: Option to hide age
Post by: LadyAngel on June 20, 2014, 01:16:30 PM
Because my forum requires over 18 registration, but people may not want others to know how old they are!
Title: Re: Option to hide age
Post by: Irisado on June 20, 2014, 01:24:33 PM
You could use the registration agreement and registration settings to cover this.  See http://wiki.simplemachines.org/smf/SMF2.0:Registration for more details.
Title: Re: Option to hide age
Post by: Arantor on June 22, 2014, 09:45:43 PM
Like users won't lie about their age anyway.
Title: Re: Option to hide age
Post by: Gwenwyfar on September 23, 2014, 11:33:42 AM
I'm not sure this would work since I'm not familiar with the age agreements or if smf checks for anything, but couldn't you just remove the default age field as required, than add a custom one that doesn't show other than for admins? Then people who want to show their age just fill the default one. Not the best solution, but could work for your case.

Though, I've wondered about this when editing those fields, why don't the default ones have options? I had to disable one and replace with a custom just to be able to change its settings on my forum.
Title: Re: Option to hide age
Post by: Kindred on September 23, 2014, 11:42:37 AM
age is not required by SMF by default...


As for hiding age, the admin can do that fairly easily by editing it out of display.template.php and profile.template.php
Title: Re: Option to hide age
Post by: Arantor on September 23, 2014, 11:52:09 AM
Or even users not putting in a year, just the month/day of birth.
Title: Re: Option to hide age
Post by: Kindred on September 23, 2014, 11:59:47 AM
yup...    that's often what I do.  or I put 1901 :)
Title: Re: Option to hide age
Post by: Gwenwyfar on September 23, 2014, 12:03:10 PM
It is not, but for her forum it seems like it is, an option which is likely active on her forum.

If that was the case (removing it from the templates) you could just disable it altogether as well, I don't think that's what she is asking for. But Kindred has a point, if you're going to lie, it makes no difference if you type it in or if you just accept the agreement after all :P

Title: Re: Option to hide age
Post by: Steve on September 24, 2014, 08:58:57 AM
Quote from: Kindred on September 23, 2014, 11:59:47 AM
yup...    that's often what I do.  or I put 1901 :)

I'm confused. Why put in a year so close to your real one? :P
Title: Re: Option to hide age
Post by: Arantor on September 24, 2014, 09:14:50 AM
That depends, do you need to go up or down to get closer? >:D
Title: Re: Option to hide age
Post by: Antes on September 24, 2014, 10:26:12 AM
Quote from: Steve on September 24, 2014, 08:58:57 AM
Quote from: Kindred on September 23, 2014, 11:59:47 AM
yup...    that's often what I do.  or I put 1901 :)

I'm confused. Why put in a year so close to your real one? :P

We need 2.1 here now so I can click dat damn like button :D :D
Title: Re: Option to hide age
Post by: Arantor on September 24, 2014, 10:34:50 AM
I am pleased to have introduced that into 2.1.
Title: Re: Option to hide age
Post by: Steve on September 24, 2014, 11:23:54 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1262.photobucket.com%2Falbums%2Fii614%2FOPStuph%2FSmilies%2Fthumbsup13.gif&hash=0a7ae6ae6a96ea2c4f341688efdc669446b43041)
Title: Re: Option to hide age
Post by: live627 on September 24, 2014, 04:20:10 PM
like like like!
Title: Re: Option to hide age
Post by: stuffedanimals on December 23, 2014, 10:03:40 PM
Members choose to fill in their true age because it is the requirement of most forums, but they consider age as their secrets so they choose to hide them. However, mostly, members use  the fake age, in which case, it doesn't matter if the age is visible or not.