Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Kezz101 - joulukuu 05, 2012, 01:59:06 IP

Otsikko: Add custom registration field value to MySQL Database
Kirjoitti: Kezz101 - joulukuu 05, 2012, 01:59:06 IP
So I am doing a bit of touch ups for my forum running version SMF 2.0.2 and basically I have created a custom field during user registration. How do I add the value of this field to a MySQL database when a user successfully registers.

If possible I would like it to be an external MySQL database but if that isn't possible then the MySQL Database that my forum runs on would suffice.

Thanks in advance,
Kezz
Otsikko: Re: Add custom registration field value to MySQL Database
Kirjoitti: KitchM - heinäkuu 11, 2014, 02:44:42 IP
Great question!
Otsikko: Re: Add custom registration field value to MySQL Database
Kirjoitti: SA™ - heinäkuu 11, 2014, 04:05:51 IP
how did you create this feild are you  using custom profile  feilds built in smf? if so you can show that custom feild on registration page

you should realy update your forum
Otsikko: Re: Add custom registration field value to MySQL Database
Kirjoitti: Arantor - heinäkuu 11, 2014, 04:06:19 IP
It's a topic from 2012 that's been bumped.
Otsikko: Re: Add custom registration field value to MySQL Database
Kirjoitti: SA™ - heinäkuu 11, 2014, 04:07:28 IP
omg never saw the date thanks ‽

/me feels silly now