1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hide Age

Discussion in 'XenForo Questions and Support' started by KozmoK, Mar 23, 2011.

  1. KozmoK

    KozmoK Active Member

    I can't seem to hide a users age when people do a member list etc.

    In my opionion this should be a variable set in the options. Anyone know what file template this is hidden into so I can cut it out?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That's a user preference:


    Screen shot 2011-03-22 at 11.35.08 PM.png

    You can set the default for new users in your:

    Admin CP -> Home -> Options -> User Registration -> Default Registration Values

    You can disable that option for all existing users by running this query on your database:

    UPDATE xf_user_option
    SET show_dob_year = 0
    MilesB and Ray like this.
  3. KozmoK

    KozmoK Active Member

    So your saying if I had it set on it default setting - all the existing users will show their age? and any new ones after that setting wont?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Correct, if you uncheck it.

    Any existing users would have to manually change it in their account preferences, unless you run the query posted by Jake above.

Share This Page