Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Age based premissions for registering and viewing forums Details »»
Age based premissions for registering and viewing forums
Version: 1.00, by Xoligy Xoligy is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-09-2007 Last Update: 01-09-2007 Installs: 125
DB Changes Uses Plugins
Is in Beta Stage  
No support by the author.

This is based on this 3.5 plug-in. Although it uses the same hook locations and similar phrases, I ended up recoding it so none of the original code is used. To install simply download and install the XML file via the Plugin & Product manager. You can then alter the registration requirements via the vBulletin Settings option and the minimum age to view a specific forum by editing it using the forum manager - again it should appear near the bottom.

New features:
  • Updated for vBulletin 3.6.4 (should work on 3.6.x)
  • More accurate (the previous only checked month and year).

Original features:
  • Specify minimum age required to register.
  • Limit access to forums based on age.

Disclaimer:
Because users can lie about their age, this many not fulfil the legal requirements for adult content. I accept no responsibility for how this is used.

You're free to do what you like with this code, although credit is appreciated, it's not required.

Brought to you by eXaltic - vBulletin skins.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-06-2007, 06:11 AM
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
Location: D/FW, Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it, but there seems to be a loophole.

If you simply remove your birth year it will allow you access to the forum you've set the age limit on.
Reply With Quote
  #33  
Old 12-12-2007, 09:09 AM
Cloverfield Cloverfield is offline
 
Join Date: Dec 2007
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question, when a user signs up they must input their age. That is the first thing they have to do. Can the hack not be based on the age they enter there, because that way they won't lie because they won't know that they have to be a certain age to view a certain forum (unless its not hidden and they have tried to enter).

It's a pain having to get them to put in their birthday in their fields and even then they arn't usually telling the truth. Let me know please
Reply With Quote
  #34  
Old 12-19-2007, 02:41 AM
Bruce Lee JR.. Bruce Lee JR.. is offline
 
Join Date: Nov 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not that great of a hack. After they see the minimum age they need to be, they can easily go back and make their age older and register again in 10 seconds and become a member of the community.

Sincerely,
Bruce Lee JR..
Reply With Quote
  #35  
Old 12-20-2007, 04:34 AM
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to lock out the birthday after they have registered? So that they cant change it?
Reply With Quote
  #36  
Old 12-23-2007, 11:31 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Konstantinos View Post
the only problem i found so far is that when u have birthdays enabled it doesnt inherit the input that u have added in the previous option and the user can is asked to reenter birthday and even that i select a birthday of less than 18 years old it got accepted. so its bugged
still no fix for this and its been a year
Reply With Quote
  #37  
Old 01-02-2008, 03:52 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been looking for this and it works great for vB 3.6.8. Guests and anyone under 18 can not even see if an adult section is around, while older than 18s and registered can.
Reply With Quote
  #38  
Old 04-24-2008, 11:41 AM
Chili Chili is offline
 
Join Date: Apr 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for posting this. It helped me a lot. :up:
Reply With Quote
  #39  
Old 04-26-2008, 08:05 AM
sambalis sambalis is offline
 
Join Date: Feb 2008
Location: Greece
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it today and I checked it.
It's working ok, but the question of age appears again on the main registration fields area!!

This is a problem!

How can it be fixed???
Reply With Quote
  #40  
Old 04-29-2008, 04:52 PM
sunnylikbeckham's Avatar
sunnylikbeckham sunnylikbeckham is offline
 
Join Date: Feb 2008
Location: India
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats just awosome
exactly i was looking for
thanks
Reply With Quote
  #41  
Old 05-10-2008, 08:19 PM
DiverTree's Avatar
DiverTree DiverTree is offline
 
Join Date: Jun 2006
Location: Coastal Louisiana
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works on 3.7.0
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 11:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05847 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete