PDA

View Full Version : Registration Denied if under 18


Andreas
07-28-2005, 10:00 PM
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 :(

* sketch42 clickity click click clicks install

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? :)


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
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
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
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
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
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
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
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
Nothing :)
What do yo want to do?

webspider
08-02-2005, 04:19 PM
Nothing :)
What do yo want to do?



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
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
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

print_table_header('user_age_options')

Should read:

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
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

DoKoK
09-21-2005, 02:13 AM
Ok, is there any other way to do it until that gets fixed?

richard4339
09-27-2005, 04:07 PM
After many tries (and upgrading to rc3), it works =)

nine45
09-28-2005, 12:11 AM
I've noticed that the plugin only seems to look at the year rather than the complete date, I had someone register today and the birthday was 10/21/1987 they should not have been able to register but they did. Have I missed something?

webspider
11-01-2005, 04:52 PM
Is there a way to age the ability to also set age by usergroup?

AWI
12-09-2005, 08:30 AM
Cool hack, very useful. Thanks

icemann
12-10-2005, 03:50 AM
Yes. RC3 gices you the features you want (stop Users from editing their DOB)

Where is this setting at?

I seen it before but can't find it for nothing now. lol

Exitilus
12-24-2005, 02:35 AM
I seem to be having a problem with this plugin.

I set the age for 18. Anyone that is 18 years old and born in 1987 it won't work. but 86 .. works fine :|

Exitilus
12-28-2005, 07:07 PM
Anyone? O.o

quanvo81
01-02-2006, 09:17 PM
Fantastic, this is the one I have been looking for my Adult Forum. Clicked Install.

Exitilus
01-04-2006, 10:36 PM
I seem to be having a problem with this plugin.

I set the age for 18. Anyone that is 18 years old and born in 1987 it won't work. but 86 .. works fine :|

:disappointed:

bigmonay2k
01-07-2006, 12:08 AM
cool thanks, I need this..lol

DruidToolz
01-10-2006, 10:52 PM
Looks like and interesting Mod, but does it work with ver. 3.5.3 or is this mod already included

Exitilus
01-11-2006, 02:30 AM
Seems like I'm still having a problem. If I say my birthday is Jan 1st, 1988 which means that person is 18. It brings up a message saying You must be 18 to register ??

DruidToolz
01-11-2006, 03:03 AM
Ok i been looking around.. have u tried to go into your admincp > search phrases > type: registration... then editing the file deny_under_13_registration

NotoriousREV
01-20-2006, 09:54 AM
Just installed this hack and it works really well except it won't display any of my age restricted forums to non-registered users. I know this is by design, but I don't actually want to stop users under 18 seeing content, I just don't want them being able to post or reply to threads in certain forums (financial products). Is this possible?

moonclamp
01-20-2006, 02:46 PM
Seems like I'm still having a problem. If I say my birthday is Jan 1st, 1988 which means that person is 18. It brings up a message saying You must be 18 to register ??

I've noticed that you have to be 18 years old plus the amount of days left in the month. (ie you have to wait until the next month before you can join.)

If you edit register.php and change 13 to 18 you can get a similar result with the coppa system ... however this will allow a 17 year old who will be 18 by the end of the month. (If your birthday is at the end of the month you will still be allowed to join at the start of the month)

blitzburgh
01-27-2006, 10:05 PM
Is there a way you can set a maximum age for this hack? I want to do a Teen Forum for my nieces and nephews and I am looking for a hack that will set the age under 18.

quanvo81
02-19-2006, 08:02 PM
This hack doesn't denied a user if he/she under 18.
If
at the first step, he will have to fill in his birthday correctly, example 1-1-1977, then it will by pass the step 1 for him. But then the step 2 if he try to edit his birthyear example he edit from 1977 to 1991, he still can be able to finish the registration process.
Is there any way that it will decline to finish the registration process if he edit that birthyear?
Well, I am just looking for a plugin to work with this. Because right now I have to edit the register.php from number 13 to number 18.
Thanks!

jadkar
03-15-2006, 03:36 AM
This hack is great!!!!!

I have one issue though and I'm hoping someone can solve it, this will make this hack perfect!!

If I have a user(Bob) who is restricted from forum X. All that Bob needs to do is look up another member who browses forum X regularly. If Bob does a search on that particlar user for his most recent posts from forum X and clicks one of those posts then Bob goes right into the restricted forum X. It's just like a back door :(

This totally blows the whole security out of the water. Is there anything that can be done??

