Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Age Lock v2.0 Beta 2 Details »»
Age Lock v2.0 Beta 2
Version: 2.5 PB, by stuie_b stuie_b is offline
Developer Last Online: Aug 2018 Show Printable Version Email this Page

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.

Comments
  #32  
Old 08-28-2006, 09:24 PM
Dilldogs Dilldogs is offline
 
Join Date: May 2006
Location: Wilmington, IL
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once off bata I will use.
Reply With Quote
  #33  
Old 08-29-2006, 11:38 AM
mrcrx mrcrx is offline
 
Join Date: Jun 2004
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by louis_chypher
FYI:

Age Lock - Global Setup

changed:

PHP Code:
$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


Thank you very much. I NEEDED this!

What program do I use to edit an xml file?

Notepad worked.
Reply With Quote
  #34  
Old 08-29-2006, 11:56 AM
mrcrx mrcrx is offline
 
Join Date: Jun 2004
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, got it working. Great hack.
Reply With Quote
  #35  
Old 08-29-2006, 06:45 PM
JenniferK JenniferK is offline
 
Join Date: Dec 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.....
Reply With Quote
  #36  
Old 08-29-2006, 10:43 PM
JenniferK JenniferK is offline
 
Join Date: Dec 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #37  
Old 09-04-2006, 06:52 AM
Lionsault Lionsault is offline
 
Join Date: Jul 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got a little question.

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.

Any way to fix that?
Reply With Quote
  #38  
Old 09-07-2006, 11:13 AM
murdo murdo is offline
 
Join Date: Jun 2006
Location: Scotland, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same question as someone else, how do you determine wether the lock should be for older or younger? default value is 0 ...
Reply With Quote
  #39  
Old 09-28-2006, 10:52 PM
Daky Daky is offline
 
Join Date: Aug 2006
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Thank you
Reply With Quote
  #40  
Old 10-04-2006, 06:23 PM
Hollanda Hollanda is offline
 
Join Date: Nov 2005
Location: NL
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Thank you
Reply With Quote
  #41  
Old 10-07-2006, 07:23 PM
Daky Daky is offline
 
Join Date: Aug 2006
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well lets hope we are going to see fix some time soon!

Idea of hack is nice, just if it was working properly
Reply With Quote
Reply

Thread Tools

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 06:13 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.10098 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (4)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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