![]() |
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 |
nevermind
|
Uninstall all previous versions before installing latest version!
There is NO update code from previous versions to this! Stuie |
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. |
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 ;) |
Quote:
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 |
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? |
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 |
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.
|
no use to us, but great mod mate, well done and a cracking idea
|
Installed, great mod thanks.
The plus side is when a member signs up they are more likely to post there real age then discover they need to be 18 to access that section. With Adult sections you can never be 100% sure your letting in over 18's only, but as long as you are seen to be trying that is what is important. |
Can you improvit to adslock. Like person who use adblocker addon on firefox can't view forum. It will be great addon maybe best addon of the year.
|
Hell of a hack! :) requesting to integrate with DownloadsII. Tagged.
Can we have it like this please? + Minor will never see any adult corner. Any post or thread or forum. Not even from any search. +Lets have an option under "Quick Links" for adults like, "Switch on/off Agelock". So that Adults also get chance to switch it ON in front of any minors from there family and later they can go back to switch it off. |
Installed and nominated... works ike a dream.. thanks for this.
|
Quote:
I guess your right but i already pay for a facility that age checks people using their credit card details if they choose to enter 18+. It's a pricey plugin but you cannot lie about your age then, after all i wouldnt want my kids to lie about their age and then see something they shouldnt causing a whole lot of problems. |
Hi!
I just installed this mod, but i get a error code in visitor view. I've a 100% Adult forum haha. Lets say i blocked a forum and sub-forum and then i go to open internet explorer (for testing) as a visitor, and try to open another section of the website (that i haven't lock) and i get this PHP Code:
My board threads aren't allowed to be view by unregistered members anyway, but even if i disable that the problems still there. Right now the mod is disable, cuz i don't know what the hell? :confused: Thanks for the help and the mod!! :) |
Quote:
Also mine isnt line 4085 mine is line 4124 in functions.php Otherwise it is a good add-on ^^ [EDIT]I solved my problem by turning off the option should i hide the forum on the main Index? in the Agelock settings[/EDIT] |
the problem has been identified and I'll be releasing a fix asap,
as a quick fix, add @ to the forumdisplay_start hook Stuie |
Stuie, I got some requests please.
|
AgeLock v3.1A
Fixed Cannot use a scalar value Fixed homepage notification bug (shows even when agelock is globally disabled) For those with v3.0 already installed, the changes can be made without having to uninstall v3.0B and then install v3.1A, Edit Plugin "global_start" FIND Code:
if($vbulletin->options['agelock_global'] and $vbulletin->options['agelock_hidemain']){ Code:
if($vbulletin->options['agelock_global'] and $vbulletin->options['agelock_hidemain']){ "forumhome_forumbit_level1_post And forumhome_forumbit_level2_post" FIND Code:
<vb:if condition="$vboptions['agelock_frmnt'] AND $forum['agelock']">{vb:raw $vboptions['agelock_frmntm']}</vb:if> Code:
<vb:if condition="$vboptions['agelock_frmnt'] AND $forum['agelock'] AND $vboptions['agelock_global']">{vb:raw $vboptions['agelock_frmntm']}</vb:if> Stuie |
Stuie,
Does adult user can turn the lock off/on now? |
I apologize I didn't read stuie b post. It works for now. Thanks :D
|
Is it possible to use this for CMS content as well?
|
Quote:
|
Quote:
Quote:
Quote:
Stuie |
Ahh, ok, so this hacks stops anyone from changing their DOB? Great! Thank you.
|
I installed this on v 4.0.4 and while,the install seemed to go well, it does not seem to work.
I added a few group that I did not want it to worry about like administrator, supermoderator enabled it and clicked save. When I went to the registered Users group, I see no place to edit any age info. Each usergroup page looks just like it did before I installed this. Am I missing something? Thank you in advance! |
Quote:
On a side note Admins and mods are already exempt from the age lock you dont need to add them to the Exempt usergroups in the Age lock Options. Stuie |
Oh, well don't I feel stupid. hehehe.....
Thank you!!! |
For some reason I cannot get age lock to exempt the following group.
Unregistered / Not Logged In I have tried Unregistered / Not Logged In, Guest, 1 for group id of 1. Not sure what else to try, any advice? I do not want to block people that are not logged in. I already have that stuff taken care of the way I want it via forum permissions. I only want to block based on the the registered users group and the coppa groups. |
Still awaiting an answer. I thought that this mod was supported.
|
Quote:
In answer to your question guest are not exemptable in this version, they are in the latest version which is still under development and at the min there is no eta (problems :) ), however since you seem hell bent on this here is a modded version of the code which will enable guest viewing Edit Global_start hook (Age Lock - Global Setup) and replace all with PHP Code:
Stuie |
Thank you! No need to get salty. A simple acknowledgement of my message would have prevented my sending another message, "7 days later". Anyway, thank you for your efforts.
|
FYI, the code works for allowing guests but it would appear that the sub forums locking isn't working real well. It locks the first tier under the category but anything below that is open.
ie. Underground is locked to over 18 the sub of Others is also locked but all of the subs under Others, is wide open. I didn't notice if that was an issue in 3.1 or just the modified code above. |
Hello,
We have a board with 148 forums and subforums. On each page load your plugin will query the database for all forums and it managed to fill a 100Mbps pipe line to the mysql server. The agelock_populate function should use the forumcache instead of querying the database every time. Regards, Darksoul |
Latest version of Age Lock has now been attached,
Its recommended you uninstall all previous versions and upgrade to v3.5 Code:
+ 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)) Stuie |
This is a great hack, thank you! Marked installed & 5 starred. :)
Oh also, in the template changes, I needed to add vb: in front of the "if" conditions in the code, otherwise I was getting an error when I tried to save the template. I have 4.0.6. I don't know if needing a vb: in front of the IF's is a new thing with that version, I just noticed all the surrounding IF's had vb: in front of them, so I tried it and it got rid of the error. This is what I did: Code:
<vb:if condition="$vboptions['agelock_frmnt'] AND $forum['agelock'] AND $vboptions['agelock_global']">{vb:raw $vboptions['agelock_frmntm']}</vb:if> |
Quote:
Updated package with correct installation details Stuie |
Glad to see the query change. 300+ queries for my forum was a bit crazy.
|
Installed and working
4.1 PL2 Would be wonderful if someone added the option for this to work with Blogs as well |
All times are GMT. The time now is 07:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|