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

XF 1.2 Hide date of birth - Update all users

Skylined

Active member
#1
I'm importing from SMF, where most users have set their date of birth.

Those dates have been imported to xF, but now they're public.


Is there any way to update registered user's Date of Birth Privacy so their day, month and year of birth is hidden?
 

Skylined

Active member
#3
I saw that thread before posting mine.

I just want to change the setting for all users, so their date isn't public, but they can change this setting afterwards.
I don't want to hide the field.


Maybe my first post wasn't clear. :)
 

Liam W

Well-known member
#4
I saw that thread before posting mine.

I just want to change the setting for all users, so their date isn't public, but they can change this setting afterwards.
I don't want to hide the field.


Maybe my first post wasn't clear. :)
You can use a query, this will change all users to not show year of birth (most people are fine with showing day and month):

Code:
UPDATE `xf_user_option` SET `show_dob_year`='0';