View Full Version : Birthdate is a Required Field
Gary King
08-30-2003, 10:00 PM
<font size="3">What does this hack do?</font>
It enables the Birthdate field to become a required field, so that every member must fill it out otherwise they won't be able to register.
Tae-Hwan
08-31-2003, 06:18 PM
excellent! :)
the hack works, but there's a small bug: when a new user registers without inputting his birthday, he sees:
You have not completed the required field "". Please press the back button, complete it, and resubmit the form.
instead of "You have not entered your birthdate. Please go back and do so now."
also, just out of curiosity.. this hack seems to prevent a user from registering even if he puts in both the month and day of his birth, but not the year. i looked at the code, and it seems to only restrict the month and day.
if ($month == -1 or $day == -1)
so how does it protect against the year? :(
Gary King
08-31-2003, 08:10 PM
OK it checks the year now.
For the problem you're having, I'm not sure what's going on because the hack works fine for me.
Sebastian
09-01-2003, 03:04 AM
why force a person to reveal their private info?
nice way to annoying possible new members.
you dont even have your birthday field fill in here :p
what next, social security number required? ;)
Gary King
09-01-2003, 03:06 AM
Well, then the users just don't have to register, that's all ;)
Sebastian
09-01-2003, 03:07 AM
your loss not theirs :p
SmEdD
09-01-2003, 04:42 AM
I thought there was a hack like this already?
* SmEdD might of just been seing stuff . . . :o
Today at 12:04 AM Sebastian said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=430261#post430261)
why force a person to reveal their private info?
nice way to annoying possible new members.
you dont even have your birthday field fill in here :p
what next, social security number required? ;)
This can verfy a users age if you need if, as some boards do.
ZiRu$
09-01-2003, 07:52 PM
Thanks alot man.....really appreciate it!!!! *INSTALLED*
Red Blaze
09-02-2003, 05:39 PM
Hmm... this could help me in something I wanted. I'll install it. ^_^ Thanks!
Dark_Wizard
09-02-2003, 08:59 PM
Yesterday at 12:04 AM Sebastian said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=430261#post430261)
why force a person to reveal their private info?
nice way to annoying possible new members.
you dont even have your birthday field fill in here :p
what next, social security number required? ;)
I think this is an excellent idea...helps with COPPA if you use it and like myself we do require an age limit for our clan.
TheComputerGuy
09-13-2003, 11:56 AM
How come I can't see this hack....
I mean...I am licensed.
assassingod
09-13-2003, 11:57 AM
How come I can't see this hack....
I mean...I am licensed.
It looks like it has been removed.
TheComputerGuy
09-13-2003, 12:02 PM
thanks...thought I was going crazy, checked my license 3 times lol
Well then...I guess we will have to wait for its return!
Gary King
09-13-2003, 01:24 PM
Strange, when I edit the post, the attached instructions.txt is still there.
I'll see what I can do.
Gary King
09-13-2003, 01:33 PM
There we go, you should be able to see the attachment now :)
Red Blaze
10-03-2003, 02:55 PM
I installed this a while back and forgot to post that...
It works. ^_^ This hack could help me in a hack I'm trying to request. ^^; Based on permissions.
why force a person to reveal their private info?
nice way to annoying possible new members.
Who said that info COULD be public? For all you know it could be set to hidden. :p
Gary King
10-03-2003, 06:40 PM
I installed this a while back and forgot to post that...
It works. ^_^ This hack could help me in a hack I'm trying to request. ^^; Based on permissions.
Who said that info COULD be public? For all you know it could be set to hidden. :p
Yep, that's always a possibility ;) :D
ZiRu$
10-12-2003, 01:06 AM
The current TXT file still only forces you to put in the month and the day....what about the year?
Also....this only affects users registering...what if i want to make my users who are already joined put in their date the next time they go to edit their profile!
Onkel_Tom
11-10-2003, 03:42 PM
thanks for the nice feature ! => INSTALLED !
Burley
10-13-2005, 12:38 PM
I know this is a really old hack, but my forum still runs 2.3 (working on 3.5).
I clicked install and put this hack to good use.
However it still only checks for the month and the day, not the year.
I added the code which I thought solves the problem, but it didn't.
($month == -1 or $day == -1 or $year == -1)
So what is the correct code?
Does anybody know?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.