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: 554
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:	1247
Size:	47.5 KB
ID:	99428   Click image for larger version

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

Name:	forum_admin_options.jpg
Views:	747
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.
Comments
  #2  
Old 21 May 2009, 20:36
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
23 May 2009 (01:35PM) - Version 1.1.2 released :
  • BUG FIX: Hidden forums are no longer displayed on list on the "Advanced Search" screen.

23 May 2009 (01:00AM) - Version 1.1.1 released :
  • BUG FIX: forum marked to be hidden were still showing in some conditions while moving from forumhome to forumdisplay.
  • BUG FIX: Search will now "drop" from results any thread/post that is located on "hidden forum" for the user.
  • BUG FIX: Add permission check to threads view as well, so should any direct link to thread be followed, he wont be able to view the thread.

22 May 2009 - Version 1.1.0 released :
  • UPDATE: Plugins names have been renamed to better names.
  • UPDATE: Now age calculation algorithm will only be executed once & then stored in datastore cache.
  • NEW: forum manager will now show default values when adding new forum.
  • NEW: now possible to hide forum from under-aged user completely !
__________________
vBHackers.com - vBulletin Modification Community

Last edited by IdanB; 23 May 2009 at 10:42. Reason: new version - changelog update
Reply With Quote
  #3  
Old 21 May 2009, 20:45
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Awesome IdanB. Thank you very much for this.
__________________
"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
  #4  
Old 21 May 2009, 21:19
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
installed this is what I need for my more mature members.
Reply With Quote
  #5  
Old 21 May 2009, 23:49
marianoblesa marianoblesa is offline
 
Join Date: Jan 2006
Good Mod
Reply With Quote
  #6  
Old 22 May 2009, 00:53
Sweeks's Avatar
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Excellent mod, thank you
________
How to roll a blunt

Last edited by Sweeks; 06 Apr 2011 at 13:23.
Reply With Quote
  #7  
Old 22 May 2009, 01:22
Reycer Reycer is offline
 
Join Date: Jul 2008
Real name: Mike
needed this a while back. Will definatly give it a go. Thanks
Reply With Quote
  #8  
Old 22 May 2009, 02:56
jonah1892 jonah1892 is offline
 
Join Date: Jul 2008
would there be any chance to hide the age restricted forum all together

as i would be concerned younger members can see this and change their age to gain access
Reply With Quote
  #9  
Old 22 May 2009, 06:34
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Originally Posted by jonah1892 View Post
would there be any chance to hide the age restricted forum all together

as i would be concerned younger members can see this and change their age to gain access
Yea, i think that can be done - it will require template edit though, to place the entire bit under condition of var placed inside the hook.
I'll put it as an option for next version.
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #10  
Old 22 May 2009, 07:51
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Thankyou! finally I have a way to set things.

Now I would love the option to set for specific usergroups to be able to bypass the setting. eg. premium members can be any age to access the section.
Reply With Quote
  #11  
Old 22 May 2009, 08:03
mrtroybaker mrtroybaker is offline
 
Join Date: Feb 2009
Been waiting on this for a while' Thanks

Installed
Reply With Quote
  #12  
Old 22 May 2009, 12:33
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
Originally Posted by jonah1892 View Post
would there be any chance to hide the age restricted forum all together

as i would be concerned younger members can see this and change their age to gain access
This feature now available with new version.
__________________
vBHackers.com - vBulletin Modification Community
Reply With Quote
  #13  
Old 22 May 2009, 19:34
mrtroybaker mrtroybaker is offline
 
Join Date: Feb 2009
Love the idea. But there is a problem.
It still does not hide the forum. If the member clicks the main forum it gives the error but if the member clicks "last post" it will still let them in.
After clicking the "last post" and getting in I can now enter the 18 and over section with a username that is 9 years old
Reply With Quote
  #14  
Old 22 May 2009, 19:43
mrtroybaker mrtroybaker is offline
 
Join Date: Feb 2009
Ok, it did hide the forum but only after refreshing the page. But as long as it can be seen you can still get in by using the "last post" link
Reply With Quote
  #15  
Old 22 May 2009, 19:44
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Real name: Idan Bismut
hmm.. i assumed if forum access is denied it will prevent him from thread link...
but you are right, i'll fix it: will add check on thread page as well.
will update hack by tomorrow noon (maybe even in next hour or so)
__________________
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 19:20.

Layout Options | Width: Wide Color: