Version: , by tubedogg
Developer Last Online: Dec 2016
Version: Unknown
Rating:
Released: 05-06-2001
Last Update: Never
Installs: 13
No support by the author.
UPDATE: v0.2.2 has been released, fixing the problem of session hashes not always being removed and replaced correctly in the URLs of where people are. It also attempts to fix the problem of members appearing on the list twice, however don't hold your breath on this one.
To upgrade, just reupload online.php to your server.
--------------------------------
Old update: v0.2.1 has been released. If you already have this hack installed and working you DO NOT NEED TO UPGRADE! The only change is I adjusted the instructions to account for an error in the order I had them in. THERE IS NO CHANGE TO THE HACK ITSELF. If you have not gotten this installed and working yet, please download the zip file (online021.zip) and work from that one.
--------------------------------
Old Update: You can now see where guests are on your board. To upgrade, simply download the new zip file, and read the UPGRADE INSTRUCTIONS in the online.txt file.
--------------------------------
Old Update: I fixed a small bug that was making one long string out of the URL To upgrade, just replace online.php on your server.
--------------------------------
Old Update: I added the missing mysql.php file.
--------------------------------
This has been requested many, many times. It produces a page that displays who's online and where they are. You can link to it from anywhere on your board, or make it just for Admins and Moderators (instructions for that included).
Hack version: v0.2.2
For version: vB2 RC2
Files needed: online.php
Files to edit: admin/sessions.php, possibly admin/index.php and mod/index.php
Templates to edit/create: online, online_userbits, online_guestbits, possibly forumhome_loggedinusers
Instructions are included in the zip file.
Feedback wanted. Please do not PM or IM me about this hack. Please post it in this thread. Thanks!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Anyone have this up and running correctly? Please post your sites. Ben working on a server move, glad to see this one.
If I missed a working site forgive me.
Originally posted by insdel After installing this hack the loggedin members are no properly shown any more (as you can see in the pic I've attached)
Only after refreshing the page some 3 times it works.
Any suggestions?
insDEL
I had this same problem, so i've removed this hack for the meantime. it was doing funny things with my sessions and logged in users.
has anyone tried this on a very busy forum?
out of curiosity i took a look at jjr's implementation and noticed the same discrepancies which i was noticing. please see attached file. I suspect the session table is not being updated properly??
fruitsalad: Are you missing members from the list on the main page, or are you noticing the members appearing multiple times on the Who's Online page? Those would be two different problems. The first has nothing to do with my hack, I'm quite sure, as it does not have any control over the main listing.
The second thing I'm working on. I don't understand how it happens because it should be selecting distinct records from the DB based on the userid, meaning pull one record per time it sees a particular number...I'll see what I can do.
If they are on this page This list will say this
newthread.php User is starting a new thread in forumtitle forum
showthread.php
--Using a post # Viewing post #n in thread threadtitle
--Using a post # that has a title Viewing post posttitle (post #n) in thread threadtitle
--Without a post number Viewing thread threadtitle
forumdisplay.php Viewing forumtitle forum
online.php Viewing Who's Online
index.php Viewing the Main Page
newreply.php Posting a reply to threadtitle
editing a post Editing their post in thread threadtitle
search.php?action=showresults Viewing search results
search.php Using Search
memberlist Viewing the Memberlist
calender.php Viewing the calendar
misc.php?action=faq Viewing the FAQ
usercp.php In their User CP
private.php or private2.php Viewing private messages
anywhere else Browsing Board
This only applies to members listed. Guests listed are basically the same, except without the members-only functions (replying, etc.)
Originally posted by tubedogg fruitsalad: Are you missing members from the list on the main page, or are you noticing the members appearing multiple times on the Who's Online page? Those would be two different problems. The first has nothing to do with my hack, I'm quite sure, as it does not have any control over the main listing.
The second thing I'm working on. I don't understand how it happens because it should be selecting distinct records from the DB based on the userid, meaning pull one record per time it sees a particular number...I'll see what I can do.
I cant say for sure, cos my board is not that busy, but with the edited sessions.php running my board always said 0 members, 0 guests when i first logged in to the main page. it was only refreshing it that i would then be able to see myself.
However i opened up and browed the sessions table in phpmyadmin and there are alot more sessions recorded in that table than are showing on the board. but i dont think this was related to your script issit? the sessions table didnt seem to be updating.
as for the problems i witnessed first hand. My guest count was always zero and also the problem of more than 1 entry for the members on the who's online page as on the screenshot of jjr page i included earlier