vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Birthdate is a Required Field (https://vborg.vbsupport.ru/showthread.php?t=56643)

Gary King 08-30-2003 10:00 PM

Birthdate is a Required Field
 
<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:

Quote:

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.

Code:

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?

[high]* SmEdD might of just been seing stuff . . . :o
[/high]

Quote:

Today at 12:04 AM Sebastian said this in Post #4
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

Quote:

Yesterday at 12:04 AM Sebastian said this in Post #4
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.


All times are GMT. The time now is 02:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01016 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete