vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Age Lock Hack (https://vborg.vbsupport.ru/showthread.php?t=95992)

stuie_b 09-09-2005 10:00 PM

Age Lock Hack
 
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 :D

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

ged 09-10-2005 03:38 PM

This can be used especially in forums that have adult content.

Azhrialilu 09-10-2005 04:28 PM

oh this is just what I was waiting for! Sweetness :D

nexialys 09-10-2005 04:47 PM

the idea of deleting the content of the template modifyprofile_birthday is irrelevent... just add a new plugin for the hook: profile_editprofile_start, add simply a "no_permission" thingy...

btw, i think it would be more efficient to be conditional to a setting - admin can activate this or not, so if not, the users will be able to change their birthday

Andreas 09-10-2005 08:31 PM

Quote:

+ Removes Birthday date changing via profile (now only admin can change it)
+ Allows user to hide birthday from public view
This is redundant; RC3 does this by default.

mindfrost82 10-11-2005 02:45 PM

Quote:

Originally Posted by KirbyDE
This is redundant; RC3 does this by default.

I see where they can hide their birthday, but how to you make it so they can't change their birthday? I can't seem to find this option.

mindfrost82 10-11-2005 02:54 PM

Also, would it be possible for me to implement this with vBshout? I have a shoutbox, but I would prefer it if that was only accessible to adult users as well.

*Clicks Install* Just the hack I was looking for :)

mindfrost82 10-12-2005 01:16 AM

Sorry, but one more question.

Is there a way to make it so that the forums are hidden?

I setup a test account, and it still shows the forum, but when I click on the it gives me the message about being too young. I would prefer it if they couldn't see the forums to begin with.

moonclamp 10-16-2005 11:39 PM

Is it possible to toggle the option to edit the date of birth?

The reason for this is so that some birthday data was incorrect during an import from phpbb and I want to allows users some time to correct any errors before enabling it

stuie_b 10-17-2005 07:30 AM

Quote:

Also, would it be possible for me to implement this with vBshout
i can have a look into if you like but it maybe a step where you would have to modify the code!

Quote:

Is there a way to make it so that the forums are hidden?
from what i've been told the only way to hide forum without code modification is to use a usergroup (could be wrong)

Quote:

Is it possible to toggle the option to edit the date of birth?
Thats the next step, i'm looking into a usergroup method that would allow the forum admin to allow certain usergroups the abillity to edit there birthday

i should have a beta version by the end of the week for you with most of these included (hopefully)


stuie b


All times are GMT. The time now is 09:01 PM.

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