• Welcome to Simple Machines Community Forum. Please login or sign up.
September 18, 2021, 07:33:51 PM

News:

Check out the SMF Function DB!


Option to hide age

Started by LadyAngel, June 20, 2014, 12:53:16 PM

Previous topic - Next topic

LadyAngel

An option for members to be able to fill in their age, but hide it around the forums would be most welcome.  :D

Illori

why fill it in if you dont want it visible?

LadyAngel

Because my forum requires over 18 registration, but people may not want others to know how old they are!

Irisado

You could use the registration agreement and registration settings to cover this.  See http://wiki.simplemachines.org/smf/SMF2.0:Registration for more details.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente

Arantor

Like users won't lie about their age anyway.
No good deed goes unpunished
All helpful urges should be circumvented

Gwenwyfar

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.

Kindred

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
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

Or even users not putting in a year, just the month/day of birth.
No good deed goes unpunished
All helpful urges should be circumvented

Kindred

yup...    that's often what I do.  or I put 1901 :)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Gwenwyfar

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


Steve

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
Please do not PM me for support.

Arantor

That depends, do you need to go up or down to get closer? >:D
No good deed goes unpunished
All helpful urges should be circumvented

Antes

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

Arantor

I am pleased to have introduced that into 2.1.
No good deed goes unpunished
All helpful urges should be circumvented

Steve

Please do not PM me for support.

live627


stuffedanimals

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.

Advertisement: