View Full Version : Age Restrictions & DOB
cjnettleingham
12-15-2014, 11:07 AM
Hello All,
I am hoping someone would be able to help me in some way. I have two questions that i need to be able to sort out as soon as possible.
1) Any age can access my forums at the moment but there is threads in there which is really for over 16+ is there any mod that can block people accessing this part?
2) How do i only show users date and month on the profile?
Thanks in advance
Christian
Regarding your first question, on my forum I modified the promotion system to allow promotion by age, then made a secondary usergroup that has permission to use the 18 and over forum (and the existing Registered User group does not). This does require file changes though. I described the changes in this thread: https://vborg.vbsupport.ru/showthread.php?t=298022 . Note that there are changes to two different files, and I described the changes to each file in a separate post.
cjnettleingham
12-15-2014, 11:26 AM
Regarding your first question, on my forum I modified the promotion system to allow promotion by age, then made a secondary usergroup that has permission to use the 18 and over forum (and the existing Registered User group does not). This does require file changes though. I described the changes in this thread: https://vborg.vbsupport.ru/showthread.php?t=298022 . Note that there are changes to two different files, and I described the changes to each file in a separate post.
But by doing the way you said would that not make more work for the site admins / mods to re arrange users from under 16 to a different usergroup?
Well, the point of modifying the promotion system is that it happens automatically. The promotion system decies which user qualify, then automatically adds the secondary usergroup. It will immediately promote all users who are 16 and over, and then as new users join or existing users become 16 they will get promoted.
Of course it's possible to do this via a mod that wouldn't require file changes, but I don't think anyone's done it yet.
cjnettleingham
12-15-2014, 11:42 AM
Okay before i edit any php files i would like to ask a question.
So if i want too do this and set it up for age 16 it will auto upgrade the user account to the correct user group for over 16+?
What does it do for people under the age of 16? Does it hide it?
--------------- Added 1418650969 at 1418650969 ---------------
Note that i only want to block just one category which is really for people over 16
Those changes won't do anything to your forum permissions, they just allow adding a secondary usergroup to certain users (actually you can have it change the primary group if you want, but I think in your case you'd want to add a seconadry).
So you need to set up the appropriate forum permissions yourself, by going to Forum Permissions and adjusting the permissions for the different groups. I think what you'd want to do is remove permissions from any groups you want to hide the forum from by default, then create an "over 16" group (maybe copying from Registered User), and add back the permissions for that group. Unfortuantely I can't tell you offhand exactly which permissions to set how, but I suppose you'd want to set most of the permissions for Registered User to 'no' for the over 16 forum.
Of course this is a little more difficult than having a product that does it all for you, so I understand if you don't want to go this route.
cjnettleingham
12-16-2014, 08:47 PM
Those changes won't do anything to your forum permissions, they just allow adding a secondary usergroup to certain users (actually you can have it change the primary group if you want, but I think in your case you'd want to add a seconadry).
So you need to set up the appropriate forum permissions yourself, by going to Forum Permissions and adjusting the permissions for the different groups. I think what you'd want to do is remove permissions from any groups you want to hide the forum from by default, then create an "over 16" group (maybe copying from Registered User), and add back the permissions for that group. Unfortuantely I can't tell you offhand exactly which permissions to set how, but I suppose you'd want to set most of the permissions for Registered User to 'no' for the over 16 forum.
Of course this is a little more difficult than having a product that does it all for you, so I understand if you don't want to go this route.
Thank you i will give this a try.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.