jadkar
03-15-2006, 02:26 PM
............... Nobody has an answer :(:(

Exitilus
03-19-2006, 09:26 PM
Anyone planning on Updating this Hack so it works a bit more precisely so people who just turned 18 can still sign up?

Andreas
03-23-2006, 04:04 AM
@jadkar
This Hack sets the permissions for the forums to 0 if the user is not old enough, so it shouldn't really matter how he tries to access a forum - he should get a noperm error.

Exitilus
03-23-2006, 04:05 AM
fyi to anyone who reads this. Been trying to get this to work a bit more efficientyly in this thread

https://vborg.vbsupport.ru/showthread.php?t=111131

Andreas
03-23-2006, 04:16 AM
This has nothing to do with efficiency ;)

WillTP
04-10-2006, 05:51 PM
So how does one actually install this on their on board? I'm a little unclear about how to actually access this hack. :confused:

Thanks.

Exitilus
04-12-2006, 04:44 AM
Install the product. Then go to Vbulletin Options, User Registration.

(I'm dead tired but if i remember the steps that is it)

jerx
05-24-2006, 01:55 PM
I have the same problem as Exitilus mentioned in post 47. The corrected codes shown at https://vborg.vbsupport.ru/showthread.php?t=111131 are not working.

Does anyone know how to solve this problem?

Exitilus
05-25-2006, 02:31 AM
Hey Jerx. Yah I never found code that worked exactly :(

jerx
05-25-2006, 02:59 AM
Too bad. I believe this hack is not really the reason for this problem. VB' s coppa code does not work precise enough either. This is a bug which should be corrected quickly. This could get some forums into real problems, because it doesn' t comply with coppa laws.

bada_bing
05-25-2006, 03:09 AM
Has anyone installed this on vb 3.5.4 and working correctly? Any upgrade plans for this hack?

thedvs
06-20-2006, 05:38 PM
See this new hack for v3.5.4

https://vborg.vbsupport.ru/showthread.php?t=95992

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


Pretty easy as well. Update coming soon ;)

In the US the law requires it ;)

Cibox.de
08-09-2006, 04:53 PM
Would it give an update of this hack for vBulletin 3.6?

webspider
08-11-2006, 03:45 PM
I've been using this hack for a longtime but today after upgrading to 3.6.0 I had to unistall. Any plans to update it to 3.6.0?

Mr Chad
08-13-2006, 09:33 PM
3.6.0 port please!

Basileuswow
08-14-2006, 04:51 PM
Yes, we need it for 3.6.0 ASAP please ;)

007
08-23-2006, 07:28 PM
Hi,

This no longer works on 3.6.0. Are you planning on releasing an upgrade to this? Thanks. :-)

~007

Xzyte
08-28-2006, 08:21 AM
Yep, a upgrade for this would be greatly appreciated.

professorb
09-03-2006, 07:02 PM
Yep, a upgrade for this would be greatly appreciated.

Seconded! :)

Basileuswow
09-06-2006, 06:12 AM
When?! %-)

murdo
09-07-2006, 09:01 AM
would love it for 3.6.0 as well :)

Neal-UK
09-16-2006, 04:14 PM
me to, i keep getting a box asking me to log in to visionscripts.com when I view this thread relating to this hack for 3.6.1....???

jadkar
10-21-2006, 04:12 AM
Damn, I didn't even realize this was messing up my 3.6.1 upgrade until now. Someone just told me that when a user tried to register it just keeps bouncing them back to the enter your birthday screen. It seems to be the "register_check" page is at fault. I had to disable the hack.

Someone PLEASE port this to 3.6.1 it was very usefull in keeping the underage members out of certain forums.

PLEASE!!!

thedvs
11-25-2006, 12:29 PM
guess noones going to port it :(

Andrew Usher
12-17-2006, 08:39 AM
Has this been updated to work with 3.6 yet?

Konstantinos
12-18-2006, 05:58 PM
as others work doesnt work in 3.6.4

plz update

da420
12-18-2006, 06:06 PM
This is not useful because most under-18 people do not state their real age.

While they can lie on their real age, it helps protect the owners of adult sites as they can say "We have a restriction on underaged members, so if they lied about their age there is nothing I can do." By having this, you can put the blame on the user/users parents instead of it all falling on you.

Konstantinos
12-23-2006, 12:57 PM
can someone port this for 3.6.4 ?

Xoligy
12-28-2006, 08:43 AM
I'll port it :) Give me a couple of hours.

EDIT: Other business arose, but I got quite far with it. Shouldn't be too long.

Konstantinos
12-28-2006, 10:54 PM
we are on Hold ;)

mma365
01-04-2007, 07:00 PM
Please, still need it.

Xoligy
01-04-2007, 07:43 PM
Sorry, I've not had time to go back to it. I've stuck a post-it note reminding me to finish it though :P

digibluez
01-08-2007, 02:13 PM
works for 3.6.4 :) installed . good for childs that are not supposed to see some forums. And if u ask they can change the age, well if they are that naughty then they are allowed to see,but most kids age 9-12 will not do so, that is why this plugin is very useful thank you.

Xoligy
01-10-2007, 12:59 PM
As promised: Updated and improved version for 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=136097).

coderphp
01-10-2007, 11:25 PM
good idea thank you

mma365
01-19-2007, 07:51 PM
Thank you! :D

VTXCafe.com
06-20-2008, 02:43 AM
I cannot get this uninstalled,...I'm stuck...

When I try and add an ago to a column I get this error:

minimumage = 18
WHERE forumid = 14;

MySQL Error : Unknown column 'minimumage' in 'field list'
Error Number : 1054
Request Date : Thursday, June 19th 2008 @ 10:39:48 PM
Error Date : Thursday, June 19th 2008 @ 10:39:48 PM

When I try and delete it I get this error:

Invalid SQL:
ALTER TABLE forum DROP minimumage;

MySQL Error : Can't DROP 'minimumage'; check that column/key exists
Error Number : 1091

Anyone know how I can get this fixed?

bootytag
11-17-2011, 04:31 PM
once you've install how do make it work?