The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AgeLock v3.5 Details »» | |||||||||||||||||||||||||||||||||||||||||||||
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 Download Now
Screenshots
Show Your Support
|
Comments |
#32
|
|||
|
|||
Still awaiting an answer. I thought that this mod was supported.
|
#33
|
|||
|
|||
yes this mod is supported to the best of my abillities and time, i do have other things which need to be sorted before support is an issue like the next version of Age Lock maybe you should be greatful for having support at all,
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 |
#34
|
|||
|
|||
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.
|
#35
|
|||
|
|||
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. |
#36
|
|||
|
|||
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 |
#37
|
|||
|
|||
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)) + 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) Stuie |
#38
|
|||
|
|||
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> |
#39
|
|||
|
|||
Quote:
Updated package with correct installation details Stuie |
#40
|
|||
|
|||
Glad to see the query change. 300+ queries for my forum was a bit crazy.
|
#41
|
|||
|
|||
Installed and working
4.1 PL2 Would be wonderful if someone added the option for this to work with Blogs as well |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|