UBB.Dev
Posted By: Dave_L_dup1 Store user's birthdate - 12/30/2002 8:55 PM
[6.2]

Is there any interest in a hack which grabs the birthdate that a user provides when registering (if age-verification is enabled), and stores it in the database?

It adds two columns to the Users table: U_DOB and U_DOB_Show.

These columns are not displayed anywhere, and are only available by directly accessing the database. I added them to retain the data when importing from UBB.classic, and for possible future use.

I've hacked my board to do this, but won't bother to publish it unless a few people are interested.
Posted By: sportbikes Re: Store user's birthdate - 12/30/2002 9:20 PM
Yes, I would like to use that to see if it tells a betty story about my site demographics.
Posted By: JoshPet Re: Store user's birthdate - 12/31/2002 2:55 AM
Dave,

I'd be interested in the part of the code that would grab the month and year. Then I'd make it automatically insert that into my birthday mod fields.

That way new users at my site would have their birth month and year filled in.
Posted By: Dave_L_dup1 Re: Store user's birthdate - 12/31/2002 10:40 AM
Ok, sportbikes & Josh, I've posted it here.
© UBB.Developers