![]() |
glad you got it working...i had no idea what was wrong. there was nothing else i could fix! :)
|
Kevin one last question:
When i'm seeing a thread or replying to a thread, shouldnt online.php show me exactly that message instead of Browsing Board?? |
If you are viewing or replying to a thread, yes it should (and did in all my testing). Maybe have someone else go around the board while you look at online.php - you may be seeing that message because you are looking at online.php (although it should be saying Viewing Who's Online then anyway...).
|
works wonderfully
any thoughts on how i can get it to work with non-vb pages which i have required global.php at the moment it just says browsing the board for people on the non vb pages. |
My system is very, very crude. It doesn't actually figure out which page the person is on, it just looks for clues in the file name (e.g. if the filename is memberlist.php, they must be looking at the memberlist, etc.). If you look through the online.php, you'll see the different places I've planned for, and you'll also see where it defaults to "Browsing Board".
One thought that just came to me is you could make a list of all the vB files. From that list, remove any that I've accounted for already in the script. Then, do a big if(strpos()===false) statement with all of those names. If it's none of those names, then they're not browsing the board. However, this is also awkward. You might also try following the "clue-and-result" system. If they're looking at a page called "mail" with the variables "send=yes" then they're sending mail. That kind of thing. Someday I'll figure out a better way to do this. :) Just not today. |
oh dats cool..
i already felt lost looking at the code, what you just said confused me more lol when i had this working for vB 1.1x they actually wrote the url to the location field if i remember correctly. |
Kevin did this hack in the same style that the hack for 1.1.x was done.
|
Tubedogg, I'm looking forward to getting this hack on my site...except I can't, I'm having a little trouble. I've modified sessions.php as prescribed, and I've uploaded that file, mysql.php and online.php, again as per the instructions. However, when I try the next step, running mysql.php, I get an error message.
This is the meat of the error: Quote:
|
very very nice hack :D
thanx a lot from germany, but i have one problem: some links in my online.php page look like this: http://www.aktienboard.com/vb/showth...0348#post20348post20348post20348 i think this is a bug. this link contains the string "post20348" three times... perhaps you forgot to initialize a variable?? i could not resolve the bug...perhaps you have an idea.. thanx a lot greets, dioxin!! :) the link: http://www.aktienboard.com/vb/online.php |
Quote:
|
All times are GMT. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|