vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to Exclude a PHP script from WOL???? (https://vborg.vbsupport.ru/showthread.php?t=70723)

xug 10-18-2004 06:59 PM

How to Exclude a PHP script from WOL????
 
Please help.

I have seen the answer somewhere but I can't find it anymore.

I would like to add some kind of instruction to an external php script, in this case a signature php script called signature.php, that it make this script not showing up on the Who's OnLine (WOL) page.

Or any other trick is welcome.

Is there any body out there that knows the solution or can point me out where to find

Xenon 10-18-2004 07:03 PM

you have to put
PHP Code:

define('LOCATION_BYPASS'1); 

into your script before the require global.php :)

Boofo 10-18-2004 08:02 PM

Quote:

Originally Posted by Xenon
you have to put
PHP Code:

define('LOCATION_BYPASS'1); 

into your script before the require global.php :)

Will that work if you have the file located in the online.php, too?

Xenon 10-18-2004 08:38 PM

well it should as the bypass has nothing to to with online.php but with session.php :).

btw you should change your usertitle ;)

Andreas 10-18-2004 08:39 PM

Yes, as this causes session.php to not update the the field location in table session..
So it doesn't matter if there is a handler for that specific file in online.php or not.

xug 10-20-2004 03:28 AM

Xenon, thanks for your reply.

It works like a charm, thank you so much!

Xenon 10-20-2004 05:30 PM

you're welcome :)


All times are GMT. The time now is 07:14 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.00941 seconds
  • Memory Usage 1,722KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete