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

Reply
 
Thread Tools
Age Lock Hack Details »»
Age Lock Hack
Version: 2.0 Beta 2, by stuie_b stuie_b is offline
Developer Last Online: Aug 2018 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 09-09-2005 Last Update: 06-12-2006 Installs: 52
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

UPDATE: Updated the code to work with latest versions (both stable and beta)

Quote:
----------------------
Whats it all about?
----------------------
Age Lock is an all-in-one Forum locking facillity that works off the users age instead of there permissions
It gives you the abillity 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.) Upload the contents of the Upload folder to your forum root
2.) Find Plugin System
3.) Click Manage Products
4.) Click [Add/Import Product]
5.) Under Import Product
6.) Select the Product-AgeLock.xml file
7.) Make sure Allow Overwrite is turned OFF!
8.) Press Import
-----------------------------------------------
Total Template edits: 1
Total File Modifications: 0
Total Plugins: 1
Total Hooks Used: 6
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
  #22  
Old 11-17-2005, 02:50 PM
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes the hack works with the forums and not the registration
Reply With Quote
  #23  
Old 11-17-2005, 03:09 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stuie_b
Yes the hack works with the forums and not the registration
Thank you! I installed and when I went to set it for a particular forum I got this:

Code:
Database error in vBulletin 3.5.1:

Invalid SQL:
UPDATE forum SET
	title_clean = 'XXX Passwords',
	title = 'XXX Passwords',
	description_clean = 'Have Some Good XXX Site Passwords? Post Them Here',
	description = 'Have Some Good XXX Site Passwords? Post Them Here',
	link = '',
	displayorder = 9,
	daysprune = 30,
	parentid = 77,
	newpostemail = '',
	newthreademail = '',
	### Bitfield: forum.options ###
		options = IF(options & 8, options - 8, options),
		options = IF(options & 16, options - 16, options),
		options = IF(options & 32, options - 32, options),
		options = IF(options & 131072, options - 131072, options),
		options = IF(options & 32768, options - 32768, options),
		options = IF(options & 8192, options - 8192, options),
		options = IF(options & 4, options, options + 4),
		options = IF(options & 1, options, options + 1),
		options = IF(options & 2, options, options + 2),
		options = IF(options & 16384, options, options + 16384),
		options = IF(options & 256, options - 256, options),
		options = IF(options & 64, options, options + 64),
		options = IF(options & 128, options, options + 128),
		options = IF(options & 512, options, options + 512),
		options = IF(options & 1024, options, options + 1024),
		options = IF(options & 2048, options, options + 2048),
		options = IF(options & 4096, options, options + 4096),
		options = IF(options & 65536, options, options + 65536),
	styleid = 0,
	password = '',
	accessf_nb = 0,
	accesst_nb = 0,
	create_nb = 0,
	reply_nb = 0,
	allowprefix = 1,
	prefixrequired = 1,
	banner = '',
	bannerlink = '',
	banneralt = '',
	bannercode = '',
	age_locked = '1',
	age_value = '18',
	age_type = '1'
WHERE forumid = 83;

MySQL Error  : Unknown column 'age_type' in 'field list'
Error Number : 1054
Date         : Friday, November 18th 2005 @ 01:13:39 AM
Script       : http://www.******.com/admincp/forum.php
Referrer     : http://www.******.com/admincp/forum.php?do=edit&f=83&s=
IP Address   : *******
Username     : ******
Classname    : vb_database
Reply With Quote
  #24  
Old 11-17-2005, 04:15 PM
KBV KBV is offline
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same error as me, and the second time I tried it and selected YES on overwrite, same error.
Reply With Quote
  #25  
Old 11-17-2005, 06:39 PM
mindfrost82 mindfrost82 is offline
 
Join Date: Feb 2002
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mastar
Thank you! I installed and when I went to set it for a particular forum I got this:

Code:
Database error in vBulletin 3.5.1:

Invalid SQL:
UPDATE forum SET
	title_clean = 'XXX Passwords',
	title = 'XXX Passwords',
	description_clean = 'Have Some Good XXX Site Passwords? Post Them Here',
	description = 'Have Some Good XXX Site Passwords? Post Them Here',
	link = '',
	displayorder = 9,
	daysprune = 30,
	parentid = 77,
	newpostemail = '',
	newthreademail = '',
	### Bitfield: forum.options ###
		options = IF(options & 8, options - 8, options),
		options = IF(options & 16, options - 16, options),
		options = IF(options & 32, options - 32, options),
		options = IF(options & 131072, options - 131072, options),
		options = IF(options & 32768, options - 32768, options),
		options = IF(options & 8192, options - 8192, options),
		options = IF(options & 4, options, options + 4),
		options = IF(options & 1, options, options + 1),
		options = IF(options & 2, options, options + 2),
		options = IF(options & 16384, options, options + 16384),
		options = IF(options & 256, options - 256, options),
		options = IF(options & 64, options, options + 64),
		options = IF(options & 128, options, options + 128),
		options = IF(options & 512, options, options + 512),
		options = IF(options & 1024, options, options + 1024),
		options = IF(options & 2048, options, options + 2048),
		options = IF(options & 4096, options, options + 4096),
		options = IF(options & 65536, options, options + 65536),
	styleid = 0,
	password = '',
	accessf_nb = 0,
	accesst_nb = 0,
	create_nb = 0,
	reply_nb = 0,
	allowprefix = 1,
	prefixrequired = 1,
	banner = '',
	bannerlink = '',
	banneralt = '',
	bannercode = '',
	age_locked = '1',
	age_value = '18',
	age_type = '1'
WHERE forumid = 83;

MySQL Error  : Unknown column 'age_type' in 'field list'
Error Number : 1054
Date         : Friday, November 18th 2005 @ 01:13:39 AM
Script       : http://www.******.com/admincp/forum.php
Referrer     : http://www.******.com/admincp/forum.php?do=edit&f=83&s=
IP Address   : 66.176.27.30
Username     : ******
Classname    : vb_database
Same here.
Reply With Quote
  #26  
Old 11-17-2005, 07:39 PM
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Appologies all it seems i forgot to add the install bit for the age_type field, please downlaod the hack again and try that
Reply With Quote
  #27  
Old 11-17-2005, 11:18 PM
krg2k krg2k is offline
 
Join Date: Jul 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all the errors you guys and I are getting is because of Table PRECIXES ... if you have table prefixes it will give you errors and installing and uninstalling will be a mess ....

so don't mess around with it untill stuie_b fixes the code for table prefixes....

peace
Reply With Quote
  #28  
Old 11-17-2005, 11:43 PM
mindfrost82 mindfrost82 is offline
 
Join Date: Feb 2002
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it again and got the same problem.

I'm not using table prefixes either.
Reply With Quote
  #29  
Old 11-17-2005, 11:50 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem with no prefix
Reply With Quote
  #30  
Old 11-18-2005, 11:19 AM
mindfrost82 mindfrost82 is offline
 
Join Date: Feb 2002
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also after doing this, people are saying they can't get into the forums that have an age limit
Reply With Quote
  #31  
Old 11-18-2005, 08:05 PM
stuie_b stuie_b is offline
 
Join Date: Jul 2005
Location: Newcastle, UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've sorted the Prefix error, so can you please try the new version even if you dont use Prefixes.

cheers

stuie b
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 03:22 PM.


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.13509 seconds
  • Memory Usage 2,306KB
  • 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_code
  • (3)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