PDA

View Full Version : problems with the who's online history


eckels2
10-23-2002, 01:59 AM
Okay, In who's online, Where it says "Most ever users online... " has always been wrong. It ALWAYS displays the current number, regardless. It doesn't keep a record like it should.

Same thing goes for the "Users who have been online today" hack. For "Most Users ever online in a day" it always shows the current count for the day.

What could be the problem?

Afterblur Forums (http://www.afterblur.com/vb/index.php?s=&styleid=10)

Erwin
10-23-2002, 02:11 AM
You've done something to change the templateset id.

Run this query in your database:


UPDATE template SET template='0 0' WHERE title='maxloggedin' AND templatesetid=-2;

eckels2
10-23-2002, 02:58 AM
will that fix the problems for both?

Erwin
10-23-2002, 03:03 AM
Yes.

eckels2
10-23-2002, 03:07 AM
thanks a lot :)

eckels2
10-23-2002, 11:17 AM
hrm... it didn't seem to work :(

"There are currently 1 members and 0 guests on the boards. | Current Record is 1 on 10-23-2002 at 08:03 AM."

Got that message at, yup you guessed it... 10-23-2002 at 8:03 AM.

i know for a fact that it's not accurate.

Erwin
10-23-2002, 11:56 AM
Mmm... that makes no sense. It should work. What hacks have you installed that may be causing this problem?

eckels2
10-23-2002, 04:50 PM
vBPortal
vBPad
IRC "/me" hack
Post on forum home
Quick Reply
Multiquote
VBProArcade
FlashGames
Random Quote
Mood Hack

Erwin
10-23-2002, 08:00 PM
Try this query:


UPDATE template SET template='0 1026502616' WHERE title='maxloggedin' AND templatesetid=-2;

Chris M
10-23-2002, 10:12 PM
Erwin...

I am experiencing that for just the "Users Online Today" hack...

How would I correct that?

Satan

NTLDR
10-23-2002, 10:22 PM
It would be the code you re-added to vBindex I think that is causing the problem. Do you have that code in your forum/index.php as well? And therefore have two instances of the number online today in your vBindex PHP file?

Chris M
10-23-2002, 10:35 PM
Ah...That is probably why...

:cry:

Have you found a solution to this problem?

Satan

NTLDR
10-23-2002, 10:36 PM
Make sure that you only have the Who's Line Today code from your forum/index.php in the vBindex file and not the extra block that was there before RC2.

eckels2
10-23-2002, 10:42 PM
what code are you referring to exactly? sorry i don't remember what i did or didn't add.

Chris M
10-23-2002, 10:46 PM
I see...

I shall replace it tommorrow:)

Satan

eckels2
10-24-2002, 03:24 AM
sorry bud that last one didn't work either

Erwin
10-24-2002, 03:58 AM
I'm stumped - I suggest asking at vB.com - it's interference from one of the hacks.

eckels2
10-24-2002, 09:33 PM
is it possible that the php code got ++++ed up somewhere? is there anything i should check there? or is it definately the database?

Rose
02-27-2003, 06:22 PM
Originally posted by NTLDR
Make sure that you only have the Who's Line Today code from your forum/index.php in the vBindex file and not the extra block that was there before RC2.


:$ I have the code in both forum/index.php and vbindex.php at CRCC. What should be removed?