PDA

View Full Version : [feature until vB3] Who's Online -- just "viewing forum"


SFishy
Sun 4th Nov '01, 7:00pm
I tried to find a topic relavent to this and couldn't, so maybe someone can help explain this to me, or tell me if it's a bug.

When looking at "Who's Online" here's what I see...

http://fishyvb.something-fishy.org/test/who.gif

See the first person says "Viewing Forum" but nothing else? Why is that? It's can't be because I don't have access... I'm an admin, and have access to everything! I've trying to simulate this problem on myself and I can't.

What am I missing?

SFishy
Sun 4th Nov '01, 7:25pm
Just wanted to add... I just looked at the "Who's Online" here too and noticed the same problem. How could a guest have access to something a member doesn't? It's can't be that!

http://fishyvb.something-fishy.org/test/who_vb.gif

Any ideas?
Anyone? LOL :D

nuno
Sun 4th Nov '01, 8:22pm
huh:confused:
what the hell r u talking about?:rolleyes:

SFishy
Sun 4th Nov '01, 8:33pm
Why does the "Who's Online" say Viewing Forum without the forum information, but only for some people. For others it shows Viewing Forum ForumNameLink.

What's the difference?

nuno
Sun 4th Nov '01, 8:39pm
i c
maybe coz the script is unable to parse real user location :rolleyes:
just a thought :)

Freddie Bingham
Mon 5th Nov '01, 12:25pm
That will happen if the user opens "forumdisplay.php" without specifying a forum. If you question it you can always look in the session table and see what that user has for their location. They may have several entries so you have to pick the newest.

SFishy
Mon 5th Nov '01, 12:34pm
Freddie,

Thanks for the response... question though... How would someone be hitting forumdisplay.php without specifying a forum? My users are mostly people who are going to click on links, not type in an address to get where they want. How would it be possible to have someone get to just "forumdisplay.php" without clicking? I realize once in blue moon it might happen, but why consistently?

I assume I access the session table through phpMyAdmin? (We're working on getting that installed).

Thanks again...

Freddie Bingham
Mon 5th Nov '01, 12:38pm
Yes through phpmyadmin.

Post the locations that are giving your problems and I will tell you what the problem is. If it is consistent than you can send me ftp login info and I will modify your code to give me debug information and see what the cause is.

SFishy
Mon 5th Nov '01, 1:16pm
Freddie,

I'm not sure what you mean by "Post the locations that are giving your problems" -- do you mean after I look at phpMyAdmin, or do you want access to my who's online page? Like I said, we are working on geting phpMyAdmin installed, so I can't give you the locations until we're finished with that. My Who's Online page gives no information. Just "Viewing Forum".

Thanks...

unixman
Mon 7th Jan '02, 12:50am
I just looked in my sessions table for this one user who I noticed has the "Viewing Forum", but no forum name. The location was valid:


/forums/forumdisplay.php?s=&daysprune=&forumid=26


That's not it. Something else is causing it. In the case of the above forum, my forum 26 is a valid, public forum, not private.

Freddie Bingham
Mon 7th Jan '02, 1:10am
That would be because the script is looking for the forumid value where the daysprune value is. I will have to make a note to fix that.

unixman
Mon 7th Jan '02, 1:11am
An update - I also see "Replying to Thread", but no link - for a normal user. Tried to pull the session info up, but she had finished replying before I could see it, so the session info changed on me - grrrr.

unixman
Mon 7th Jan '02, 1:19am
Originally posted by freddie
That would be because the script is looking for the forumid value where the daysprune value is. I will have to make a note to fix that.

Ah yes, location-specific parameters. Unrolling through strok() or split() should do the trick. :)

Cheers.

Joshua Clinard
Mon 7th Jan '02, 1:50pm
I also see the two problems reported rather frequently on my board.

Joshua Clinard
Fri 18th Jan '02, 4:00pm
So is this bug being fixed, or are they pulling a Microsoft, and calling it a feature? I don't think I understand how it could be a feature when the intended behavior is to show what forum or thread a user is viewing? I don't mean to be critical or anything, it just doesn't make sense.

John
Fri 18th Jan '02, 4:16pm
There is a fix, but it is long and complicated, and not mission critical, so the fix is just being left in the vB3 code.

John