Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Apr 2008, 17:25
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Real name: Kevin
Automatic group based on age

1. - My site has no adult content, so its ok if <18 sign up.

2. - Members less then 13 are not allowed to register.

4. - When registering, members have to enter their birthdate.

5. - Everyone between 14 - 18 years of age that registers, how can I put them into a "Youth" group automatically?

6. When a member turns 18, how can they be moved to a full member?

The "Youth" group has already been created and permissions tested. I just do not want to go through thousands of members checking birthdates.

This same question was posted on vbulletin.com, and I was referred here - http://www.vbulletin.com/forum/showthread.php?t=268130


============EDIT==============

Would it be possible to do this with a scheduled task that ran at midnight? Something that would check the birthday and compare it to the current date. If the result was < 18, user gets moved to youth group. If the results was >18, if in youth group, member gets moved to full member.

Last edited by kevcj; 23 Apr 2008 at 17:32.
Reply With Quote
  #2  
Old 24 Apr 2008, 09:15
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
There is a modification available the will allow setting a usergroup based on the value of a profile field.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #3  
Old 24 Apr 2008, 12:22
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Real name: Kevin
Do we have a name for this modification? After a few searches I could not find anything.

My site is running 3.7 RC3
Reply With Quote
  #4  
Old 24 Apr 2008, 15:37
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
searching "usergroup" "All Mods" "Titles Only" brings up this mod which is probably what Marco was talking about: Add User to Primary Usergroup Based on Value of Custom Profile Field
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 10:43.

Layout Options | Width: Wide Color: