Version: 2.5 PB, by stuie_b
Developer Last Online: Aug 2018
Category: Miscellaneous Hacks -
Version: 3.6.7
Rating:
Released: 06-12-2006
Last Update: 08-18-2009
Installs: 104
DB Changes Uses Plugins Template Edits
Is in Beta Stage
No support by the author.
Quote:
----------------------
Whats it all about?
----------------------
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
IMPORTANT NOTICE: Please Make sure you uninstall any currently installed versions prior to
installing this version!! THIS IS A MUST DUE TO MAJOR CODE CHANGES!
---------------
Installaiton?
---------------
- Log into you Admin Control Panel -
#############################################
-----------------------------------------------
1.) Find Plugin System
2.) Click Manage Products
3.) Click [Add/Import Product]
4.) Under Import Product
5.) Select the Product-AgeLock.xml file
6.) Make sure Allow Overwrite is turned OFF!
7.) Press Import
-----------------------------------------------
Supported versions (tested versions! may be compatible with other versions):
Quote:
Stable Builds: 3.5.1, 3.5.4, 3.7.x,3.8.x
Beta Builds: 3.6.0 Beta 2, 3.6.7, 3.6.7 PL1
Total Template edits: 0
Total File Modifications: 0
Total Plugins: 1
Total Hooks Used: 7
Total extra sql querys: 0
Make sure to read the txt files before installing!!!
limited support will be provided!
enjoy and dont forget to click install
Stuie B
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
$agelock_qry = $db->query_first("SELECT * FROM forum WHERE forumid='".$fid."'");
To:
PHP Code:
$agelock_qry = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "forum WHERE forumid='".$fid."'");
The query in the global_start hook did not have the TABLE_PREFIX included in the query making the modification fail on my board. With the change as indicated above the modification now works. For Ver 3.5.X
OK, I seem to be the only one having this problem, so I must be blind - but I'm not seeing where to set this up the way I want it after it is installed.....
OK, nevermind, I found it (by going into the forum edit) - but I have a new question:
I have a forum for teens and have it set so that users should be younger than 20. When I try to test it, if not logged in the forum shows and gives the appropriate message when the forum is clicked. But when I log in as my test user, the forum does not display at all. Further, when I log in as my teen test user (which should have access) the forum still does not display. Can anyone tell me what I might be missing?
I installed this hack, but I have people who have posted in previous threads in the locked forum who are able to maintain their posting. They can't post in anything else, but can post in this thread that they've been posting in for a while.
Heya
I just installed this hack on my vbulletin 3.6.1 it works, but i have a problem.
What actually happens is that registered users under age of 16 actually are able to access the page from "navbars" link "NEW POSTS", or even from a dirrect link., otherwise script works if underage users try to access directly from index page.
Any1 else having the same problem?
If someone knows how to fix this, please share with me.
I've got the same problem, also can the people that have already posted still see their post's.
Quote:
Originally Posted by Daky
Heya
I just installed this hack on my vbulletin 3.6.1 it works, but i have a problem.
What actually happens is that registered users under age of 16 actually are able to access the page from "navbars" link "NEW POSTS", or even from a dirrect link., otherwise script works if underage users try to access directly from index page.
Any1 else having the same problem?
If someone knows how to fix this, please share with me.