vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   WOL on non-VB pages; Only works when board shut off? (https://vborg.vbsupport.ru/showthread.php?t=81003)

jfreyholtz 05-05-2005 03:43 AM

WOL on non-VB pages; Only works when board shut off?
 
I have the following included at the top of every non-VB page on my site:

PHP Code:

chdir("/home/virtual/site1/fst/var/www/html/forums");
require_once(
"./global.php");

//grab various $bbuserinfo,etc 

But for some reason users aren't showing up in the Who's Online bit UNLESS the board is shut off. Then suddenly everyone on the site shows up in WOL.

Any ideas why this is? Why would VB only see them when the board is off?

jfreyholtz 05-06-2005 09:55 PM

No one? Any ideas?

Chris M 05-06-2005 10:25 PM

You need to post the code you are using to display the WOL users on your page, then we can check it over and see if there are any errors that would cause this :)

Satan

jfreyholtz 05-06-2005 10:40 PM

Quote:

Originally Posted by hellsatan
You need to post the code you are using to display the WOL users on your page, then we can check it over and see if there are any errors that would cause this :)

I'm not using any WOL code, I'm not displaying it anywhere - just where the forum already does by default.

The problem is that users on non-VB pages aren't showing up there unless the board is shut off.

Chris M 05-06-2005 10:44 PM

Ah I see, sorry - I misread what you posted lol...

You need to explore functions_online.php, and try and add another location of one of your files using a similar structure to the existing locations:

i.e. something like
PHP Code:

        case 'secretpagethatnobodyknowsabout':
            
$userinfo['action'] = $vbphrase['sneaking_around'];
            break; 

then
PHP Code:

    case 'secretpage.php':
        
$userinfo['activity'] = 'secretpagethatnobodyknowsabout';
        break; 

That might help...

Satan

jfreyholtz 05-07-2005 03:30 PM

I've tried that too, but that's not the problem anyway, or users wouldn't show up when the board is shut off either. When the board is shut off, all those users show up at "unknown locations". Functions_online would only fix the unknown locations bit...

jfreyholtz 05-08-2005 03:32 PM

Quote:

Originally Posted by jfreyholtz
Any ideas?

Well, I've tried everything I can think of and open to anything at this point, heh.

Would it cause any problems that I'm using a global.php in my site? I'm including the forums global within that, as well as other includes. But once you include the forum global, people should be showing up in the WOL, regardless of what comes later right? They do when the forum is shut off, at least. I don't get why having it on would actually break the WOL piece.

XManuX 08-05-2007 03:12 PM

Up. Same problem.


All times are GMT. The time now is 11:51 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.01058 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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