Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 01-10-2007, 01:46 PM
ickie ickie is offline
 
Join Date: Dec 2006
Location: st. petersburg fl
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seems to work fine
this stops the members who register without a birthday, lol

instructions
plugin and product
upload as a product

to find,
go to vbulletin options / user registration options, and it is at the bottom
Reply With Quote
  #3  
Old 01-10-2007, 01:49 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea! Thanks.
Reply With Quote
  #4  
Old 01-10-2007, 02:03 PM
ickie ickie is offline
 
Join Date: Dec 2006
Location: st. petersburg fl
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is how it looks when they click to register


this is what they see if they are too young
Reply With Quote
  #5  
Old 01-10-2007, 02:04 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm very interested in this hack, BUT i need this hack only if i can set a min. age to view a SPECIFIC forum no only for the registrations ... can you improve it?
Reply With Quote
  #6  
Old 01-10-2007, 02:21 PM
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Set the registration age to 0 to disable it. This plug-in does allow you to set the age for a specific forum. Simply edit the forum and at the bottom you should see the option.

Thanks ickie, I'll add some instructions.
Reply With Quote
  #7  
Old 01-10-2007, 02:34 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xoligy View Post
Set the registration age to 0 to disable it. This plug-in does allow you to set the age for a specific forum. Simply edit the forum and at the bottom you should see the option.

Thanks ickie, I'll add some instructions.
sorry you're right!!!

great hack!
Reply With Quote
  #8  
Old 01-10-2007, 03:49 PM
Stunner's Avatar
Stunner Stunner is offline
 
Join Date: Sep 2006
Location: GA.
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job on this hack!
Reply With Quote
  #9  
Old 01-10-2007, 05:23 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good hack and installed but notice on a test run guest won't be able to view content of post like using the default rule and until they register .It will be nice to add a disclaimer then they'll be allow to view.

-pb
Reply With Quote
  #10  
Old 01-10-2007, 06:59 PM
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea puertoblack2003, I'll expand it so they are shown the age form and a cookie is set with their age. However I want to make sure there are no problems with this one so I probably won't implement it until Friday.
Reply With Quote
Reply


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 09:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05639 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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