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)
-   -   2 Plugins, Bypass Busy and Inactive errors on non-vB pages (https://vborg.vbsupport.ru/showthread.php?t=83504)

tamarian 09-06-2005 12:19 AM

Quote:

Originally Posted by Primal Rage
I am actually only interrested in the define('BYPASS_INACTIVE_ERROR', 1); plugin, and therefore tried your suggested edit, but once replacing that line in the global.php file it gives them access to the whole board and not just the pages i want.

Essentially what i am trying to do is the following:

I have the forum closed, however i want users to be able to access the Paid Subscriptions page.

Any help, again is appreciated. I would assume the above would work as well, just not happening.

O.k., try this one for the second edit:
PHP Code:

 if (!$vboptions['bbactive'] AND THIS_SCRIPT != 'login' AND BYPASS_INACTIVE_ERROR != 1


Primal Rage 09-06-2005 12:25 AM

I wanted to add, taht actually it does work, however i would have to add define('BYPASS_INACTIVE_ERROR', 0); to every single script except the usercp one.

So it does work just kinda backwards from what i want. Basically i wan to give access to a specific page when the forums are closed.

Primal Rage 09-06-2005 12:30 AM

Oops, didn't see your post. You suggestion fixed it up for me. Thank you it seems to be doing what i want now :)


All times are GMT. The time now is 10:03 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.01448 seconds
  • Memory Usage 1,715KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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