[RC] Prime Age Group - Auto-add to groups based on user age

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
primehalo
Former Team Member
Posts: 2821
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

[RC] Prime Age Group - Auto-add to groups based on user age

Post by primehalo » Mon Sep 08, 2008 9:10 am

MOD Title: Prime Age Group
MOD Description: Allows users to be added and/or removed from groups automatically based on their age.
Notes: When a user logs in or changes their birthdate, they will be automatically added (or removed) from groups where the age conditions are met (or not met). It will not prevent the manual addition of users to a group where the user does not meet the age condition, however there is a strict enforcement option which, when enabled, will automatically remove the user the next time they log in or change their birthdate.

MOD Version: (see Installation Instructions for current version number)
MOD Download: Main Download
Demo Board: http://www.absoluteanime.com/forum/viewforum.php?f=95
Demo Username: tester
Demo Password: tester

For the release history, please view the Installation Instructions.

Screenshot: (1.0.0)
Image
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

Mr.AmiT
Registered User
Posts: 83
Joined: Wed Apr 09, 2008 7:01 pm

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by Mr.AmiT » Mon Sep 08, 2008 3:15 pm

Thanks!
Looks like a great MOD!
phpBB.co.il
phpBB Israel.

Thanks.
Amit.

net83it
Registered User
Posts: 500
Joined: Sun Jan 15, 2006 2:42 pm
Location: Sicily
Contact:

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by net83it » Mon Sep 08, 2008 4:35 pm

is this mod compatible with auto group mod?

User avatar
primehalo
Former Team Member
Posts: 2821
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by primehalo » Mon Sep 08, 2008 5:28 pm

I haven't tried it, but I don't see why it wouldn't be.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

Uchiha Sasuke
Registered User
Posts: 33
Joined: Wed Nov 21, 2007 4:58 pm

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by Uchiha Sasuke » Mon Sep 08, 2008 8:44 pm

this is the best mod that you have ever made and this actually intergrated with the Prime Birthdate Mod fine. i basically set my hentai groups min age to 18 and max to 0 and if i am doing this correctly it will force users to wait untill they are 18 or over. this calls for celebration :o :D

DJ Skitzo
Registered User
Posts: 596
Joined: Sun Aug 12, 2007 7:25 pm

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by DJ Skitzo » Thu Sep 11, 2008 7:13 pm

Another great mod, thanks Ken :D

AJStevens
Registered User
Posts: 50
Joined: Sat Feb 16, 2008 11:20 pm

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by AJStevens » Thu Sep 18, 2008 1:29 pm

Hi Ken,

Excellent MOD, I shall be installing this and the Birthdate MOD asap.

I do have one question though, I've seen no mention of an option to prevent user's altering their birthdate, is this feature in either of these MODs?

If not, could you make another MOD for this?
I would still want the admin, maybe even Moderators* (hmm...? maybe an option there) to be able to change user's birthdate (say if they actually did put it in wrong), and it should still be visible to the user in their UCP, just not alterable.


I realise the user can always create another account to get around this, but I'll probably have to implement an invite/ticket system to help prevent that. Although that doesn't get around them lying the first time I guess.

Edit: * Or perhaps a specific group have the ability to change birthdates (not their own though), I'm not sure on this one, I'm guessing in the core phpbb only full administrators can change user details?
Last edited by AJStevens on Thu Sep 18, 2008 1:45 pm, edited 1 time in total.

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7618
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by JimA » Thu Sep 18, 2008 1:37 pm

You as admin can change the birthday in the ACP. :)

ACP, Users and Groups

Then enter the username and click in the form after Select form on Profile. Here are you able to change the users birthday. :)
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

AJStevens
Registered User
Posts: 50
Joined: Sat Feb 16, 2008 11:20 pm

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by AJStevens » Thu Sep 18, 2008 1:41 pm

JimA wrote:You as admin can change the birthday in the ACP. :)

ACP, Users and Groups

Then enter the username and click in the form after Select form on Profile. Here are you able to change the users birthday. :)
Yeah.. I know that, re-read my post.

User avatar
primehalo
Former Team Member
Posts: 2821
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by primehalo » Thu Sep 18, 2008 5:35 pm

AJStevens wrote:I do have one question though, I've seen no mention of an option to prevent user's altering their birthdate, is this feature in either of these MODs?
Yes, in Prime Birthdate.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by Anyasha » Thu Sep 18, 2008 11:54 pm

I went over the edits twice just to be sure, but sometimes I still get this error when visiting my board:

PHP Fatal error: Call to undefined function: date_default_timezone_set() in /home/xxx/public_html/includes/prime_age_group.php on line 149
Kiss me, I'm Polish!

User avatar
primehalo
Former Team Member
Posts: 2821
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by primehalo » Fri Sep 19, 2008 4:06 am

That function was introduced in PHP5. It's not critical, so you can just comment it out.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

AJStevens
Registered User
Posts: 50
Joined: Sat Feb 16, 2008 11:20 pm

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by AJStevens » Fri Sep 19, 2008 7:53 am

primehalo wrote:
AJStevens wrote:I do have one question though, I've seen no mention of an option to prevent user's altering their birthdate, is this feature in either of these MODs?
Yes, in Prime Birthdate.
Excellent, thank you, I'm installing that now.

Should I wait to put in Age Group for a full release, or is it essentially done now and just waiting on approval by phpbb?

Fantastic MODs by the way.
Last edited by AJStevens on Fri Sep 19, 2008 8:20 am, edited 2 times in total.

User avatar
primehalo
Former Team Member
Posts: 2821
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by primehalo » Fri Sep 19, 2008 8:15 am

Eventually I want to add the ability to have age restrictions on groups without requiring automatic adding/removing to be enabled. Not sure how long before I will get around to it, though, as I'm quite busy at the moment.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

AJStevens
Registered User
Posts: 50
Joined: Sat Feb 16, 2008 11:20 pm

Re: [RC] Prime Age Group - Auto-add to groups based on user age

Post by AJStevens » Fri Sep 19, 2008 8:23 am

Ah to prevent users manually being added to groups, without needing the strict enabled? Got it, that would be nice. Although, I will probably leave strict on, set the groups as hidden and use other groups with the same permissions if anyone else needs the same permissions (MOderators etc.).

Also, do you think it's possible, you could do another MOD (or an add-on for this one), building on the Birthdate and Age Group, one that would prevent users PM'ing each other unless they're in the same age group (set enabled/disabled on the group settings, e.g. "Only Allow Members to receive PMs from this groups members" but still allowing Administrators and Global Moderators (or similiar groups?) to PM them. Or maybe easier to have a list of all the current groups and put them into PMs Enabled or a PMs Disabled list.)?

Maybe even filtering the memberlist (and profile page) so you only see other members in the same age groups as you (set on the the group, since only a few groups will need this enabled, everyone should still be able to see the Administrators and Global Mods etc. groups)? Therefore hopefully completely isolating age-controlled groups from one another?

Locked

Return to “[3.0.x] MODs in Development”