[DEV] Birthday Control

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

[DEV] Birthday Control

Post by Satanasov » Wed Jun 25, 2014 3:46 pm

phpBB Birthday Control

Description:
A phpBB 3.1/3.2 extension that gives you control over registration age of the user.

Image

Features:
Global:
- age showing in memberlist view
- Use version checking
ACP:
- Option to globally allow age restriction
- Selectable age restriction for registration
- Show Age in Profile
- Allow users to control showing age in profile
- Show Age in postrow
- Allow users to control showing age in postrow

UCP:
- Show Age in profile
- Show Age in postrow

Register:
- Add Birthday field on agreements page
- Add Birthday field on registration page

Status:
BETA
Version 1.0.0

Repository:
https://github.com/lucifer4o/birthdaycontrol

Please report bugs in GitHub so I can track them.

This extension will not work out of the box for SQLite3. Please contact me if you want to use it with SQLite3 DBMS.
Last edited by Satanasov on Wed Feb 01, 2017 10:17 am, edited 8 times in total.

User avatar
noth
Registered User
Posts: 2433
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Birthday Control

Post by noth » Fri Jun 27, 2014 6:20 pm

so for example if a person was aged under 18 and your site was an 'Over 18' site the person registering would be refused via this extension?

any screenshots would be appreciated :ugeek:
UK planning forums got a planning application in the UK?

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Birthday Control

Post by Satanasov » Sat Jun 28, 2014 3:05 pm

Screenshots ... when I complete it ...

It's still work in progress

User avatar
Methen
Registered User
Posts: 441
Joined: Wed Dec 01, 2004 12:13 am
Contact:

Re: [DEV] Birthday Control

Post by Methen » Sun Jun 29, 2014 6:15 pm

No offense, but I know I would never join a forum that shows my age, that's this a violation of privacy...
Somebody is asking for a Hinne Whooping!!!

User avatar
Jessica
Former Team Member
Posts: 4340
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Birthday Control

Post by Jessica » Sun Jun 29, 2014 7:51 pm

Methen wrote:No offense, but I know I would never join a forum that shows my age, that's this a violation of privacy...
This extension allows you to hide the age in your profile and mini profile.
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Birthday Control

Post by Satanasov » Sun Jun 29, 2014 9:52 pm

No offense but it depends of the kind of forum you are joining. And you have to know that age is shown even now, when ACP option Age is enabled.

NeilUK
Registered User
Posts: 276
Joined: Fri Oct 28, 2005 7:54 pm

Re: [DEV] Birthday Control

Post by NeilUK » Mon Jun 30, 2014 12:34 am

I'll be keen to use this extension, I run a Forum where an age limit should be enforced. I use the "Prime Birthday" mod at the moment but I'll use this on my test 3.1 version and will definitely use it when fully released. A very useful mod for websites in and around the modelling industry as an example

User avatar
david63
Jr. Extension Validator
Posts: 12971
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [DEV] Birthday Control

Post by david63 » Mon Jun 30, 2014 6:23 am

This issue of "enforcing" the entry of a birthday to restrict access has been discussed many times and on its own is unenforceable. Unless there is some form of verification then a member can enter any date of birth that they want - irrespective of what it may say in the registration agreements and/or forum rules.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Birthday Control

Post by Satanasov » Mon Jun 30, 2014 8:23 am

@David63 - this is true, but ... what this extension does is to comply with the age restriction required by law. The site admin is restricting the age because the board is intended for ... 18+ let's say. There needs to be restriction by age. However it is a breach of persons confidentiality to request age verification such as drivers license or passport if you are not licensed as Operator of Confidential Data. This is how the law stands in my country.

And I have to oblige - I have to restrict access to my profile ... but I am not required to verify if the user tells the truth.

NeilUK
Registered User
Posts: 276
Joined: Fri Oct 28, 2005 7:54 pm

Re: [DEV] Birthday Control

Post by NeilUK » Mon Jun 30, 2014 1:53 pm

The having the age set to 18 and forcing the user to enter a date is to cover the admin of the board. If the user then lies and enters a birthday to him/her older then that is the user's responsibility. The admin of a board can only do what he/she can.

So having the age restriction as an option is great, after all people can lie on Facebook to enter an 18+ group or to even join up to Facebook and Twitter (Don't you have to be 15 to join up?)

The fact that people can lie and join anyway shouldn't be a reason to not use this mod

User avatar
david63
Jr. Extension Validator
Posts: 12971
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [DEV] Birthday Control

Post by david63 » Mon Jun 30, 2014 2:50 pm

I was not suggesting that this mod/extension should not be used but making the point that it is not something that is a panacea to control users of a forum and is, in principle, no different than activating the COPPA option.

The issue of trying to control access to anything on the Internet by age is a far wider issue than can ever be resolved by ticking a box/entering a date/pressing a button and it is only a matter of time before there is a legal challenge of such activities somewhere in the world.

Having said that I do not know what the answer is.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [DEV] Birthday Control

Post by MrC » Wed Jul 02, 2014 6:29 am

Getting this error when i try to enable the extension.
Something went wrong during the request and an exception was thrown. The changes made before the error occurred were reversed to the best of our abilities, but you should check the board for errors.

MIGRATION_INVALID_DATA_CUSTOM_NOT_CALLABLE

Return to the extension list
Using RC1

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Birthday Control

Post by Satanasov » Wed Jul 02, 2014 7:35 am

Status:
In development
WARNING: Extension depends on https://github.com/phpbb/phpbb/pull/2675
I'm waiting the PR to be merged. This allows extensions to create language entries for custom profile fields ... and to clean after itself.

I think I will be done with this today ... then I will create separate release without this PR so you can test it.

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Birthday Control

Post by Satanasov » Wed Jul 02, 2014 9:13 am

@MrC - here you can find the pre PR release.

https://github.com/lucifer4o/birthdayco ... ee/pre2675

Please test it and tell me for any problem you may find.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [DEV] Birthday Control

Post by MrC » Wed Jul 02, 2014 10:06 am

it's installed, quick test

In UCP - Profile
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/profilefields/type/type_bool.php on line 210: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/profilefields/type/type_bool.php on line 210: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5018: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3744)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5020: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3744)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5021: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3744)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5022: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3744)
Image

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: GoBieN and 30 guests