vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Registration Denied if under 18 (https://vborg.vbsupport.ru/showthread.php?t=93138)

Andreas 07-28-2005 10:00 PM

Registration Denied if under 18
 
Userage Based Permissions

Description
This Hack allows yo to specify a minimum Age to register, as well as specifying a minimum Age for each Forum.
Please note that this can be as easily tricked as COPPA and does in no way
fulfill law requirements for Adult Content.

Details
1 Product XML with 5 Plugins, 3 Phrases, 1 Setting and 1 Query

History
1.0.0 Initial Version
1.0.1 Minimum Age is now a Setting (ACP / vBulletion Options / vBulletin Options / User registration Options)
Added an Option in Forum Manager to specify Minimum Age for each Forum
1.0.2 Fixed a slight mistake in the XML which caused an error in Forum Manager
1.0.3 Added a Plugin that was missing in the XML so the Option in Forum Manager now does show up ;)

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

sketch42 07-29-2005 02:53 PM

nice... where were you with this hack when i needed it a year ago :(

[high]* sketch42 clickity click click clicks install[/high]

matt2cacnio 07-29-2005 03:31 PM

is there like a screenshot on how it looks like? haha jk. gnna install once i have my board upgraded.

Protoman 07-29-2005 03:37 PM

/me saves for future use

webspider 07-29-2005 04:03 PM

You were just promoted to the TOP of my good guy list.

BIG thanks.

richard4339 07-29-2005 04:06 PM

Now, what I would like is the ability to refuse access to a certain forum based off age *hint hint*

This is a cool hack though. Can you change the minimum age?

Andreas 07-29-2005 04:16 PM

Yes edit the Plugin on Hook register_checkdate and edit the 18 accordingly.
Might also want to change the Phrase.

akanevsky 07-29-2005 04:22 PM

This is not useful because most under-18 people do not state their real age.

Andreas 07-29-2005 04:32 PM

I know, but the request keeps popping up - so there it goes.
Then again, why do we have COPPA at all? :)

Quote:

Originally Posted by richard4339
Now, what I would like is the ability to refuse access to a certain forum based off age *hint hint*

Pretty easy as well. Update coming soon ;)

Allan 07-29-2005 05:25 PM

scre...plea....

lol

Ok?, bye :p

webspider 07-29-2005 05:26 PM

Quote:

Originally Posted by Dark Visor
This is not useful because most under-18 people do not state their real age.

Agreed, however this is one more step.

matt2cacnio 07-29-2005 05:37 PM

next thing u will know. you will need a credit card to verify ur 18 yrs and older.

Andreas 07-29-2005 05:56 PM

Updated
Minimum Age is now configurable, also added a per Forum setting.

richard4339 07-29-2005 06:55 PM

Kirby, I've been waiting for this for so long.

Unfortunately, it will not install. It gives an error (which flashes by too quickly to catch).

akanevsky 07-29-2005 07:53 PM

Quote:

Then again, why do we have COPPA at all?
Cause the developers had nothing else to do / wanted to keep customers satisfied?
I don't see the point in doing any age verification or whatsoever, regardless of what site it is, unless there is some biometric identification enforced... Which first of all, does not exist yet / does exist but is too expensive for average user, and second of all, even if someone is wealthy enough to buy a biometric authorization, then that can be hacked too :rolleyes: Too early to even think about such restrictions, anyway.

Boofo 07-29-2005 07:55 PM

Could someone edit their birthdate to bypass this in a certain forum?

House_of_Crazed 07-29-2005 08:09 PM

This is interesting to me, but I am curious about being able to lock in the birthdate without being able to be editted unless it's through the admincp.

richard4339 07-29-2005 11:51 PM

Quote:

Originally Posted by House_of_Crazed
This is interesting to me, but I am curious about being able to lock in the birthdate without being able to be editted unless it's through the admincp.

THAT is a good idea.

Another thing, if the user doesn't input their birth year, what happens then?

Chris M 07-30-2005 12:10 AM

Quote:

Originally Posted by richard4339
THAT is a good idea.

Another thing, if the user doesn't input their birth year, what happens then?

If you require them to enter their birthday on registration, does it not ask for the birth year as well?

I believe there is also a hack that will ask users to update their profile fields before they can participate further in the site - Could be adapted to birthdays and then you lock them out of editing it in the future :)

Satan

Adrian Schneider 07-30-2005 02:23 AM

Quote:

Originally Posted by Dark Visor
Cause the developers had nothing else to do / wanted to keep customers satisfied?
I don't see the point in doing any age verification or whatsoever, regardless of what site it is, unless there is some biometric identification enforced... Which first of all, does not exist yet / does exist but is too expensive for average user, and second of all, even if someone is wealthy enough to buy a biometric authorization, then that can be hacked too :rolleyes: Too early to even think about such restrictions, anyway.

Not everyone is dishonest about their age. 5% effectiveness is still better than 0.

Andreas 07-30-2005 03:47 AM

Quote:

Originally Posted by Boofo
Could someone edit their birthdate to bypass this in a certain forum?

Yes.

@richard4339
Just tested, installs just fine for me.

@Dark Visor
Well, as said - it might be better then nothing at all :)
Of course, a real solution would require X.509 Certificates on a protected Token (USB Device, Smartcard, etc.)

ExpertDomino 08-01-2005 05:37 AM

works nice for my Trucking Forum.........thanks alot!

Andreas 08-02-2005 03:45 PM

Updated XML (one Plugin was missing due to me being dumb ;))

webspider 08-02-2005 04:06 PM

Quote:

Originally Posted by KirbyDE
Updated XML (one Plugin was missing due to me being dumb ;))

Thanks for the update. Do you know anything about hacking external.php?

I'm hoping

Andreas 08-02-2005 04:09 PM

[ot]
Nothing :)
What do yo want to do?
[/ot]

webspider 08-02-2005 04:19 PM

Quote:

Originally Posted by KirbyDE
[ot]
Nothing :)
What do yo want to do?
[/ot]


Because my board like many has all private forums and I get no output. With the older external.php pre 3.08 I was able to hack it to use a special usergroup I created. That usergroup had limited access to certain forums and was able to get headlines.

This is what I used but I have no idea how to hack the new external.php

// set us up as a very limited privileges user
$vboptions['hourdiff'] = (date('Z', TIMENOW) / 3600 - intval($_REQUEST['timeoffset'])) * 3600;

//set usergroup
$bbuserinfo = array('usergroupid' => 28);
$usergroupcache = array();
$permissions = cache_permissions($bbuserinfo);

richard4339 08-08-2005 03:31 PM

Quote:

Originally Posted by KirbyDE
Yes.

@richard4339
Just tested, installs just fine for me.

@Dark Visor
Well, as said - it might be better then nothing at all :)
Of course, a real solution would require X.509 Certificates on a protected Token (USB Device, Smartcard, etc.)

I'm still getting the same thing. Oh well =/

vphost 08-18-2005 05:44 PM

Quote:

Originally Posted by richard4339
I'm still getting the same thing. Oh well =/

Hi, do you have one similar to this that is for v3.0.8 or .7 rather than 3.5?

Thanks

ChrisMayhew 08-25-2005 11:53 AM

No matter what i try to edit i type my birth year in (26/1/1987) and it says im not 18. But when i change the month to the 12 it will accept it.

I also changed the settings to only allow people 16+ and it has not took any affect.

Edit: I think i just fixed it.

Mith 09-05-2005 11:05 AM

Just a cosmetic one for you kirby

Hook Location : forumadmin_edit_form
Userage Based Permissions

Code:

print_table_header('user_age_options')
Should read:

Code:

print_table_header($vbphrase[user_age_options])
I'm sure you meant to put this in, as you had added a phrase for it.

artonex 09-12-2005 11:15 AM

i have installed this hack :)

DoKoK 09-18-2005 03:46 PM

Got a quick question...

I installed this plugin and I also enabled User Profile Options -> Require Date of Birth so people CAN'T edit their birth date after...

The only problem is that even after you first put in the age you can modify it on the second page (where you actually sign up) and it let's you go trough even if under the limit age...

Any idea how to either:

1. Have User Profile Options -> Require Date of Birth enabled but not displayed a second time on user signup.

2. Block users from modifying their DOB.

Thanks

Andreas 09-18-2005 08:18 PM

You should upgrade to RC3

richard4339 09-19-2005 05:47 PM

I'm not having luck installing any hacks lately. I don't think the problem I had with your hack was something your hack caused, I think its a bug from RC1 (still haven't changed to 3)

DoKoK 09-19-2005 07:33 PM

Quote:

Originally Posted by KirbyDE
You should upgrade to RC3

If you are talking about me, I do have RC3...

IS there something I'm missing?

Andreas 09-19-2005 10:20 PM

Yes. RC3 gices you the features you want (stop Users from editing their DOB)

DoKoK 09-20-2005 02:25 AM

The only option similar to that is User Profile Options -> Require Date of Birth which unfortunatly asks them their birthdate on signup after the first check...

Is there another option that I didn't see?

Andreas 09-20-2005 02:29 AM

Yes, that's the option which keeps users from editing their birthdate, which is what you want - isn't it?

DoKoK 09-20-2005 11:58 AM

Not exactly.

Because once you enbale that people can change their DOB on the registration page (after the initial DOB question, the page where you put your nickname, e-mail,etc). And on this page they can modify the year and get by it.

Thus that option is good temporarly hoping people won't change their DOB on the next page, though it's super easy to do.

Andreas 09-20-2005 12:11 PM

Then this should be reported as a Bug @ .com


All times are GMT. The time now is 08: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.01436 seconds
  • Memory Usage 1,817KB
  • 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
  • (2)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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