vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - AgeLock v3.5 (https://vborg.vbsupport.ru/showthread.php?t=235780)

stuie_b 02-12-2010 10:00 PM

AgeLock v3.5
 
1 Attachment(s)
Age Lock is an all-in-one Forum locking facility that works off the users age instead of there permissions
It gives you the ability to keep those Under 18's out of your adult section


Change log
+ Added support for CMS (Blog locking is there but not usable (99.9% sure blog locking is prob. pointless, since all users would be able to age restrict posts))
+ Enable/Disable Guest Viewing of age locked forums
+ Moved Age Lock core from outdated hook (global_start) to new (global_bootstrap_init_start)
+ Removed defunct Error message
+ Added abillity to re-enable Date of Birth Editing for all users
+ Fixed Bug where Date of birth editing is still disabled for users who are exempt from Age Lock
+ Reworded Default Age Lock Messages
+ Added support for multi-level forum locking using parent lock state (instead of parent-->forum, now parent-->forum-->subforum-->..)
+ Removed over zelus agelock checking (No more queries to get lock state)
+ Removed vb 3.x support

3.5a Fixes
+ Fixed CMS bugs (missing table prefix)
+ Updated template edit to work with Vb 4.1.5

3.5b Fixes
+ Really fixes the CMS bugs (Sorry :( )

Please be aware although support is provided it is limited. This version is in beta so expect bugs!

enjoy

Stuie

music legend 02-13-2010 06:52 PM

nevermind

stuie_b 02-13-2010 06:55 PM

Uninstall all previous versions before installing latest version!

There is NO update code from previous versions to this!

Stuie

messengermatt 02-13-2010 07:03 PM

This is pointless because what happens when someone lies about their age and they gain access to an 18+ section of someones forum?

Atleast with permissions you have to vet them first using join requests for access to an 18+ group before they can view 18+ forums.

Neptun 02-13-2010 07:06 PM

the idea is very good .. but i has no sense because nobody can control the ages in the registrations ....

but maybe you can use the functions of this hack for another idea ;)

stuie_b 02-13-2010 07:15 PM

Quote:

Originally Posted by messengermatt (Post 1981562)
This is pointless because what happens when someone lies about their age and they gain access to an 18+ section of someones forum?

Atleast with permissions you have to vet them first using join requests for access to an 18+ group before they can view 18+ forums.

Firstly Permissions offer no extra form of protection either, seeing as you have no idea who they are anyway not to mention the level of extra work involved for the admins to "vet".

Secondly, The idea is to remove the legal ramification from the site admins, yes users can and will lie about there age but it works on the basis that you trust your members. it's impossible for you to prevent people signing up with a fake bday unless you required proff of there D.O.B, however it helps to cover your back by providing a service which attempts to prevent under age users viewing adult material.

On a side note if you dont need the mod fine dont use it but dont go around calling mods pointless, at the end of the day you may not need it but someone else may, i wrote this mod a while back and 100+ installs dont seem to show it being pointless!

Stuie

Hornstar 02-13-2010 08:07 PM

It is actually a great hack. something which I wish I had in some of my mods (vbtube etc.)

Is it possible to have a usergroup ignore the age permission?

stuie_b 02-13-2010 08:22 PM

Currently the only user group that is exempt is the admin's/mods, I've added that option to list of features for the next update,

Stuie

argothiusz 02-13-2010 08:27 PM

Just what I needed. Tagged for future use. Sure, members can change their age but this is the internet we are talking about. How many people using your board will most likely sign up with their real birthdate? I think this mod is great and offer extra protection for mature area.

TimberFloorAu 02-13-2010 08:28 PM

no use to us, but great mod mate, well done and a cracking idea


All times are GMT. The time now is 04:02 PM.

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.01269 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete