UBB.Dev
Posted By: Raconteur Who's Online bug? - 06/22/2001 8:27 PM
Hi all,

I am using Who's Online v3.9Qa on UBB v6.04f.

Everything works just fine, except in the who's online summary info (which appears as a category on my board), my name is not always the one that appears in the

- Currently browsing the boards...

line. Sometime it shows my name, sometimes someone else's... where did I go wrong?

The board is at http://www.seahorse.org/cgi-bin/UBB/ultimatebb.cgi

Cheers,

Chris
Posted By: Greg Hard Re: Who's Online bug? - 06/23/2001 2:39 AM
Not the designed behavior, but a whos online problem..
Posted By: qasic Re: Who's Online bug? - 06/23/2001 4:00 AM
That bug was fixed in v3.9Qa. Did you upgrade or do a fresh install?

qasic
Posted By: Raconteur Re: Who's Online bug? - 06/23/2001 10:17 PM
Hi Q,

Fresh install... could I have missed something??
Posted By: qasic Re: Who's Online bug? - 06/23/2001 11:30 PM
Is this line present in your ultimatebb.cgi?

Code
code:

qasic
Posted By: Raconteur Re: Who's Online bug? - 06/23/2001 11:37 PM
Yep. Right after:

Code
code:

[ June 23, 2001 04:38 PM: Message edited by: Raconteur ]
Posted By: qasic Re: Who's Online bug? - 06/23/2001 11:45 PM
You have a hacking error in ubb_forum_summary.cgi then. Re-hack from known good backups.

qasic
Posted By: Raconteur Re: Who's Online bug? - 06/23/2001 11:56 PM
Should I just re-apply the v3.9Qa hack for that file? Could something else like HyperCells, or the GlowingNames hack have stomped on it?
Posted By: qasic Re: Who's Online bug? - 06/24/2001 12:57 AM
Hacks interfering with WOL's is always a possibility. I haven't used those two hacks you mentioned at all so I wouldn't know. Sorry.

qasic
Posted By: Raconteur Re: Who's Online bug? - 06/24/2001 2:28 AM
Turns out none of the other hacks have modified ubb_forum_summary.cgi...

I did apply the bit of code from the Style Guide that was part of the WOL zip...

This one is really annoying, and folks are asking a lot of questions about it, so any other input GREATLY appreciated!

Cheers,

Chris
Posted By: Raconteur Re: Who's Online bug? - 06/24/2001 11:17 PM
Ok... so a little snooping around reveals an error on the page in ultimatebb.cgi at line 203... which just so happens to be the line containing the code:
Code
code:

The error is at character 1

What could this be??
Posted By: qasic Re: Who's Online bug? - 06/25/2001 12:18 AM
Really weird.

Is there a semi colon at the end of the line before that line?

qasic
Posted By: Raconteur Re: Who's Online bug? - 06/25/2001 12:43 AM
Yes.

It seems that the GetOnlineUsers function is what populates $Online_Details, which contains the username... is there some sort of bug in the code for GetOnlineUsers that is causing this??
© UBB.Developers