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)

Dilldogs 08-28-2006 09:24 PM

Once off bata I will use.

mrcrx 08-29-2006 11:38 AM

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.

mrcrx 08-29-2006 11:56 AM

ok, got it working. Great hack.

JenniferK 08-29-2006 06:45 PM

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.....

JenniferK 08-29-2006 10:43 PM

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?

Lionsault 09-04-2006 06:52 AM

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?

murdo 09-07-2006 11:13 AM

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 ...

Daky 09-28-2006 10:52 PM

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

Hollanda 10-04-2006 06:23 PM

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


Daky 10-07-2006 07:23 PM

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

Idea of hack is nice, just if it was working properly :)


All times are GMT. The time now is 11:11 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.01193 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
  • (2)bbcode_php_printable
  • (2)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