vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Age Lock v2.0 Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=118496)

stuie_b 06-15-2006 02:12 PM

Quote:

Little confussed? If I have a site that contains both 18 and up forums and teenage allowed forums can I set which forums to be tagged with must be 18 or is this a global setting?
You can set up a rule on a forum too forum basis,
Age Lock allows you to specify how old or young they have to be before they can access the forum.

So you can have a forum that is only for under 18's, which would prevent anyone older than 18 to enter it while at the same time you could have another forum which is for over 18's

Stuie

thedvs 07-08-2006 12:33 PM

this is very handy for our board, thank you.

however, would it be possible to do it so some usergroups are immune to the check?

Derekclarke 07-08-2006 08:18 PM

Question,

has the upload folder been placed in the wrong place in the zip file?

or do you not upload the files for version 3.6?

the only upload folder is in vb3.5.1

Thanks
Derek

HMBeaty 07-09-2006 01:34 AM

Quote:

Originally Posted by Derekclarke
Question,

has the upload folder been placed in the wrong place in the zip file?

or do you not upload the files for version 3.6?

the only upload folder is in vb3.5.1

Thanks
Derek

Same question I was JUST about to come on here and ask

stuie_b 07-20-2006 09:38 AM

there are no uploads required for 3.6 you simply need to install the plugin file and do the template changes, sorry for not being so clear

:)

Stuie B

SCORPION1 07-24-2006 10:30 PM

very very usefull nice addon m8y good work

Staxed 07-25-2006 07:53 AM

does this only work on a forum basis or can i make it so people can't even register unless they are of a certain age?

louis_chypher 07-25-2006 12:23 PM

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!

louis_chypher 07-25-2006 12:31 PM

Is the age inclusive or exclusive?

inclusive: I want the forums to be only access to those who are 18 or older I enter 18 as the age lock.

exclusive: I want the forums to be only access to those who are 18 or older I enter 17 as the age lock.

If using the exclusive scheme will someone who has turned 17 and two months old have access?

HMBeaty 07-25-2006 05:29 PM

Got a database error after installation trying to see if it worked or not, and it doesn't for me.....

Code:

Database error in vBulletin 3.6.0 Release Candidate 2:

Invalid SQL:
SELECT * FROM forum WHERE forumid='14';

MySQL Error  : Table 'Redline.forum' doesn't exist
Error Number : 1146
Date        : Tuesday, July 25th 2006 @ 11:25:06 AM
Script      : http://www.redlinemotorsports.org/forum/forumdisplay.php?f=14
Referrer    : http://www.redlinemotorsports.org/forum/index.php
IP Address  : XX.XXX.XXX.XXX
Username    : XXXXXXX
Classname    : XX_XXXXXXXX



All times are GMT. The time now is 11:21 AM.

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.01132 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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