Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 08-01-2002, 05:24 PM
Khanoom's Avatar
Khanoom Khanoom is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Automatic COPPA hack ...

Hi,

Can someone write a hack where the "Birthday Field" would be mandetory and if while "registering" you fall under the "coppa" age category, then after submiting you will receive an error saying something like:

"You are under the age of 13 and need to fill this Parental Permission form...)

Sorta like an "Age Check" in registeration where if the user specifies an age that falls under COPPA, they will get re-directed to the coppa form.

Thank you.
Reply With Quote
  #2  
Old 08-01-2002, 07:06 PM
mli mli is offline
 
Join Date: Nov 2001
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't they have that choice where you choose what side of a date you were born on and if you choose the wrong one you get an error. But even if someone was to put a hack like that I'm afraid peopel coud always lie about their age =\
Reply With Quote
  #3  
Old 08-01-2002, 07:59 PM
Khanoom's Avatar
Khanoom Khanoom is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi mli,

yes they do.

But, still I'm looking for this hack so just in case if someone does register in "adult" and then choses their birthdate under 13, then it's just a double insurance for you that the user would be moved to coppa and therefore await proper authorization.

I hope someone who is willing to make this hack reads this.

Thank you.
Reply With Quote
  #4  
Old 08-01-2002, 09:13 PM
mli mli is offline
 
Join Date: Nov 2001
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, but let's say they get the error because of the hack. Then they can just go back and change their birthday. People lie everyday =\
Reply With Quote
  #5  
Old 08-02-2002, 11:43 AM
Khanoom's Avatar
Khanoom Khanoom is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Is there anyone out there who can write this hack?

It should be sort of like this:

1. a user will choose their birthdate in registeration or profile.

2. If user's age is less than 13 they will go into authorization mode and will be concidered a coppa user automatically.

Please reply only if you want to help. Not, if you just want to say it can't be done or should not be done! After all, this is a place for "Request" not for "What's you opinion."

Thankx
Reply With Quote
  #6  
Old 08-02-2002, 02:04 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Although mli is right, I would like this too...

In my view : If they lie to become a member without their parents permission, they are no longer protected...

Satan
Reply With Quote
  #7  
Old 09-03-2002, 09:31 PM
dm02's Avatar
dm02 dm02 is offline
 
Join Date: Aug 2002
Location: In the Data Stream
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would also like to see this hack.... too many users leave the birthday field blank how can you make it mandatory to fill it in???
Reply With Quote
  #8  
Old 09-04-2002, 09:08 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
too many users leave the birthday field blank how can you make it mandatory to fill it in???
Without hack version: (This is how I use in my board)

Create a hidden profile field via Admin CP called birthyear and make it mandatory. So users would need to fill it in registration and IMO it would better than making default birtyear field mandatory, because people may not like to share their birthyear with all members. If it's hidden, they'll fill.

You can also apply this hack to this field:
https://vborg.vbsupport.ru/showthrea...threadid=35118

Wtih Hack:
Edit register.php, find:
PHP Code:
  $username trim($username); 
Before that add:
PHP Code:
if (int($year)<1900 or int($year)>1996 OR !$day OR !$month)
 {
        eval(
"standarderror(\"".gettemplate("error_fillbirthday")."\");");
        exit;
     } 
Create a template named "error_fillbirthday" and specify your error message there.

Not tested, should work.. (If not you can make a search in requests forum, I recall I gave the tested code for this hack before in this forum)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:04 PM.


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.04399 seconds
  • Memory Usage 2,223KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete