PDA

View Full Version : WOL on non-VB pages; Only works when board shut off?


jfreyholtz
05-05-2005, 03:43 AM
I have the following included at the top of every non-VB page on my site:

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
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
case 'secretpagethatnobodyknowsabout':
$userinfo['action'] = $vbphrase['sneaking_around'];
break;
then
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
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.