Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: pocttopus on January 18, 2019, 08:29:15 AM

Title: Additional information on registration page
Post by: pocttopus on January 18, 2019, 08:29:15 AM
Hello folks,

I want to add one more field to be required as additional information on registration page and that is birthday date.
How can I add this field?

Thanks.  :)
Title: Re: Additional information on registration page
Post by: Shambles on January 18, 2019, 09:16:59 AM
Not fancy doing a mod search?


https://custom.simplemachines.org/mods/index.php?mod=3680
Title: Re: Additional information on registration page
Post by: Deaks on January 18, 2019, 09:44:28 AM
You could just use the custom fields that are default on SMF instead of installing a mod
Title: Re: Additional information on registration page
Post by: Arantor on January 18, 2019, 09:50:43 AM
Birthday date is a core field though.
Title: Re: Additional information on registration page
Post by: pocttopus on January 18, 2019, 11:14:55 AM
Thanks folks for your response, you are very kind.
I think the mod has finished the job.
Secondly how can I add location field which is additional information to be required too?  :-\

Thanks.  :)
Title: Re: Additional information on registration page
Post by: Sir Osis of Liver on January 18, 2019, 11:57:40 AM
Quote from: Arantor on January 18, 2019, 09:50:43 AM
Birthday date is a core field though.

That's what I thought, but apparently it's not included in registration, only in profile, and if you add it as custom field it wouldn't get picked up by calendar.

Quote from: pocttopus on January 18, 2019, 11:14:55 AM
Secondly how can I add location field which is additional information to be required too?

Admin -> Core Features -> Advanced Profile Fields - enable it.  Then you'll see Admin -> Features and Options -> Profile Fields.
Title: Re: Additional information on registration page
Post by: pocttopus on January 18, 2019, 12:06:40 PM
@Sir Osis of Liver thanks for your response too, you are very kind but I have more issues now.  :-\

Quote from: Sir Osis of Liver on January 18, 2019, 11:57:40 AM
Quote from: Arantor on January 18, 2019, 09:50:43 AM
Birthday date is a core field though.

That's what I thought, but apparently it's not included in registration, only in profile, and if you add it as custom field it wouldn't get picked up by calendar.
True, I am not able to add fields as dates, only numeric or text field/textbox which is a lot different from birthday on the profile page.

Quote from: Sir Osis of Liver on January 18, 2019, 11:57:40 AM
Quote from: pocttopus on January 18, 2019, 11:14:55 AM
Secondly how can I add location field which is additional information to be required too?

Admin -> Core Features -> Advanced Profile Fields - enable it.  Then you'll see Admin -> Features and Options -> Profile Fields.
I tried this and Location is checked but that is not enough to be required field. It is only additional information on registration and displayed to the profile pages.
Title: Re: Additional information on registration page
Post by: Sir Osis of Liver on January 18, 2019, 08:47:54 PM
Show on Registration: - set to 'yes, and require entry'.

Title: Re: Additional information on registration page
Post by: pocttopus on January 19, 2019, 02:24:43 AM
Active and Show on Registration are both checked but yet members can register without filling that field.
Title: Re: Additional information on registration page
Post by: Sir Osis of Liver on January 19, 2019, 10:50:00 PM
Show on Registration is not a checkbox, it's a dropmenu, you have to select Yes, and require entry to make it a required field.
Title: Re: Additional information on registration page
Post by: pocttopus on January 20, 2019, 03:34:28 AM
It is a checkbox.  :-\

(https://i.postimg.cc/c6fxG5SC/Screenshot-19.jpg) (https://postimg.cc/c6fxG5SC)
Title: Re: Additional information on registration page
Post by: Aleksi "Lex" Kilpinen on January 20, 2019, 04:06:56 AM
That's a bit of an odd exception, and honestly I do not know why. But birthday is not among the options.
There is this though, Birthdate On Registration (http://custom.simplemachines.org/mods/index.php?mod=3680)

The dropdown with "no", "yes" and "yes and require entry" - are on the page where you create a new custom field.
Title: Re: Additional information on registration page
Post by: pocttopus on January 20, 2019, 04:18:03 AM
Thanks @Aleksi "Lex" Kilpinen for your response too, but @Sir Osis of Liver was referring to "Location"setting to be required on registration.

Quote from: pocttopus on January 18, 2019, 11:14:55 AM
Thanks folks for your response, you are very kind.
I think the mod has finished the job.
Secondly how can I add location field which is additional information to be required too?  :-\

Thanks.  :)

Mod Birthday On Registration (http://custom.simplemachines.org/mods/index.php?mod=3680) is installed and working properly.
Title: Re: Additional information on registration page
Post by: Aleksi "Lex" Kilpinen on January 20, 2019, 04:55:29 AM
Ah, I missed that. :)