Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Forum Minimum Age Restriction Details »
Forum Minimum Age Restriction
Mod Version: 1.1.2, by IdanB (Member) IdanB is offline
Developer Last Online: May 2010 I like it Show Printable Version Email this Page

vB Version: 3.8.2 Rating: (8 votes - 4.88 average) Installs: 120
Released: 21 May 2009 Last Update: 23 May 2009 Downloads: 557
Not Supported DB Changes Uses Plugins  


Forum Minimum Age Restriction
By: Idan B.

1. Description & Usage:
Forum Minimum Age Restriction hack will allow the forum admin to set minimum age restriction for the given forum. Should the age be under the minimum age, the user will be unable to view forum.

2. Installation:
Please click Mark as Installed.
Installation is pretty easy - just download & install:
  • Goto: AdminCP->Plugin System->Manage Products : Choose "Add/Import Product" and import this product xml (product-forum_min_age.xml)
3. Upgrade From Older Version:
1. uninstall previous version
2. Download new version xml & install as instructed in previous section.

4. Configuration:
Once installed, the "Forum Manger" under admincp will have extra section for each forum:
Section name: "Minimum Age Requirement"
  • Enabled ? - Yes/No
  • Minimum Age - Text (INT)
  • Hide Forum ? - Yes/No
5. Known Bugs:
- Advanced Search still listing all forums (including hidden ones). fixed in v1.1.2

6. TO-DO's LIST (Next Versions):
- Bypass to certain usergroups

7. Extra Notes:
The text used in this modification is fully configured via phrase manager in admincp.
- "Last Post" : min_age_limit_cannot_view_last_post_info
- "access denied" error_under_min_age

typo in "restriction" word fixed. sorry about that

Enjoy hack & dont forget to click Mark as Installed

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	forumhome_view_when_under_age.jpg
Views:	1251
Size:	47.5 KB
ID:	99428   Click image for larger version

Name:	error_msg_when_attempting_to_view_forum_while_under_age_.jpg
Views:	891
Size:	17.9 KB
ID:	99429   Click image for larger version

Name:	forum_admin_options.jpg
Views:	749
Size:	17.9 KB
ID:	99455  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 24 May 2009, 05:55
jonah1892 jonah1892 is offline
 
Join Date: Jul 2008
Originally Posted by IdanB View Post
This feature now available with new version.
thanks for the quick work, works a treat for hiding forums based on age (after a refresh of the page)
Reply With Quote
  #32  
Old 24 May 2009, 11:47
Sweeks's Avatar
Sweeks Sweeks is offline
 
Join Date: Jul 2008
I would like it to prevent users from resetting their age in the usercp after registering with the original.

That's the problem, users can simply re-register just to gain access if their age doesnt meet the minimum requirements.
________
Blonde stripping

Last edited by Sweeks; 06 Apr 2011 at 13:25.
Reply With Quote
  #33  
Old 24 May 2009, 16:51
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Originally Posted by Sweeks View Post
I would like it to prevent users from resetting their age in the usercp after registering with the original.

That's the problem, users can simply re-register just to gain access if their age doesnt meet the minimum requirements.
I agree. Just remember that the hidden forum feature shouls take care of it, as what they can't see they can't want.

That being said, i will try to add in future version some feature that will prevent from users to re-setting their age to a different age (unless no age has been specificed) & for those who wish to change it, i'll make some "admin request" that will show this request as pending for admin, and from there he can decide if to change or not..
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #34  
Old 26 May 2009, 16:54
jaredwilli's Avatar
jaredwilli jaredwilli is offline
 
Join Date: Aug 2008
I could have used this a long time ago instead of making an adult usergroup and adult forum only they can see. But i am guessing this isnt full proof since people can just change their age so they are older.
__________________
Tweeaks Forum
Reply With Quote
  #35  
Old 26 May 2009, 17:21
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Originally Posted by jaredwilli View Post
I could have used this a long time ago instead of making an adult usergroup and adult forum only they can see. But i am guessing this isnt full proof since people can just change their age so they are older.
There is hardly any "silver bullet" in those things...
Even custom usergroup could be "breached" as well - what's to stop some kid to pm admin & say he has incorrect age in db ? (or re-register with new user & different age)

Guess that as long as the exsitance of such forum is kept private (ie. the hide forum feature available here), there isnt too much problem, as if kids dont even know there is another forum he can't go, he wouldnt feel any need to "cheat" his age to gain any special privelages access to it.

I'll apply soon enough some "age lock" system into this modification, that should reduce abuse close to zero. (of course no one can prevent from some1 to re-register again under different nick, just for access, but guess that's best that can be done about it).
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #36  
Old 30 May 2009, 00:09
Budweiser's Avatar
Budweiser Budweiser is offline
 
Join Date: Jan 2008
Real name: Kevin
I installed your mod but there is a conflict with another "required" mod on my site..
The mod in conflict is "Sorky Sub Forum List Control" version 1.7.1

When your mod was enabled, the sub forums on forumhome were not collapsible.
(a feature of the Sorky mod)

I will notify Sorky also.. If you two can make your mods compatible that would be great. I definitely can use your mod.

Thnx, Kev
Reply With Quote
  #37  
Old 30 May 2009, 08:26
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Originally Posted by Budweiser View Post
I installed your mod but there is a conflict with another "required" mod on my site..
The mod in conflict is "Sorky Sub Forum List Control" version 1.7.1

When your mod was enabled, the sub forums on forumhome were not collapsible.
(a feature of the Sorky mod)

I will notify Sorky also.. If you two can make your mods compatible that would be great. I definitely can use your mod.

Thnx, Kev
i'll try to look into it & resolve it.
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #38  
Old 31 May 2009, 03:57
Sorky Sorky is offline
 
Join Date: Apr 2007
Originally Posted by Budweiser View Post
I installed your mod but there is a conflict with another "required" mod on my site..
The mod in conflict is "Sorky Sub Forum List Control" version 1.7.1
It certainly stops the show/hide and quite a lot more!!!

This mod will probably conflict with quite a few others as it makes a copy of the templates and then clears them before my Mod has a chance to dynamically modify them. Its a bit hard to modify something that isn't there

The best fix is I believe to make his Mod copy and clear the the templates after we have a chance to modify them Just make the following change...
Plugins & Products
Plugin Manager
Product : Forum Minimum Age / Datastore cache templates
  • Hook Location = parse_templates
  • Execution Order = 9
PS: For some reason I seemed to have to refresh my browser once or twice to get it to kick in.

Last edited by Sorky; 31 May 2009 at 04:08.
Reply With Quote
  #39  
Old 09 Jun 2009, 16:06
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Real name: Joey Paul Gowdy
Any chance of seeing a maximum age cutoff added to this?
Reply With Quote
  #40  
Old 13 Jun 2009, 19:31
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Ok, found a small bug in this modification after having it installed for quite a while. I was tweaking one of my modifications and had my forums in debug mode and noticed a few templates not being cached. SO, I went through, disabled all of my installed modifications one by one and found it was this one. After figuring out what was going on, I made a fix for it. So, just download, un-zip, and go to your AdminCP > Plugins & Products > Download / Upload Plugins and upload this plugin and you are done!
Attached Files
File Type: zip plugin.zip (404 Bytes, 13 views)
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #41  
Old 14 Jun 2009, 03:05
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
thanks for fix. I'll integrate it on next rev along with other fixes found.
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #42  
Old 16 Jun 2009, 01:33
Budweiser's Avatar
Budweiser Budweiser is offline
 
Join Date: Jan 2008
Real name: Kevin
Will your next version be compatible with 'Sorky Sub Forum List Control'?

Also would it be possible to integrate in this mod the ability to disable the cuss filter for selected forums. That way you can set a minimum age and allow unrestricted wordage with the same mod.

Thnx..
Reply With Quote
  #43  
Old 16 Jun 2009, 19:03
KevinL KevinL is offline
 
Join Date: Apr 2005
I nstalled this and when I enabled this on a forum it hides all my forums and all I get is N: <-- that is all that is shown haha

Awesome concept though
Reply With Quote
  #44  
Old 17 Jun 2009, 17:49
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Originally Posted by Budweiser View Post
Will your next version be compatible with 'Sorky Sub Forum List Control'?

Also would it be possible to integrate in this mod the ability to disable the cuss filter for selected forums. That way you can set a minimum age and allow unrestricted wordage with the same mod.

Thnx..
i havent looked into the that specific mod, so can't really comment as to if its possible to integrate or not, and if this will be available on the next rev.

i'm not sure i understood the request: you want that certain age can curse on selected forum and other may not ?
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #45  
Old 17 Jun 2009, 17:51
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Originally Posted by KevinL View Post
I nstalled this and when I enabled this on a forum it hides all my forums and all I get is N: <-- that is all that is shown haha

Awesome concept though
do you have any other mods installed that can affect the forumbit ?
Can you try to disable rest of plugins to tell if this is a conflict with some other mod installed ?
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
Reply


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

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 08:19.

Layout Options | Width: Wide Color: