Birthday on Registration

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27959
Joined: Sat Aug 16, 2003 7:36 am

Birthday on Registration

Post by Extensions Robot » Thu Oct 30, 2008 10:04 am

Modification name: Birthday on Registration
Author: DavidIQ
Modification description: Require birthday during registration
Modification version: 1.0.2
Tested on phpBB version: 3.0.12

Download file: Birthday_on_registration.zip
File size: 35.63 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 11 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25325
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Birthday on Registration

Post by Paul » Thu Oct 30, 2008 10:04 am

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17055
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Birthday on Registration

Post by DavidIQ » Thu Oct 30, 2008 10:04 am

Cool...my first "official" MOD released into the MODDB for phpBB3 :ugeek:

Nothing out of the ordinary with this one...just adding the Birthday fields to the registration form.

Verified working as is on 3.0.6
Last edited by DavidIQ on Tue Dec 01, 2009 7:46 pm, edited 1 time in total.
Reason: Update version info
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
DianaRae
Registered User
Posts: 163
Joined: Fri Mar 22, 2002 9:45 pm
Contact:

Re: Birthday on Registration

Post by DianaRae » Sat Nov 01, 2008 6:32 pm

Thank you for this mod. :)

It's hard for people to enter their birthday in their profiles. This will make it happen.

I have one request. What do I need to change in the code so it doesn't require the year at sign up? Younger people really don't care. Older folks do.

Thanks for your help.
Diana Rae
~I was blonde in another life..that explains a LOT of things~

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17055
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Birthday on Registration

Post by DavidIQ » Sat Nov 01, 2008 10:07 pm

Well...it's a little unconventional but you can try this in the instructions:

In includes/ucp/ucp_register.php

Find:

Code: Select all

				'lang'				=> array('match', false, '#^[a-z_\-]{2,}$#i'),
Add after:

Code: Select all

				'bday_day'				=> array('num', false),
				'bday_month'			=> array('num', false),
You'll need to remove this line added by the mod:

Code: Select all

				'user_birthday' 	=> array('date', false),
Let me know if it works as I have not tested this...
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

Rex
Registered User
Posts: 82
Joined: Wed Oct 29, 2008 7:28 pm

Re: Birthday on Registration

Post by Rex » Fri Nov 07, 2008 4:00 pm

We installed this mod, edited the files. However, the birthday is not being asked at registration. What might we be doing wrong?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17055
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Birthday on Registration

Post by DavidIQ » Fri Nov 07, 2008 4:12 pm

You've edited the template you're actually using and refreshed the template in ACP?
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

Rex
Registered User
Posts: 82
Joined: Wed Oct 29, 2008 7:28 pm

Re: Birthday on Registration

Post by Rex » Fri Nov 07, 2008 5:58 pm

Yes, I have edited the template that we're using. How do I refresh the template?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17055
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Birthday on Registration

Post by DavidIQ » Fri Nov 07, 2008 6:02 pm

ACP -> Styles -> Templates -> Refresh (for the style you're using)

If it still doesn't work then provided you've done all of the edits correctly you might have the birthday feature disabled in which case the fields won't show on registration.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

Rex
Registered User
Posts: 82
Joined: Wed Oct 29, 2008 7:28 pm

Re: Birthday on Registration

Post by Rex » Fri Nov 07, 2008 6:10 pm

Ok, I will try refreshing. Thank you, David. :D

If the birthday field is not enabled how would I enable it?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17055
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Birthday on Registration

Post by DavidIQ » Fri Nov 07, 2008 6:22 pm

That would be ACP -> Board features -> Allow Birthdays

But if you can already see birthdays elsewhere on the board then most likely it's already enabled.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

Rex
Registered User
Posts: 82
Joined: Wed Oct 29, 2008 7:28 pm

Re: Birthday on Registration

Post by Rex » Sun Nov 09, 2008 8:20 pm

Well here is my problem. I added all of the code as instructed. However, the field is not showing up on the registration page and now when a user tries to register, they cannot because they get an error that says the birthday info is missing but there is not field to enter the birthday. What did I do wrong?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17055
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Birthday on Registration

Post by DavidIQ » Sun Nov 09, 2008 11:08 pm

Post a link to your forum so I can further investigate.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

ACE8018
Registered User
Posts: 11
Joined: Sat Jan 10, 2009 8:04 pm

Re: Birthday on Registration

Post by ACE8018 » Sat Jan 10, 2009 8:17 pm

when my guests try to register i get "The entered birthday is not a valid date."

i added a 01/05/92

how do i fix?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17055
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Birthday on Registration

Post by DavidIQ » Sun Jan 11, 2009 12:27 am

Link to your board please.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

Locked

Return to “[3.0.x] MOD Database Releases”