What this will do is allow you to view the user agent string and referer information of an anonymous user provided there is any. If there is referer information an icon will be displayed that provides a link to the location the anonymous user came from. The referer information is also displayed in the "alt" display of the icon by mousing over it. User agent information is intersting as you can see if it's a google bot browsing your site or whatnot. (not always though)
Update: Admins can view user's current IP addresses by mousing over the link to their profiles.
Note: For those that have had this modification installed prior you can skip the first two alter table commands in the instructions.
Go over your code and perhaps start over with the online.php page and online.tmpl files. I have applied the code on 3 sites with no problems. The only minor error is a missing class="tdheader" which I'll append the instructions with shortly but this isn't what would be causing your current display errors.
There must be an error with the application of this modification. I noticed that on your top list you have the registered users with a header Anonymous users and at the bottom screen you have the same thing.
Am I mistaken or these are 4 different screenshots?
If it's just two then the error most probably lies in the template file. The first table should not show referrer information and it should have the heading of Registered users, while the second table is for the anonymous ones.
I placed the original files back in from whos online and it has the guests showing again. But they don't have the referrer or user agent. Gonna see if I can find a mistake I made.. adding the user info hack.
The only file I see them sharing is the ubbt.inc.php...hmm
Seems to work ok just doesn't give me the image or the two fields for the lurkers. Not sure what I am missing since I can't see it anyway . ... will let it set until I get fresh eyes
Odd, cause I kept gettin gerrors about the values it was trying to access (they were no longer present in the database). It could be a problem on my settup though (I was testing on my developemnt site).
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.