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)

louis_chypher 07-26-2006 12:20 PM

Quote:

Originally Posted by Redlinemotorsports
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


See post number 18 on how to fix it.

In the plugin system | plugin manager | global_start hook edit Age Lock - Global Setup as per post 18 "To:". The "TABLE_PREFIX" was left off the query.

HMBeaty 07-27-2006 01:06 AM

Ok, next question....this.....
Quote:

Older or Younger?
Should the user be older or younger. (Younger or Older)
The default value is '0', but what do you put to determine the 'Older' or 'Younger'?

louis_chypher 07-27-2006 02:24 PM

Quote:

Originally Posted by Redlinemotorsports
Ok, next question....this.....

The default value is '0', but what do you put to determine the 'Older' or 'Younger'?

Type in "Older" or "Younger"

mattrix18 08-10-2006 07:41 AM

Does this work on the new vBulletin version?

Tyegurl 08-10-2006 12:30 PM

yes it does

webspider 08-15-2006 03:02 PM

This is a pretty good hack but it would be nice to be able to set a global min age. I only allow users 16 and older to register then 18 and older to view certain forums.

simon. 08-27-2006 04:06 PM

Can I just lock off one forum,

Example:-

User who is 12.



She can see all the forums, but she cannot access adults chat, but can access Kids chat and not Teens, or will this hack lock out everything?

So can I set mulitple ages up;

Adults 18
Teens 13
Kids 12 and under

and if I lock it will it lock everything?

louis_chypher 08-27-2006 08:30 PM

Quote:

Originally Posted by simon.
Can I just lock off one forum,

Example:-

User who is 12.

Yes.

Quote:

Originally Posted by simon.
She can see all the forums, but she cannot access adults chat, but can access Kids chat and not Teens, or will this hack lock out everything?

Yes/No, depends on the choices you make.

Quote:

Originally Posted by simon.
So can I set mulitple ages up;

Adults 18
Teens 13
Kids 12 and under

Yes, on a per forum basis.

Quote:

Originally Posted by simon.
and if I lock it will it lock everything?

Yes/No, depends on the choices you make.

ntl-guy 08-28-2006 01:39 PM

Excellent product, Thankyou :)

webspider 08-28-2006 06:00 PM

What about a global age lock? No registrations under XX? Better yet let them register then lock them.


All times are GMT. The time now is 08:18 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.01211 seconds
  • Memory Usage 1,739KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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